Skip to main content

All Questions

0 votes
1 answer
176 views

Opening command prompt as admin Using a Desktop Shortcut with Hard-coded admin username

TLDR version on the bottom. I would like to create a desktop shortcut that would open up command prompt as if I had used the 'Run as Admin' option, but by just double clicking a shortcut and then ...
mbelsky's user avatar
7 votes
2 answers
18k views

Pass parameters to program started with Runas

I am trying to start Performance monitor as different user. I found runas.exe but syntax for program arguments makes me go crazy. The following syntax works: C:\Windows\System32\runas.exe /user:domain\...
JIV's user avatar
  • 185
9 votes
3 answers
61k views

Command line argument for running as another user on Windows?

Under windows .msi installer, if you specify a custom action to be run at an application's installation time, it will get run under the "SYSTEM" user. Can I trick it by passing a command line ...
kellogs's user avatar
  • 387