12 Ways to Open Command Prompt as Administrator in Windows 10

How to Open Command prompt as administrator in Windows 10 using 12 ways such as Start, Run, Win+X, Taskmgr, System32.

Open Command Prompt as Administrator

Using the instructions here you will have the ability to open Command Prompt as administrator in Windows 10 from Start, Search, Run, taskmgr, PowerShell, and more. This application allows running commands that help you fix multiple issues, change settings, and access different files. When you stuck in anything on Windows 10 the first tool you remember is CMD. Administrative authority makes you capable to run a task in elevated mode.

We already discussed How to Launch Elevated Command Prompt on Windows 10 but now some additional ways are available for the same. So here we have come with a collection of all methods to open cmd with admin rights.

Methods list

1] Quickest and easiest way to run cmd as admin
2] From Run dialog
3] Take the help of Windows search bar
4] Via Win+X menu
5] By means of Task Manager
6] Again using Task Manager
7] Through Start menu
8] Switch PowerShell to Command Prompt
9] From System32 Directory
10] Via Run command
11] Create Desktop shortcut
12] Assign a shortcut key

 

How to Open Command Prompt as Administrator in Windows 10

Here are 12 Ways to Open Command Prompt as Administrator in Windows 10 –

1] Quickest and easiest way to run cmd as admin

Step-1: Click on the Start icon.

Step-2: Type cmd.

Step-3: Press ctrl+shift+enter on keyboard.

Open Command Prompt as Administrator

Step-4: Once User Account Control (UAC) dialog appears, select Yes.

UAC dialog when open command prompt as administrator

2] Open command prompt as administrator from Run dialog

  1. Press Win+R and let the Run dialog box appear.
  2. Write down either cmd or cmd.exe in the empty text field onward to Open.
  3. Press ctrl, shift, and enter simultaneously.
cmd in run dialog box
  1. Click Yes when a UAC dialog prompts to seek permission.

3] Take the help of Windows search bar

  1. Press Windows and S keys.
  2. Type “cmd”
  3. Click – Run as administrator.
Open Command Prompt as Administrator in Windows 10 from start search
  1. A UAC will prompt up for authentication; choose Yes.

4] Open Command Prompt as Administrator in Windows 10 Via Win+X menu

In the recent versions of Windows 10, you notice rather Windows PowerShell (Admin) in the Power user menu (Win+X). But for launching easily, you can replace it with Command Prompt (Admin) via a small tweak in Settings. This will help you to open cmd with administrative privilege in only 2 clicks. Here’s how –

  1. Open Windows Settings  (by pressing Win and I).
  2. Select Personalization.
Personalization on Windows settings
  1. Select Taskbar from the left-pane and then shift to the right.
  2. Toggle on the option – “Replace Command Prompt with Windows PowerShell in the menu when I right-click the Start button or press Windows Key+X”.
Replace Command Prompt with Windows PowerShell in the menu when I right-click the Start button or press Windows Key+X
  1. From now onward, whenever you will open the Power user menu, you will view Command Prompt (Admin) in the list.
  2. Simply press Win+X and choose the same.
Open Command Prompt as Administrator in Windows 10 by switching from powershell

5] Open command prompt as administrator by means of Task Manager

Important – Before proceeding forward, make sure that you have signed in as administrator.

  1. Right-click on the Taskbar and select Task Manager or directly press “Ctrl+Alt+Esc”.
  2. From the menu bar, click on File option.
  3. Press and hold the Ctrl key and at the same time click Run new task.
Open Command Prompt as Administrator in Windows 10 using task manager
  1. It will right away open cmd as admin.

6] Again using Task Manager

  1. Open Task Manager using the method given in the previous way.
  2. Click on File from the uppermost menu bar and choose Run new task.
  3. Type either cmd.exe or cmd the provided space and check the box for “Create this task with administrative privileges”.
  4. Click – OK.
Open Command Prompt as Administrator in Windows 10 using run new task

