How to open a Windows 10 Elevated Command Prompt

  • October 29, 2017
  • Read 175,626 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:

Command Prompt
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.

Start Menu
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.

User Account Control Prompt
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.

Elevated Command Prompt
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 Enable CPU Virtualization in Your Computer's BIOS Image
    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 Install Hyper-V in Windows 10 Image
    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 Rename a Hyper-V Virtual Machine using PowerShell & Hyper-V Manager Image
    How to Rename a Hyper-V Virtual Machine using PowerShell & Hyper-V Manager

    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 start an Elevated Command Prompt in Windows 7 and Vista Image
    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 ...

  • Introduction to the Windows Command Prompt Image
    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 ...

 

Comments:

blog comments powered by Disqus
search tutorials
Mandiant mWise Conference 2024

Login