How to open an Elevated Command Prompt in Windows 8

  • December 13, 2012
  • 11:55 AM
  • Read 105,689 times
 

A Windows Command Prompt is a screen where you type in commands that you would like to execute. The command prompt is very useful if you want to use batch files, basic scripting, or to perform various administrative tasks. The normal command prompt has one shortcoming and that is that you cannot directly launch programs that require administrative privileges in order to work properly. This is where the Windows 8 Elevated Command Prompt comes in handy. When you use an elevated command prompt, any command you type in and execute will run with administrative privileges. This allows you to run any program and to perform all administrative tasks without being shown a User Account Control prompt each time.

In Windows 8 there are two methods that you can use to start an elevated command prompt. The first is through a menu option on the Power Users Task Menu and the second method is to create a Elevated Command Prompt tile directly on the Windows 8 Start Screen. This tutorial will walk you through using both methods to access an elevated command prompt in Windows 8.

Note: When you open a Command Prompt your working directory is your UserProfile folder. When you open an Elevated Command Prompt, your working directory with be C:\Windows\System32 instead.

If you have any questions about these steps, please ask in the Windows 8 Forum.

 

Method 1: Access the Elevated Command Prompt via the Power Users Tasks menu

To open an elevated command prompt, use the Windows+X keyboard combination (Windows Key + I key) to open the Power User Tasks menu.

 

Power User Tasks menu

 

When the menu is open click on the Command Prompt (Admin) menu option. If you use receive a User Account Control prompt, please allow it to continue. You will now see an elevated command prompt as shown below.

 

Elevated Command Prompt

 

You can now use the command prompt by typing the commands you wish to execute and then pressing Enter on your keyboard.

 

Method 2: Create a Windows 8 Start Screen tile for the Windows 8 Elevated Command Prompt

It is also possible to add a tile for an Elevated Command Prompt directly on your Windows 8 Start Screen. To do this, type cmd at the Windows Start screen.

 

CMD Search

 

When the search results appear, right-click on the Command Prompt search result to bring up that program's properties.

 

Program Properties

 

Left click on the Pin to Start option and then go back to your start screen. You should now see a Command Prompt tile on your Windows Start Screen.

 

Command Prompt Tile

 

Now right-click on the Command Prompt tile and when the tile properties bar appears, left click on the Open File Location option. This will open the %UserProfile%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\System Tools where you should see a list of shortcuts as shown below.

 

System Tools Folder

 

Right-click on the Command Prompt shortcut and then select Properties from the menu that appears. The Command Prompt properties screen should now open.

 

Command Prompt Properties

 

Now click on the Advanced button to open the Advanced Properties screen.

 

Advanced Properties

 

Put a check mark in the Run as administrator and then press the OK button. You will now be back at the Command Prompt properties screen. Click on the General tab and changes the shortcut's name from Command Prompt to Elevated Command Prompt. Then press the OK button.

The Command Prompt tile on your Windows 8 Start Screen has now been renamed to Elevated Command Prompt. Now when you click on the Elevated Command Prompt tile it will launch an Elevated Command Prompt instead of a regular one.

 

Elevated Command Prompt

 

You can now use the command prompt by typing the commands you wish to execute and then pressing Enter on your keyboard.

Users who read this also read:

  • How to enable the F8 key to start Safe Mode in Windows 8 Image
    How to enable the F8 key to start Safe Mode in Windows 8

    Windows 8 introduced a new boot loader that decreased the time that it takes Windows 8 to start. Unfortunately, in order to do this Microsoft needed to remove the ability to access the Advanced Boot Options screen when you press the F8 key when Windows starts. This meant that there was no easy and quick way to access Safe Mode anymore by simply pressing the F8 key while Windows starts. Instead in ...

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

    Safe Mode is a Windows mode that uses only the most basic drivers and programs that are required to start Windows. This mode will also not launch any programs that are set to start automatically when Windows starts. This makes Safe Mode is very useful for diagnosing hardware driver problems and computer infections in Windows 8. It can also be useful when you want to uninstall a program or delete a ...

  • Demystifying the Windows Registry Image
    Demystifying the Windows Registry

    Ever since Windows 95, the Windows operating system has been using a centralized hierarchical database to store system settings, hardware configurations, and user preferences. This database is called the Windows Registry or more commonly known as the Registry. When new hardware is installed in the computer, a user changes a settings such as their desktop background, or a new software is installed, ...

  • 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 ...

  • How to sign in directly to the Windows 8.1 desktop Image
    How to sign in directly to the Windows 8.1 desktop

    One of the biggest issues many people have had with Windows 8 is that it automatically logs you into the Windows 8 Start screen rather than the traditional Windows desktop. For those people who do not want to use the Start screen and instead work off the desktop this change has been very frustrating. If this has been an issue for you, Windows 8.1 allows you to skip the Start screen and boot ...

 

Comments:

blog comments powered by Disqus

Login

Remember Me
Sign in anonymously