How to Open Elevated Command Prompt as Administrator with Admin Privileges in Windows - Tech Journey (2024)

PreviousNext

Windows power users have many ways to launch a Command Prompt or Windows command processor (Cmd.exe) with administrator privileges, rights or credentials. It’s a security feature in Windows which was implemented beginning from Windows Vista, and continuing in Windows 7, Windows 8, Windows 8.1, Windows 10 or later, all of which that comes with User Access Control (UAC). UAC ensures that all process is launched in restricted standard mode unless users specifically accept the elevation confirmation. For Command Prompt, the commands that require access to system components or protected files and folders may refuse to run or have access denied error. So users need to run the Command Prompt as Administrator to go into a state where the Command Prompt gains full admin rights and grant all permission state.

Here’s a few ways and methods the elevated Command Prompt can be opened and ran as administrator.

Tip

For all of the methods to run Command Prompt as Administrator, when the steps involve right clicking on the item and then select “Run as Administrator”, you can replace it by pressing Ctrl + Shift + Enter simultaneously. Ctrl + Shift + Enter is the general keyboard shortcut that triggers elevation to “Run as Administrator”.

Method 1

  1. Click on Start button. Locate the Command Prompt menu item (buried deep inside Accessories under All Programs or appear on program access history). In Windows with Modern Metro interface, such as Windows 8, Windows 8.1 or Windows 10, it’s located under Windows System in Start Screen.

    Alternatively, press the Win keyboard key or click on Start button, and then type Cmd into the Start Search textbox to search for Command Prompt.

  2. Right click on Command Prompt.
  3. On the pop-up right click context menu, select Run as Administrator.

  4. Press Continue or Yes to confirm the UAC elevation warning prompt.

Method 2

Note: This method works only if you disable the UAC (User Account Control).

  1. Click on Start button and select on Run.

    An alternative way to open the Run command is by pressing Win + R keys simultaneously, useful in Windows versions that do no have Start menu.

  2. Type in Cmd in the “Open” textbox.
  3. You should see “This task will be created with administrative privileges”.
  4. Click on OK or press Enter.

Method 3

Note: This method only works in Windows 8, Windows 8.1, Windows 10 or later and their server equivalent.

  1. Right click on the Taskbar and select Task Manager.
  2. Click on More details if the Task Manager is currently showing “fewer details” (i.e. no menu bar).
  3. From the Menu bar, select File > Run new task.

  4. A “Create new task” dialog box, which is identical to “Run” dialog box is opened, but with an additional option. Type Cmd in the Open text box, and select Create this task with administrative privileges setting.

  5. Hit Enter or press on OK when done.

Method 4

Note: Only works in Windows 8 or later. In Windows 7 and Windows Vista, it opens standard Command Prompt with non-elevated access tokens.

  1. Right click on the Taskbar and select Task Manager.
  2. Click on More details if the Task Manager is currently showing “fewer details” (i.e. no menu bar).
  3. Press and hold and Ctrl key, and click or tap Run new task from File menu in the Menu bar.
  4. An elevated Command Prompt is opened directly.

Method 5

You can create an easy access shortcut to elevated Command Prompt that always Run as Administrator with administrative privileges at the desktop or Start menu.

Method 6

Add a right click contextual menu option of “Open Command Prompt as Administrator” to the Computer (My Computer) so that you can simply right click to open the super Command Prompt.

Method 7

Turn off or disable User Access Control (UAC).

Method 8

If you prefer to hold down “Shift” key and right click on a folder open a Command Prompt window here, a registry hack will allow you to open Command Prompt window at current folder in elevated mode as Administrator.

Method 9

In Windows 8 or later, such as Windows 8.1 and Windows 10, right click on the lower left corner or at the Start button to open the Quick Access Win-X menu, and select the Command Prompt (Admin) to open an elevated Command Prompt.

You May Also Interested In:

  • Create Elevated Command Prompt Shortcut that Always Run as…
  • How to Disable or Enable User Access Control via Command…
  • The Call to DllRegisterServer Failed with Error Code…
  • Delete Undeletable Files in Windows
  • Run Command Prompt as Administrator from Computer's Right…
  • Open Command Prompt Here as Administrator at Current Folder…
  • Easier Way to Take Ownership and Grant Full Access to Files…

By LK|2020-09-08T11:02:06-07:00Modified: September 8, 2020February 17th, 2007|Categories: Windows|Tags: User Account Control (UAC), Windows|64 Comments

About the Author: LK

How to Open Elevated Command Prompt as Administrator with Admin Privileges in Windows - Tech Journey (13)

LK is a technology writer for Tech Journey with background of system and network administrator. He has be documenting his experiences in digital and technology world for over 15 years.Connect with LK through Tech Journey on Facebook, Twitter or Google+.

How to Open Elevated Command Prompt as Administrator with Admin Privileges in Windows - Tech Journey (2024)
Top Articles
Latest Posts
Article information

Author: Pres. Carey Rath

Last Updated:

Views: 5507

Rating: 4 / 5 (61 voted)

Reviews: 92% of readers found this page helpful

Author information

Name: Pres. Carey Rath

Birthday: 1997-03-06

Address: 14955 Ledner Trail, East Rodrickfort, NE 85127-8369

Phone: +18682428114917

Job: National Technology Representative

Hobby: Sand art, Drama, Web surfing, Cycling, Brazilian jiu-jitsu, Leather crafting, Creative writing

Introduction: My name is Pres. Carey Rath, I am a faithful, funny, vast, joyous, lively, brave, glamorous person who loves writing and wants to share my knowledge and understanding with you.