Skip to content

Instantly share code, notes, and snippets.

@fqqf
Created August 27, 2025 18:50
Show Gist options
  • Select an option

  • Save fqqf/af6880151271ebce53e2976f3de6fefc to your computer and use it in GitHub Desktop.

Select an option

Save fqqf/af6880151271ebce53e2976f3de6fefc to your computer and use it in GitHub Desktop.
Fake UAC
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