How to open a Windows 10 Elevated Command Prompt (2024)

Lawrence Abrams
  • October 29, 2017
  • Read 175,835 times

The Windows Command Prompt is an application that allows you to execute programs, change settings, and access files by typing commands into the window. The Command Prompt is commonly used by administrators and power users to quickly type commands or execute scripts that perform multiple actions at once.

When you open the Command Prompt in Windows 10 you will be able to execute commands under the security level of the logged in user. Due to this, when you try to access files or issue commands that require administrative privileges, you will not be able to do so. It is for this reason, that we need to be able to open what is called an Elevated Command Prompt, which is a Command Prompt that allows you to access files and programs as an Administrator of the machine.

An example of standard Windows 10 Command Prompt can be seen below:

How to open a Windows 10 Elevated Command Prompt (1)
Default Command Prompt Window

To open an Elevated Command Prompt, we need to perform an additional step.

First, click on the Start Menu and type cmd into the search field. When the Command Prompt search result is shown, right-click on it and select Run as adminsitrator as shown below.

How to open a Windows 10 Elevated Command Prompt (2)
Run as administrator

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

How to open a Windows 10 Elevated Command Prompt (3)
User Account Control Prompt

Click on the Yes button and a Windows 10 Elevated Command Prompt will be opened. You can tell that a Command Prompt is running with Elevated privileges because the Windows title will state "Administrator: Command Prompt" as shown below.

How to open a Windows 10 Elevated Command Prompt (4)
Elevated Command Prompt

Please note that the Elevated Command Prompt starts in the Windows System32, for example C:\Windows\System32\, folder rather than the User Profile. As this is an important folder, I suggest that you change to your user profile folder before performing any commands. To do this, type cd %userprofile% and then press the enter key on your keyboard.

In this Elevated Command Prompt you can now launch programs or access files that require Administrative privileges.

For more information on the Command Prompt and its available commands you can view our Introduction to the Windows Command Prompt tutorial. As always, if you have any questions regarding this procedure please ask us in our Windows 10 forum.

Users who read this also read:

  • How to open a Windows 10 Elevated Command Prompt (5)

    How to Enable CPU Virtualization in Your Computer's BIOS

    CPU Virtualization is a hardware feature found in all current AMD & Intel CPUs that allows a single processor to act as if it was multiple individual CPUs. This allows an operating system to more effectively & efficiently utilize the CPU power in the computer so that it runs faster. This feature is also a requirement for many virtual machine software and is required to be enabled in order ...

  • How to open a Windows 10 Elevated Command Prompt (6)

    How to Install Hyper-V in Windows 10

    Hyper-V is a virtual machine software solution that is included with Windows 10 Professional, Windows 10 Enterprise, and Windows Server that allows you to run multiple operating systems at once from within one instance of Windows. This tutorial will explain how to install Hyper-V in a supported version of Windows.

  • How to open a Windows 10 Elevated Command Prompt (7)

    Sometimes when you create a Hyper-V virtual machine, you may name it with a name that is not accurate or that you no longer wish to use. This article will provide three methods to rename a Hyper-V virtual machine so that it uses the name that you want.

  • How to open a Windows 10 Elevated Command Prompt (8)

    How to start an Elevated Command Prompt in Windows 7 and Vista

    A Command Prompt allows you to run programs, manipulate Windows settings, and access files by typing in commands that you wish to execute. 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. A window will appear, called the Command Prompt, that will open in your user profile ...

  • How to open a Windows 10 Elevated Command Prompt (9)

    Introduction to the Windows Command Prompt

    Before Windows was created, the most common operating system that ran on IBM PC compatibles was DOS. DOS stands for Disk Operating System and was what you would use if you had started your computer much like you do today with Windows. The difference was that DOS was not a graphical operating system but rather purely textual. That meant in order to run programs or manipulate the operating system ...

How to open a Windows 10 Elevated Command Prompt (2024)

FAQs

How to open a Windows 10 Elevated Command Prompt? ›

Search for Command Prompt: Type "Command Prompt" into the Windows search bar located on the taskbar. 2. Run as Administrator: Right-click on "Command Prompt" in the search results, and then select "Run as administrator" from the context menu. This will open Command Prompt with elevated privileges.

How do I boot an elevated Command Prompt? ›

Open an Elevated Command Prompt in Windows
  1. In the System Tray, click Start or the magnifying glass icon.
  2. Type cmd but do not press Enter.
  3. In the Best Results section, you should see Command Prompt.
  4. In the list of options under the Command Prompt application, click Run As Administrator.

How do I run with elevated privileges on Windows 10? ›

To run apps elevated from the Taskbar, use these steps:
  1. Right-click the app in the Taskbar.
  2. Right-click the app name.
  3. Select the Run as administrator option.
Mar 26, 2024

How to open Windows 10 Command Prompt? ›

Open Command Prompt in Windows 10

Move the mouse pointer to the bottom-left corner of the screen and Right-click, or press Windows key + X. In the power user task menu, select Command Prompt (Admin) (Figure 8).

How do I open a Command Prompt window as an administrator? ›

To Open Command Prompt as an Administrator:
  1. Press the Windows Start button at the bottom left.
  2. Type in "Command Prompt".
  3. Right click on Command Prompt and click "Run as administrator".
  4. Click Yes if the Windows 10 User Account Control prompt is displayed.
  5. The Command Prompt should appear.
Mar 20, 2024

How do I open an elevated Command Prompt? ›

How do I open an elevated command prompt?
  1. Press the Windows key on your keyboard or click on the Windows icon in the taskbar to open the Start menu.
  2. Type "cmd" in the search bar.
  3. Right-click on "command prompt" or "command prompt (Admin)" in the search results.
  4. Select "Run as administrator."

How to boot in cmd mode? ›

How to Boot to Command Prompt
  1. Open the Windows Start menu.
  2. Click the Power icon.
  3. Hold down the "Shift" key.
  4. Click "Restart" as you continue holding down Shift.
  5. Release the Shift key when you see a blue screen.
  6. Open the Troubleshoot menu.
  7. View your advanced options.
  8. Access the command prompt.
Aug 24, 2023

What is the hot key to open Command Prompt? ›

Open the Run menu with Windows Key + R, then type "cmd." Press "Enter" to open the regular Command Prompt, or Ctrl + Shift + Enter to open as an Administrator. Another way is to press Windows Key + X, use the arrow keys to select "Command Prompt," then press Enter.

How do I open Command Prompt settings in Windows 10? ›

Press the Windows and I keys together simultaneously. Press the Windows and R keys together simultaneously to open a run box and type ms-settings: and click the OK button. Open a Command Prompt or PowerShell with administrator rights, type start ms-settings: and press Enter.

How to open Command Prompt in Windows 10 without Start menu? ›

To Quickly Open the Command Prompt:

Hold Shift and Right Click. (This keyboard combination may be used on the Desktop or within Windows Explorer.)

How do I open computer management from Command Prompt as administrator? ›

Workaround: To run Device Manager as Administrator, either:
  1. Start an elevated command prompt (Win+R, cmd, Ctrl-Shift-Enter), then run devmgmt. msc.
  2. Start directly (Win+R, devmgmt. msc, Ctrl-Shift-Enter)

How do I run a Command Prompt? ›

Easily open Command Prompt by running Windows Run by holding the Windows button and hitting the R button on your keyboard. You can then type "cmd" and press enter, opening Command Prompt.

How do I elevate Command Prompt to system? ›

Open a command prompt (Cmd.exe) with Administrator privilèges. For example with Windows 10, you can search “cmd” in the start menu, right-click “cmd.exe” and choose “Run as Administrator”. It should display something like: You can now type any command and they will be run as the System user!

How do I open an elevated PowerShell Command Prompt? ›

Press the “Windows” key + “R” on your keyboard to open the Run dialog. Type “powershell” into the Run dialog. Press “Ctrl” + “Shift” + “Enter” on your keyboard or press “o*k” to open PowerShell with elevated privileges.

How to invoke utility running in elevated mode? ›

Solution 1. Run Command Prompt as an Administrator
  1. Type cmd in the search bar, and then right-click the Command Prompt app and select Run as administrator from the context menu.
  2. In the elevated window, type the desired commands and hit Enter.
  3. Boot your computer into Safe Mode.
Dec 29, 2023

Top Articles
Latest Posts
Article information

Author: Virgilio Hermann JD

Last Updated:

Views: 5387

Rating: 4 / 5 (41 voted)

Reviews: 80% of readers found this page helpful

Author information

Name: Virgilio Hermann JD

Birthday: 1997-12-21

Address: 6946 Schoen Cove, Sipesshire, MO 55944

Phone: +3763365785260

Job: Accounting Engineer

Hobby: Web surfing, Rafting, Dowsing, Stand-up comedy, Ghost hunting, Swimming, Amateur radio

Introduction: My name is Virgilio Hermann JD, I am a fine, gifted, beautiful, encouraging, kind, talented, zealous person who loves writing and wants to share my knowledge and understanding with you.