Run a Command as Administrator

来源:互联网 发布:网络借贷平台新规 编辑:程序博客网 时间:2024/05/02 02:55

Run a Command as Administrator from the Windows 7 / Vista Run box

If you are a command line junkie like me, and have been testing out Windows 7 or 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 in Vista, or Alt+Y in Windows 7.

原创粉丝点击