Add Bypass UAC Context Menu Option

To add a ‘bypass UAC’ option to the context menu when right clicking a program create a reg file with the below code and run the file to add the entry to the registry. Requires administrator rights.

Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\forcerunasinvoker]
@="Run as user without UAC privilege elevation"
[HKEY_CLASSES_ROOT\*\shell\forcerunasinvoker\command]
@="cmd /min /C \"set __COMPAT_LAYER=RUNASINVOKER && start \"\" \"%1\"\""

Leave a Reply

Your email address will not be published. Required fields are marked *