Skip to content

Instantly share code, notes, and snippets.

@erm3nda
Created January 20, 2021 04:23
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save erm3nda/217f70c616fc08c58fb7713cb109ce13 to your computer and use it in GitHub Desktop.
Save erm3nda/217f70c616fc08c58fb7713cb109ce13 to your computer and use it in GitHub Desktop.
Run steam game without evelevated privileges
; Steam launch params do not works if you don't include %command%, which represents the original launch arguments, ie: steam://rungameid/391540/
; If you remove the "" quotes and the start, you can't remove original cmd screen. That's why we use cmd + start, when cmd returns start, closes becase /C
cmd /min /C "set __COMPAT_LAYER=RunAsInvoker && start "" %command%"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment