1. Home
  2. Windows

How To Open Elevated Command Prompt With Administrator Privileges In Windows 7 / Vista

There is a security feature in Windows 7 / Vista that comes with User Access Control (UAC) which means processes are launched in restricted mode unless users specifically accept the elevation confirmation. For example running a regsvr32.exe command which is used to register DLL/ActiveX or opening a batch file or script requiring administrative privileges require you to open an elevated Command Prompt. Elevated Command Prompt always run under administrative privileges so users need to launch command prompt will full admin rights and permission state. Here are a few ways to open elevated command prompt.

Method 1

Navigate to Start menu > All Programs > Accessories, here you will see Command Prompt shortcut.

command

Right click on Command Prompt and select Run as Administrator.

right click

Method 2

Go to Start menu.

start

Type cmd in the Search Menu

cmd

Press Ctrl + SHIFT and Click on the cmd shortcut on the Start Menu. Ctrl-Shift-Enter is the general keyboard shortcut that triggers elevation to “Run as Administrator”.

UAC

Press Alt+C from the keyboard or click Continue to confirm the UAC elevation warning prompt and the administrative privileged command prompt will be opened.

admin

Method 3

Create a new desktop shortcut to CMD.EXE

shortcut

To run the shortcut as an administrator by default, right-click the Command Prompt shortcut you created on the Desktop, and choose Properties.

properties

In the Shortcut tab, click Advanced.

advanced

Check the option Run as administrator. Click OK and OK. Now, every time when you double-click the shortcut, command prompt window will open elevated

run as admin

Got any questions, suggestions, or comments? Feel free to leave a comment.

Leave a comment