A Command Prompt allows you to run programs, settings, and access files by typing in simple commands. To start a Command Prompt you simply need to type cmd.exe in the search field in the Start menu or click on Start, then Accessories, and then click on the Command Prompt icon or you can press Windows + R and type cmd and then press enter. Then a default command prompt window will appear as shown below.

default-command-prompt

But Some commands in command prompt requires administrative privileges. So we need to open an elevated command prompt to run those commands. An Elevated Command Prompt means running command prompt as an administrator to complete necessary actions that require special permissions or admin privileges. We can open an Elevated command prompt in windows OS in many ways. Now we’re going to discuss all those ways.

Ways to Open Elevated Command Prompt in Windows 7

Method 1 : Run as Administrator from the Start Menu Shortcut (Normal way)

First method is to just click on the Start menu or you can press Windows button, then select All Programs, and then Accessories. You will now see a shortcut labeled Command Prompt. Right-click on it and select Run as administrator (See the below screenshot.)You can also open the Start Menu, type cmd in the search box, right click on cmd.exe (at top), and click on Run as administrator.

cmd as admin shortcut

 

When you select Run as administrator a User Account Control (UAC) prompt will appear asking if you would like to allow the Command Prompt to make changes on your computer.

User Account Control

Click Yes and the required elevated command prompt will be opened as shown below.

elevated command prompt

 

Did you notice how the above elevated command prompt opens to C:\Windows\System32 and not C:\Users\(user name) as the default command prompt without administrator rights. This is how we can easily differentiate between them. And also another way is to check their title bar. For an elevated command prompt we can see Administrator at the title bar and this is not in case of default command prompt.

Method 2 :  Keyboard Shortcut (Really easy way).

Open the Start Menu, type cmd in the search box, and press CTRL+SHIFT+ENTER  and the UAC window pops again and just select yes and you will have the elevated command prompt as before.

 Method 3 : Elevated Command Prompt as Desktop Shortcut (The best way).

Open the Start Menu, type cmd in the search box and then right click and select Properties. A window will appear as shown below

cmd properties

 

Now click the advanced button as shown in the above window and another window opens up as shown below and tick the Run as Administrator option and click OK.

run as admin advanced

 

Now you can open an elevated command prompt whenever you want to and i can say that this method is the best one to implement and this one also works in windows 8 and windows 8.1 too.

We have seen the ways to open an elevated command prompt on windows 7. Now lets check some ways within Windows 8 and Windows 8.1 .

Recommended For You :

How to Enable and Disable Write Protection on USB Flash Drive Using Command Line in Windows

How to hide a drive in windows using command prompt

Ways to Open Elevated Command Prompt in Windows 8 and Windows 8.1

Personally i don’t like Windows 8 and Windows 8.1. Tried it for more than two months and really frustrated with the bugs and all. I’m still a Windows 7 user. OK now coming to the main topic, all the methods mentioned above may work in windows 8 and above. But there is one real simple way to open both default and elevated command prompt in windows 8 and windows 8.1.

Just press WINDOWS + X, then it shows advanced windows settings menu in bottom left of the screen and select Command Prompt(admin) option to open an elevated command prompt (See the screenshot below).

cmd as admin in windows 8

 

This is methods and ways we can use to open an elevated command prompt in windows 7 and windows 8 and above. Choose the best way that suits you most.

Hope you like this trick and now its your time to express your views and doubts in the comments below. Hey and don’t forget to share it…!

To know more about stuff like this, Subscribe to our Newsletter or like our page on Facebook.

Comments

comments