This article shows how to open an elevated command prompt with administrator rights, commonly referred to as "run as administrator", instead of the default command prompt without administrator rights.
Windows All version from Vista / Server 2008
We detail below a way to open a Windows elevated command prompt. Notice how the elevated command prompt opens to C:\Windows\System32 and not C:\Users\(user name) as the default command prompt without administrator rights:
Right-click on Command Prompt:
- Open the Start Menu.
- Click on All Programs and Accessories.
- Right click on Command Prompt.
- Click on Run as administrator.
If you are currently logged as a standard account (not member of the local "Administrators" group), then you will need to type in the administrator's password to elevate the command prompt:
You may also choose to create an Elevated Command Prompt shortcut for future use:
- Right-click on your Desktop.
- Select New / Shortcut.
- Paste %windir%\System32\cmd.exe into the location area.
- Click Next.
- Enter "Elevated Command Prompt", for example, as the name for this shortcut.
- Click Finish.
- Right click on the Elevated Command Prompt shortcut.
- Select Properties.
- Select the Shortcut tab.
- Click the Advanced button.
- Check the Run as administrator box.
- Click OK.