Majority of Windows users will never need to open Command Prompt as administrator or elevated Command Prompt as many of the commands can be executed without the elevated Command Prompt.
That said, there are some tasks that can only be performed from Command Prompt running with administrator rights, and you get “You may not have permission to perform this operation” or “Access is denied” error when you try to execute certain commands without admin rights.
In Windows 10, there are a bunch of ways to open Command Prompt as administrator or run elevated Command Prompt. You can follow one of the below mentioned methods to launch Command Prompt as administrator in Windows 10.
NOTE: If you’re wondering how to know that the Command Prompt has been launched as administrator, it’s easy. When the Command Prompt is launched with admin rights, “Administrator” text will appear on the titlebar (see the above picture) of the Command Prompt window.
Anyways, below are the methods to open Command Prompt as administrator in Windows 10.
Method 1 of 7
Use shortcut keys to quickly open elevated Command Prompt
This is probably the easiest and fastest method out there to open Command Prompt as administrator.
Step 1: Press the Windows logo key on the keyboard or simply click/tap the Windows logo button on the bottom-left corner of the screen to open the Start.
Step 2: Type CMD in the search box (search box is automatically selected when you open Start), and then simultaneously press Ctrl+Shift+Enter keys.
Step 3: Click Yes button when you see the User Account Control dialog box. That’s it!
Note: If you are using Guest account and not the admin account, you’ll be asked to enter the admin account password in order to open the Command Prompt as administrator.
Method 2 of 7
Easy way to open Command Prompt as administrator from desktop
Those of you who don’t prefer using keyboard shortcuts (mentioned in Method 1) can use this way to quickly launch Command Prompt as administrator.
Step 1: Right-click on the Windows logo button on the taskbar and then click Common Prompt (Admin).
Step 2: Click Yes when the User Account Control box appears to open Command Prompt.
Method 3 of 7
Use search to open elevated Prompt from Start
Step 1: Open Start by either clicking the Windows logo key on the bottom left corner of the screen or by pressing the Windows logo key on the keyboard.
Step 2: Type Command Prompt in the search box to see Command Prompt entry in the result, right-click on the Command Prompt, and then click Run as administrator.
Method 4 of 7
Admin Command Prompt from Start menu
Step 1: Open the Start by clicking the Windows logo button on the extreme left on the taskbar (bottom left corner of the screen) or by pressing the Windows logo key on the keyboard.
Step 2: In the Start, click or tap All Apps, click or tap Windows System folder, right-click on Command Prompt and then click or tap Run as administrator.
Click or tap Yes button when you see the User Account Control box or enter the password of the admin account if you’re using the Admin account.
Method 5 of 7
CMD as administrator from File Explorer
Step 1: Open Run command dialog box by simultaneously pressing Windows logo and R keys.
Step 2: In the Run command box, type %windir%\System32\ and then press Enter key to open System32 folder.
Step 3: Locate the file named cmd.exe, right-click on the same, and then click Run as administrator option.
Click Yes button or enter the admin account password when asked to do so.
Method 6 of 7
Open Command Prompt from Task Manager
This method is useful and works only if you signed into the admin account.
Step 1: Open Task Manager. To do so, you either right-click on Start button or taskbar and then click Task Manager. Task Manager can also be launched using Ctrl+ Shift+Esc hotkey.
If the Task Manager is launched with fewer details is launched, click More details to open the full version.
Step 2: Once the Task Manager is launched, click File menu.
Step 3: Now, hold down the Ctrl key and then click Run new task open Command Prompt as administrator. In this method, you’ll not see the User Account Control dialog box.
Method 7 of 7
Open Command Prompt window here as administrator
As you likely know, when we hold down the Shift key and right-click on a folder, Open Command Prompt window here option appears in the context menu. If you want to open the Command Prompt as administrator from a folder, you can use this method.
Step 1: Click File menu, hover the mouse cursor over Open Command Prompt to see Open Command Prompt as administrator option. Click on the same option to run Command Prompt as administrator.
That’s all we know. If there is an easier way to open Command Prompt as administrator, do let us know by leaving comments. You can also let us know if any of the above mentioned method is not working for you.
Tip: You can configure Windows to always open Command Prompt as administrator. Please go through our how to always run Command Prompt as administrator guide for detailed instructions.