Skip to content

Instantly share code, notes, and snippets.

@GregTrevellick
Last active July 1, 2020 13:49
Show Gist options
  • Save GregTrevellick/be87f2b2955f6b7dfcaf83926d992434 to your computer and use it in GitHub Desktop.
Save GregTrevellick/be87f2b2955f6b7dfcaf83926d992434 to your computer and use it in GitHub Desktop.
C:\Windows\System32\runas.exe /user:DOMAIN\First.Last /savecred "cmd /c \"start foobar.exe\""
C:\Windows\System32\runas.exe /user:DOMAIN\First.Last /savecred "C:\Program Files (x86)\foobar.exe"
C:\Windows\System32\runas.exe /user:DOMAIN\First.Last /savecred "C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\Common7\IDE\devenv.exe"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment