以管理员身份运行CMD

To complete these procedures, you must be a member of the Administrators group.

To start a command prompt as an administrator

  1. Click Start, click All Programs, and then click Accessories.

  2. Right-click Command prompt, and then click Run as administrator.

  3. 如果出现“用户帐户控制”对话框,请确认所显示的是您要执行的操作,然后单击“继续”。

To start a command prompt as an administrator (alternative method)

  1. Click Start.

  2. In the Start Search box, type cmd, and then press CTRL+SHIFT+ENTER.

  3. 如果出现“用户帐户控制”对话框,请确认所显示的是您要执行的操作,然后单击“继续”。

3.快捷键Win+R,输入CMD,回车。

原文地址:https://www.cnblogs.com/xpvincent/p/3358657.html