Compatability Mode Help

canaussie

New member
Local time
9:32 AM
Messages
2
Compatability Mode Help Needed

G'day,

We have an older application that we distribute to clients with the advice they should run it in Windows XP SP3 Compatibility Mode when using Windows 7.

As of late, we have had clients say that running the software in this mode means having to enter a Admin password. As a test, we had them switch to Windows 7 Compatibility mode which solves everything...they are not prompted for a password and the software runs fine.

With other clients, Windows XP SP3 Compatibility Mode works well without any issues or password prompts.

Questions...
1. Why would this older software run well in Windows 7 Compatibility mode but not when this is unticked and why is a password requested for some when running in Windows XP SP3 Compatibility Mode?
2. Why am I seeing different results with different clients?

Slowly going insane...

Canaussie
 
Last edited:

My Computer

Computer type
PC/Desktop
OS
Windows 7
What application are they running? The password prompts will be dependent upon their UAC settings.
 

My Computer

Computer type
Laptop
It is our in house built VB6 application.

Another question...why is Windows 7 a choice in the Windows 7 Compatibility list?
 

My Computer

Computer type
PC/Desktop
OS
Windows 7
Another question...why is Windows 7 a choice in the Windows 7 Compatibility list?

Because Windows 7 SP1 is the more current version.

So you would have an option to run it as Pre-SP1 in the compatibility options.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self Built
OS
Win 10 Pro x64
CPU
Intel I5-2500K @3.3GHz
Motherboard
Asrock P67 Extreme4
Memory
16GB G.Skill Ripjaws X (4x4GB)
Graphics Card(s)
EVGA GeForce 750 Ti SC 2GB
Sound Card
ASUS Xonar DG 5.1 Channels 24-bit 96KHz PCI Interface Sound
Monitor(s) Displays
auria eq2367
Screen Resolution
1920 x 1080
Hard Drives
250GB Samsung 850 EVO SSD
1TB WD Blue
1TB Hitachi
PSU
SeaSonic X 650W 80 Plus Gold
Case
Corsair Obsidian 750D
Cooling
Corsair H60, Three 140mm case fans
Keyboard
Logitech Wireless Keyboard K520
Mouse
Logitech Wireless Mouse M310
Internet Speed
Wave Broadband ~ 100 dn 5 up
Antivirus
Windows Defender, Malwarebytes Premium
Browser
Edge, IE11, Chrome
Other Info
Laptop specs: HP g7-1365dx /
CPU: AMD A6-3420M APU with Radeon(tm) HD Graphics /
RAM: Crucial 8Gb (2x4Gb) /
SSD: Crucial M4-CT128M4SSD2 ATA Device/ FW 000F /
GFX: AMD Radeon HD 6520G /
OS: Windows 10 Pro x64
You will get different results with different clients, because they have different settings on their computers.
 

My Computer

Computer type
Laptop
Also, from my personal experience I have noticed that when running any program in windows xp compatibility mode it defaults to prompt for admin rights. Reason for this is because xp applications typically need admin access. So when you choose xp as the compatibility option it tends to want to open as an admin. Just out of curiosity, have you tried running the in house software without applying compatibility settings? What happens? I had been advised to run all kinda of old software I had in compatibility mode. But when I tried to open them up regularly, it always worked just fine. Sometimes I needed to run the installer in compatibility mode, but after that I didn't need to. I would test all options such as lower screen resolution and the option for disable visual theme. 9 times out of 10 those 2 options there fix the issues. Unless of course the software needs to write to a unusual directory. Then it would need admin privileges for sure.

In case the software does not work by following the above steps/suggestions:

Example of a unusual directory: Windows folder, other users folders instead of your own, different drives etc. Windows 7 locks these kinds of things down more. Meanwhile XP on admin was more allowing of well, everything.

By default, Root folder of C:, C:\Program Files, C:\Windows are UAC protected.
This is why older software typically needs their installer to be elevated by UAC when launching the install. Before software could write to the program data folder without trouble.


Found some fantastic info for you. When you install this software, install it to this folder/or configure it to dump its main files here:

COMMON_DOCUMENTS

This folder is similar with COMMON_APPDATA. The difference is that by default its content is available to read and write by all users. So storing files here will be exposed uniformly to all users without need to adjusting write access for non-admin users.

