Skip to content

Instantly share code, notes, and snippets.

@rgl
Created August 25, 2014 09:57
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 rgl/cd0961942f5bcdb5354d to your computer and use it in GitHub Desktop.
Save rgl/cd0961942f5bcdb5354d to your computer and use it in GitHub Desktop.
Configure Windows to run executable as Administrator
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers]
"C:\\Windows\\System32\\cmd.exe"="RUNASADMIN"
"C:\\Program Files (x86)\\Microsoft Visual Studio 12.0\\Common7\\IDE\\devenv.exe"="RUNASADMIN"
"C:\\Program Files\\ConEmu\\ConEmu64.exe"="RUNASADMIN"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment