How to Open Command Prompt with Admin Privileges or Permission

We all do know about the Command Prompt, which provides access to the full range of command-line tools on the Windows Operating System. When one opens the Command Prompt directly, it launches in a restricted mode, which will execute most of the basic command tasks. However, some commands need Admin Privileges or Admin Permissions. This requires the command prompt to start with elevated privileges.  In this post, I will share how you can run CMD as Admin on Windows 10.

How to Open Command Prompt with Admin Privileges

Opening a Command Prompt with Admin permission isn’t a tedious task. It can be done in multiple ways. Here is a list of methods that we follow:

  1. Search Box
  2. Power Menu
  3. Run Prompt
  4. Task Manager
  5. Regular Command Prompt
  6. Set Command Prompt to always Open as Administrator

1. Search Box

How to Open Command Prompt from Search Box

The Search Box near the start menu can not only be used to search for files but once can also search for applications and settings using it. To open an Elevated Command Prompt using the Search box:

  • Head over to the Start Search Box and type in cmd or Command Prompt.
  • Locate the Windows Command Prompt listed as the main result
  • Right Click, and Choose Run as Administrator

One can also follow the first step by pressing the Windows Logo on the keyboard, which in turn triggers the search box. You can then type CMD or Command Prompt.

2. Power Menu

how to open cmd admin power menu

With the introduction of Windows 8, Microsoft introduced a new Power User Menu, which could be used to access multiple settings with a single click of a button. And the same can be used to start an Elevated Command Prompt as well. Here’s how it can be done:

  • Place your cursor at the Windows Logo on the bottom left corner.
  • Make a single right-click or (Win + X) to open the Power User Menu.
  • Select the option stating Open Command Prompt (Admin)

Note: With the latest versions of Windows, Microsoft has started replacing the Command Prompt with PowerShell in the Power User Menu. But it can be brought back, here’s how:

how to bring back cmd to power menu

  • Open the Settings Page on Windows 10
  • Move to Personalization Settings
  • Head over to the  Menu in the Sidebar, named as Taskbar.
  • Now Disable the option stating—Replace Command Prompt with Windows PowerShell in the menu when I right-click the start button or Win + X.

With this, the old Command Prompt will be brought back to the Power Menu, and now you will be able to access it using the Power User Menu easily.

3. Run Prompt

More of a keyboard user? Want to open an Elevated Command Prompt without actually needing to use the mouse cursor manually?. Here’s how you can do it using the Run Dialogue.

  • Head over to the Start Search Box and type in Run.
  • Locate and Open the Run App listed as the main result. Alternatively, the Run Dialog can be fired by pressing the Win + R button simultaneously.
  • In the Run box, type in CMD and press the CTRL + SHFT + ENTR button simultaneously.

Now just allow it to run as Administrator in the User Account Control Menu that pops-up on the screen.

4. Regular Command Prompt

open command prompt admin via cmd

Want to open an Elevated Command Prompt window from a regular one?. There are multiple situations when one might need to. So here’s how you can open an Elevated Command Prompt via a regular one.

  • Firstly, Open the Regular Command Prompt
  • Now in the command line, type in
PowerShell -Command “Start-Process cmd -Verb RunAs"

where the user denotes the name of the user-created while setting up the PC.

  • Once done, press Enter, and you’ll witness an Elevated Command Prompt on your screen.

This method comes in handy when one doesn’t want to open a new window and loose all the previously applied commands.

5. Task Manager

How to Open Command Prompt from Task Manager

While most people do know about the Run Dialogue, which can be accessed by Win+R, the same can be done using the Task Manager while adding an option for “Creating the Task with Admin Privileges.” So here’s how it can be done:

  • Open the Task Manager for Windows by pressing the CTRL + SHIFT + ESC keys.
  • Under the Files Menu in the Task Manager, select the option with Run New Task, this will open a Run Dialogue.
  • In the Run box, type in cmd Check the checkbox stating—Create this task with administrative privileges.
  • Press Enter.

While this seems to be a prolonged method of opening an Elevated Command Prompt on Windows, this method comes in handy at specific situations.

6. Set Command Prompt to Always Open as Administrator

Open CMD Admin Default

If you do open an Elevated Command Prompt regularly by following one of the methods above, here’s a short trick which you can follow to set the Command Prompt to always automatically open with Elevated Privileges.

  • Head over to the Start Search Box and type in cmd or Command Prompt.
  • Locate the Windows Command Prompt listed as the main result
  • Right-click and choose Open File Location.
  • Now with the location opened, Find the shortcut for the Comand Prompt, Right Click, and Open Properties.
  • In the properties, Under the shortcut Menu, navigate and choose the Advanced Menu.
  • Under the Advanced Menu, Check the checkbox with Run as Administrator.
  • Click OK, then Apply the Settings under Properties.

Command Prompt has come through a long way, and Microsoft has started replacing it by the PowerShell. The Windows PowerShell can perform all the functions that a Command Prompt could but will some additional functionality.

I hope this post was easy to follow, and you were able to open Command Prompt with admin permission or privileges. That said, PowerShell is slowly replacing Command Prompt almost everywhere. Do you still prefer to use Command Prompt, or PowerShell has replaced it for you?

A long-standing Windows fan, Photographer, and Tech Enthusiast who loves to write about Smartphones and Technology.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.