How to run CMD as Administrator

As an Amazon Associate I earn from qualifying purchases, at no extra cost to you.
Please check the Affiliate Disclaimer for more information.

This article will explain how to run CMD as Administrator. Command Prompt is a text-based user input application present in most Windows operating systems. It is used to execute different commands along with some advanced administrative functions.

As the Command Prompt works on text-based input, there is no mouse cursor present in it. Instead, there is a blinking cursor, where the user inputs specific commands. The Prompt accepts commands in particular syntax and format. If there is some error in either, it will not execute the input command.

CMD, as it is also known, executes commands in the Windows operating system. You may not be able to run all commands in the Command Prompt if you don’t possess the administrator password.

There are some specific commands that require administrator privilege. Hence, you would need to run CMD as an administrator. We’ve got you covered in that, as this article will explain how you can do it.

How to run CMD as Administrator

There are different ways to run the CMD prompt in Windows. However, to do it. you must have the administrator account, administrator permission, or a user account with admin rights.

Using the Windows Start Menu

If you have an admin account, you can use the start menu to run Command Prompt as administrator. Please follow the steps below to do it:

  • Click the Windows icon and scroll down below to find the Windows System folder;

Check out our awesome article on File sizes and their conversions explained: kilobytes, megabytes, gigabytes and much more!

  • After you open the Windows System folder, you will see Windows Command Prompt at the top. Right-click on the icon and select “More” and then “Run as administrator”;

  • You will now see a UAC (User Account Control) prompt asking if you want to allow the Windows Command Processor to make changes to your computer. Click “Yes” to run CMD as admin;

  • You have now successfully run CMD as administrator. You can observe in the image that it says “Administrator Command Prompt” at the top.

Using the search option in the Windows search bar

This method is a shortcut and is quicker than the first one that we’ve described. To use the elevated Command Prompt, perform the following steps:

  • Go to the search bar in your Windows 10 and look for “Command Prompt”;

  • Now, right-click on the Command Prompt icon and click “Run as administrator”;

  • You will now again come across the same command (UAC prompt) asking if you’d like to allow the program to make changes to your computer. Again, click “Yes” to open elevated Command Prompt;

  • You are now running Command Prompt as administrator. It can be seen that it is running with admin rights.

Using the Run prompt

You can use the “Run dialog” in Windows and then type a simple command to start CMD as administrator. Please follow the steps mentioned below to learn the command and begin administrative Command Prompt:

  • Go to the search bar and look for the “Run app”. Now, click and start the”Run” icon;

  • Then, type in the command “cmd“;

  • Instead of hitting the “Enter” key or clicking “OK”, please press Ctrl+Shift+Enter. By using this keyboard shortcut command, you will be able to open command prompt as administrator;

  • Once again, as you see the UAC prompt, you can click “Yes” to allow the Command Prompt to make changes and run it (in the administrative mode) as administrator. You can see that from the command prompt window image below that you are now running it as administrator.

Tip:Please note that there is a shortcut to open the “Run” app. Instead of searching for the app in the search bar, you can press the Windows key + R.

Using quick link menu

You can use the taskbar to run Command Prompt as admin using the quick link context menu in Windows. Follow the steps below:

  • Right-click on the Start button to access the quick link menu. Please note that if Command Line is missing from the options, we will have to enable it first;

  • As the Prompt is missing by default, we will now enable it from the settings. To do that, click the Start button and then go to “Settings”;

  • Now, please go to “Personalisation”;

  • Then, select “Taskbar” located on the left side of the screen;

  • Next, turn off the option that states the following: “Replace Command Prompt with Windows PowerShell in the menu….”;

  • Now when we right-click on the Start menu, we see that we have the option to run cmd as admin user available. So now, please click on Command Prompt (Admin) to run the Command Prompt with admin rights.

Note: Instead of right-clicking the start menu for the above method, you can also use the Windows key + X.

Using the Windows Task Manager

You can also use the task manager to open Command Prompt as administrator by using a simple command. Please follow the steps below to learn how to do it:

  • Right-click on the taskbar and select “Task Manager” from the various options available;

  • Once you open the Task Manager from the taskbar, go to “File” and then “Run new task” as shown below;

  • Now, a new window will appear. Type CMD and check the box that says “Create this task with administrative privileges”;

  • By using this simple command, we have now successfully started Command Prompt in the administrator mode. Please note that by using this method, you will not see the UAC prompt asking if you want to allow command prompt to make changes to the computer. Instead, the command prompt will directly run as administrator.

Wrap Up

The Windows Command Prompt is used to execute specific commands. If you have admin rights for a Windows user account, you can run it as administrator.

The Command Prompt admin mode is required to execute some particular commands in Windows. In this article, we have discussed various ways through which you can launch it as admin.

We hope that by the use of these straightforward methods, shortcuts, and commands, you will be able to improve your understanding of your computer system.