How to open a Windows 10 Elevated Command Prompt

  • October 29, 2017
  • Read 2,350 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 determine why Google Chrome is using a lot of memory or CPU Image
    How to determine why Google Chrome is using a lot of memory or CPU

    Unfortunately, it has become very common to find malicious Chrome extensions, poorly designed extensions, or extension monetization that causes Google Chrome to use up too much CPU or memory on a computer. This can cause the Chrome and the Windows to become slow, freeze, or crash. 

  • Understanding Command Line Arguments and How to Use Them Image
    Understanding Command Line Arguments and How to Use Them

    Command line arguments are extra commands you can use when launching a  program so that the program's functionality will change.  Depending on the program, these arguments can be used to add more features that include specifiying a file that output should be logged to, specifying a default document to launch, or to enable features that may be a bit buggy at the moment.

  • How to see hidden files in Windows Image
    How to see hidden files in Windows

    By default Windows hides certain files from being seen with Windows Explorer or My Computer. This is done to protect these files, which are usually system files, from accidentally being modified or deleted by the user. Unfortunately viruses, spyware, and hijackers often hide there files in this way making it hard to find them and then delete them.

  • How to start Windows in Safe Mode Image
    How to start Windows in Safe Mode

    Windows Safe Mode is a way of booting up your Windows operating system in order to run administrative and diagnostic tasks on your installation. When you boot into Safe Mode the operating system only loads the bare minimum of software that is required for the operating system to work. This mode of operating is designed to let you troubleshoot and run diagnostics on your computer. Windows Safe Mode ...

  • How to remove a Trojan, Virus, Worm, or other Malware Image
    How to remove a Trojan, Virus, Worm, or other Malware

    If you use a computer, read the newspaper, or watch the news, you will know about computer viruses or other malware. These are those malicious programs that once they infect your machine will start causing havoc on your computer. What many people do not know is that there are many different types of infections that are categorized in the general category of Malware.



blog comments powered by Disqus


Remember Me
Sign in anonymously