Skip to content

Instantly share code, notes, and snippets.

@aielwaste
Created June 2, 2017 20:29
Show Gist options
  • Save aielwaste/b3d406668f1a679217248a02a5ba76e1 to your computer and use it in GitHub Desktop.
Save aielwaste/b3d406668f1a679217248a02a5ba76e1 to your computer and use it in GitHub Desktop.
Run MSI Files as Admin Double click to add MSI: Run as Admin to Windows Explorer Context Menu
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Msi.Package\shell\runas]
"Icon"="\"D:\\Box Sync\\Pictures\\Icons\\windows\\2-21-512.ico\""
[HKEY_CLASSES_ROOT\Msi.Package\shell\runas\command]
@=hex(2):22,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,\
00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,6d,00,\
73,00,69,00,65,00,78,00,65,00,63,00,2e,00,65,00,78,00,65,00,22,00,20,00,2f,\
00,69,00,20,00,22,00,25,00,31,00,22,00,20,00,25,00,2a,00,00,00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment