7

I run as admin on my machine and want to run an executable as non admin user from the command prompt (without logging off).
I'm running on windows 7 64 bit OS.
Is possible?
Thanks.

8

If you Shift + Right click on the icon to launch the Command Prompt, you'll see the option to "Run as a different user"

You can then specify a non admin account. Anything launched from that command prompt will be executed as the user you specified.

2

Try the Commandline: runas /user: programm.exe

This only works for .exe files in the Windows directory. For other programms, you need to tell Windows the correct path.

  • Actually, shouldn't that work for anything in the system path? – Kara Marfia Apr 7 '10 at 3:47
  • Yes, your right. Thatßs what I meant with "Windows directory" but System path is the better expression, I guess :-) – Diskilla Apr 7 '10 at 9:35
0

You could use the runas command from a command window.

Start a new command window using: runas /user: cmd

then run your command program from the new command window.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.