7] Through Start menu

  1. Press Windows key to bring up the Start menu
  2. Click on # from the top.
hash on Start menu
  1. Select W alphabet from the list.
W alphabet on Start menu
  1. Click Windows System from here and to expand its options.
  2. Right-click on Command Prompt, move the cursor over “More”
  3. Then choose – “Run as administrator”.
Open Command Prompt as Administrator in Windows 10 from start
  1. When you see a User Account Control popup, click the Yes to give consent.

8] Switch PowerShell to Command Prompt

  1. Press “Win+X” hotkey and select “Windows PowerShell (Admin)” from the Power user menu.
PowerShell on on Win+X menu
  1. When the User Account Control shows up in the display, click the Yes button to allow it.
  2. In the “Administrator: Windows PowerShell”, type cmd after PS C:\WINDOWS\system32> and hit the Enter key.
Open Command Prompt as Administrator in Windows 10 by switching from powershell
  1. This will immediately switch the PowerShell utility to Command prompt.

9] Open Command Prompt as Administrator in Windows 10 From System32 Directory

  1. Press – Win+E.
  2. Select This PC in Quick access and then Perform a double click on “(C:)” (we assume that this is your system drive).
Local Disk C on this PC
  1. Double click –  Windows folder.
Windows folder in c drive
  1. From the next window, locate System32 and double-click on the same to enter it.
System32 directory in windows folder
  1. Once this directory appears, find cmd.exe.
  2. Right click on the same and opt Run as administrator from the list.
Open Command Prompt as Administrator in Windows 10 from System32 directory
  1. Finally, hit the Yes button once the UAC arrives.
  2. Alternatively, to get access to the location you may copy-paste “C:\Windows\System32” into the Run dialog box and hit Enter.

10] Via Run command

  1. Press Win+R.
  2. Paste C:\Windows\System32\cmd.exe in Run dialog
  3. Hit  – ‘ctrl+shift+enter’.
cmd path in run dialog box
  1. Choose Yes when User account control prompt appears.

11] Create Desktop shortcut

  1. Right-click on the desktop.
  2. and move cursor on New and select Shortcut.
right click desktop new shortcut
  1. A wizard entitled Create Shortcut will show up.
  2. Copy C:\Windows\System32\cmd.exe paste into the given area
  3. Click Next.
cmd location in shortcut wizard
  1. Provide a name for this shortcut.
  2. Click on Finish.
shortcut name of command prompt
  1. You will notice a new shortcut for the “CMD” on the desktop. Right-click on the same and select Properties.
properties of cmd shortcut
  1. In the Shortcut tab, move down to the bottom and click the Advanced button.
Advanced on properties of cmd shortcut
  1. Mark – Run as administrator
  2. Hit the – OK.
run as administrator on advanced properties
  1. Finally, click on Apply and thereafter OK button to save the changes.
Open Command Prompt as Administrator in Windows 10 via shortcut
  1. In future, whenever you need to open command prompt as administrator, just double-click on the shortcut.

12] Assign a shortcut key to open cmd as admin

  1. Follow the previous method to create a shortcut key of Command Prompt and give it administrative authority.
  2. Right-click on the desktop shortcut and select – Properties.
  3. Go to Shortcut key area and click on the box located beside it.
  4. Now, press your preferred key from the keyboard. When you will type C and the system automatically generated a shortcut key Ctrl+Alt+C.
  5. Lastly, click on Apply and then OK to make the changes effective.
Open Command Prompt as Administrator in Windows 10 using run new task
  1. To open cmd as admin, you just require hitting the shortcut key you just created.

That’s all!!

   
 
 
About Sunita
Love to play with Windows 10. Suggestion - Going for Registry change or system files edit then remember to take a backup or create a restore point before Starting.

Comments


  1. Azhar Ali Buttar

    says:

    This is a very handy post. I like it. Thanks for sharing this information.

Leave a Reply