Created
September 24, 2021 07:29
-
-
Save Eboubaker/afc5e43ab92170b613c7484f0daef562 to your computer and use it in GitHub Desktop.
Add an entry "Run without privilege elevation" to windows file context menu.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Windows Registry Editor Version 5.00 | |
[HKEY_CLASSES_ROOT\*\shell\forcerunasinvoker] | |
@="Run without privilege elevation" | |
[HKEY_CLASSES_ROOT\*\shell\forcerunasinvoker\command] | |
@="cmd /min /C \"set __COMPAT_LAYER=RUNASINVOKER && start \"\" \"%1\"\"" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This will force run any application WITHOUT privilege elevation even if the application(or installer) requested it.