Skip to content

PSEXEC

Launch cmd.exe as SYSTEM

psexec.exe -i -s cmd.exe

Run application as a different user AND run in an elevated context (runas)

psexec -u DOMAIN\user -i -h "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv.exe"