Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Hi
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.

share|improve this question

3 Answers 3

up vote 4 down vote accepted

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.

share|improve this answer

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.

share|improve this answer
    
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

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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