How Do You Run Cmd As an Administrator?

How Do You Run Cmd As an Administrator?

To run cmd as an administrator in Windows 7, locate the Command Prompt entry in the Start Menu, right-click on it and use the Run as Administrator option. Alternatively, create a cmd shortcut, and modify the administrator settings in the Advanced Properties dialog box.

  1. Navigate to the Command Prompt entry

    Click on the Start button, and select the All Programs option. Open the Accessories folder, and hover over Command Prompt with your mouse pointer.

  2. Run cmd as an administrator

    Right-click on Command Prompt, and select the Run as Administrator option from the drop-down menu. When the User Access Control pops up, type in the administrator password if necessary, and click on Yes to confirm the action. Make sure that the cmd window opens to C:WindowsSystem32 because this indicates that you’re running cmd as an administrator.

  3. Create a shortcut to always run cmd as an administrator

    Click on the Start button, and click on Computer. Double-click on your primary hard drive, and open the Windows folder. Open the System32 folder, and locate the cmd application. Right-click on it, hover over the Send To option in the drop-down menu, and select the Desktop (Create Shortcut) option. Navigate to the shortcut, and right-click on it. Click on the Properties button, then click on Advanced. Check the box next to the Run as Administrator option, and click OK. If the UAC prompt pops up, click on Yes.