Skip to content

Instantly share code, notes, and snippets.

@benabrahamson
Created December 9, 2017 18:55
Show Gist options
  • Save benabrahamson/ffd61ef87a451f5547ede8f93aa6c4c3 to your computer and use it in GitHub Desktop.
Save benabrahamson/ffd61ef87a451f5547ede8f93aa6c4c3 to your computer and use it in GitHub Desktop.
CompatLayerExecuter is a simple script that will run any EXE file in the same directory as it, and will force it to run as Invoker - ignoring UAC requirements
set __COMPAT_LAYER=RunAsInvoker
for %%i in (*.exe) do start "" /b "%%i"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment