Get around UAC prompt for specific EXEs

email me

To stop UAC from prompting an end-user, add a reg key for the exe.

For example, if I want to stop UAC on foo.exe from prompting end-users:

Copy the below into notepad.exe, update the path to the EXE (change from foo.exe to the path to your EXE), save as Import.reg, then double-click the reg file to merge with the registry. Restart the computer, and then try launching the EXE.

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers]
“C:\\Users\\Administrator\\Desktop\\foo.exe”=”RUNASADMIN”