以管理员身份快速打开命令行窗口

How to Open Elevated Command Prompt with Administrator Privileges in Windows Vista

Windows Vista and Windows 7 power users have many ways to launch a command prompt or Windows command processor (cmd.exe) with administrator privileges, rights or credentials. It’s a security feature in Windows Vista and Windows 7 that comes with User Access Control (UAC) that all processes will launch in restricted mode unless users specifically accept the elevation confirmation. For command prompt, the commands may refuse to run or have access denied error. So users need to launch command prompt will full admin rights and permission state. Here’s a few ways and methods the elevated command prompt can be opened and ran as administrator.


Method 1

  1. Click on Vista Start button.
  2. Locate the Command Prompt menu item (buried deep inside Accessories under All Programs or appear on program access history).
  3. Right click on Command Prompt.
  4. On the pop-up right click context menu, select “Run as Administrator”.

Method 2

  1. Click on Vista Start button.
  2. Click on Run.
  3. Type in “Cmd” (without quotes) in the Open textbox.
  4. You should see “This task will be created with administrative privileges”.
  5. Click on OK or press Enter.

Method 3

  1. Press the Win keyboard key or click on Vista Start button.
  2. Type cmd into the Start Search textbox.
  3. Press Ctrl+Shift+Enter keyboard shortcut. Ctrl-Shift-Enter is the general keyboard shortcut that triggers elevation to “Run as Administrator”.
  4. Press Alt+C or press Continue to confirm the UAC elevation warning prompt.

Method 4

  1. Click on Vista Start button.
  2. In the Start Search box, type in “Cmd” (without quotes).
  3. Right click on the Command Prompt in the search result listing.
  4. In the right click menu, click on “Run as Administrator” menu item.

Method 5

  1. Press on Win + R keyboard keys.
  2. Type in Cmd into the Open textbox.
  3. Hit OK or press Enter.

Method 6

You can create an easy access shortcut to elevated command prompt with administrative privileges at the desktop or Start menu.

 

 

Method 7

Add a right click contextual menu option of “Open Command Prompt as Administrator” to the Computer (My Computer ) so that you can simply right click and click on the item to open the super command prompt.

 

 

Method 8

Turn off or disable User Access Control (UAC).

Method 9

If you prefer to hold down “Shift” key and right click on a folder open a command window here, a registry hack will allow you to open command window at current folder in elevated mode as administrator.

All methods above also works in Windows 7.

 

 

COPYED FROM:

http://www.mydigitallife.info/2007/02/17/how-to-open-elevated-command-prompt-with-administrator-privileges-in-windows-vista/

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值