This will allow all users to use this software, and it can store all its data regardless of the permissions of the user. They can then save any work they have done personally to their user documents folder without affecting system security by giving this older program access to elevated permissions.

See this site for source:

http://forum.codecall.net/topic/601...ly-with-uac-enabled-windows-with-delphi-code/
 
Last edited:

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom Built
OS
Windows 10 Pro
CPU
AMD Ryzen 5 2400G Processor with Radeon RX Vega 11 Graphics
Motherboard
ASRock X470 Master SLI/AC AM4 AMD Promontory X470 SATA 6Gb/s
Memory
G.SKILL Ripjaws V Series 16GB (2 x 8GB) 288-Pin DDR4 SDRAM D
Graphics Card(s)
2047MB NVIDIA GeForce GTX 1060 6GB (EVGA)
Sound Card
Motherboard Built in
Monitor(s) Displays
Acer R240HY bidx 23.8-Inch IPS HDMI DVI VGA (1920 x 1080) Wi
Screen Resolution
1920 x 1080
Hard Drives
1TB Sandisk SSD PLUS (Main drive)
500 GB Seagate 7200 RPM (Games)
500 GB Western Digital 7200 RPM (Virtual Machines)
PSU
CORSAIR TX Series TX650M 650W 80+ Gold Modular Power Supply
Case
CORSAIR CARBIDE SPEC-02 Mid-Tower Gaming Case, Red LED Fan
Cooling
220mm, two 120mm, and four 60mm fans
Keyboard
Wired Dell keyboard
Mouse
Wireless Logitech mouse
Internet Speed
250mb down, 30mb up
Antivirus
Panda Cloud Antivirus
Browser
Chrome-ish x64
Other Info
Your awesome for reading this.
If anyone notices that is not correct above please let me know. I do not want to be wrong and tell him to do something he should not do.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom Built
OS
Windows 10 Pro
CPU
AMD Ryzen 5 2400G Processor with Radeon RX Vega 11 Graphics
Motherboard
ASRock X470 Master SLI/AC AM4 AMD Promontory X470 SATA 6Gb/s
Memory
G.SKILL Ripjaws V Series 16GB (2 x 8GB) 288-Pin DDR4 SDRAM D
Graphics Card(s)
2047MB NVIDIA GeForce GTX 1060 6GB (EVGA)
Sound Card
Motherboard Built in
Monitor(s) Displays
Acer R240HY bidx 23.8-Inch IPS HDMI DVI VGA (1920 x 1080) Wi
Screen Resolution
1920 x 1080
Hard Drives
1TB Sandisk SSD PLUS (Main drive)
500 GB Seagate 7200 RPM (Games)
500 GB Western Digital 7200 RPM (Virtual Machines)
PSU
CORSAIR TX Series TX650M 650W 80+ Gold Modular Power Supply
Case
CORSAIR CARBIDE SPEC-02 Mid-Tower Gaming Case, Red LED Fan
Cooling
220mm, two 120mm, and four 60mm fans
Keyboard
Wired Dell keyboard
Mouse
Wireless Logitech mouse
Internet Speed
250mb down, 30mb up
Antivirus
Panda Cloud Antivirus
Browser
Chrome-ish x64
Other Info
Your awesome for reading this.

My Computer

Computer type
PC/Desktop
OS
Windows 10 Home x64
CPU
INTEL Core i5-750 Quad-Core 3.37GHz
Motherboard
ASUS P7P55D
Memory
HyperX Fury Black Series 8GB (2 x 4GB) 1866Mhz
Graphics Card(s)
EVGA GeForce GTX 750 Superclocked 1GB 128-Bit GDDR5
Monitor(s) Displays
LG 32MA68HY 32" IPS
Screen Resolution
1920 x 1080
Hard Drives
Samsung 840 Evo 120GB, SEAGATE 500GB Barracuda® 7200.12, SATA 3 Gb/s, 7200 RPM, 16MB cache
PSU
ANTEC TruePower New TP-550, 80 PLUS, 550W
Case
ANTEC Three Hundred Illusion
Cooling
COOLER MASTER Hyper 212 Plus, 4 x 120mm 1 x 140mm Noctua's
Internet Speed
85 + Mbps
Antivirus
Avast
Browser
Vivaldi
Back
Top