Question: Is there anywhere to run a command from the Run box "AS" an Administrator or other user?.
Written by Karl L. Gechlik | AskTheAdmin.com on July 20, 2007 – 2:36 am -Boris writes to us:
Is there any way for me to go to a users workstation with normal access privileges and hit the command prompt (CMD) and run an administrative console or anything like a batch file. I can not figure it out. do you know how?
Yup as a good Admin I ran into this one almost immediately upon running vista on the desktop. Because as we all know you should never stay logged in as a user with admin rights - unless you have to. But without further adu here it is from the howToGeek
If you are a command line junkie like me, and have been testing out Windows Vista… one of the first things you’ll notice is that there is no way to run a command from the run box in “Administrator” mode. Until now.
To try this out, go to the run box and type in something (cmd, for example)
![]()
Now instead of hitting the Enter key, use Ctrl+Shift + Enter. You will be prompted with the obnoxious User Account Control dialog… but it will then open up a command prompt in Administrator mode.
Hint: You can use Alt + C to quickly close the User Account Control dialog.
Thanks Geek your our kind of guy!
Tags: Question, windows
Posted in Uncategorized |



By El Di Pablo on Aug 30, 2007 | Reply
I just stumbled on this one… Does the command line “runas” command not work in vista? In windows XP you can type the following to run cmd (and anything else):
runas /user:%username% %command% i.e.
runas /user:jdoe cmd
A command prompt will pop up asking for the password, then voilla, you are running your app (in this case the command prompt) as Admin.