Skip to content

Instantly share code, notes, and snippets.

@Rainyan
Created January 28, 2019 00:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Rainyan/23d4b1c74ae164b261993761600c4f1b to your computer and use it in GitHub Desktop.
Save Rainyan/23d4b1c74ae164b261993761600c4f1b to your computer and use it in GitHub Desktop.
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