There are many situations where you need to use the command lines instead of the GUI apps and many of the command lines require the admin privilege in order to complete the mission. And those special command lines that requires admin privilege need a Command Prompt window that runs as local administrator. We’ve covered the number of ways to open a Command Prompt as Administrator on Windows 8.1. Now let’s see how many ways to do the same on Windows 10.
Option 1 – From Win+X menu
Press Win + X or right-click on Start Menu, a power menu pops up from the Start Menu with a list of mostly used admin tools. One of them is Command Prompt (Admin). Clicking on it will open the Command Prompt window with local admin privilege for you.
But wait, before you see Command Prompt (Admin) listed there, you need to turn off the option “Replace Command Prompt with Windows PowerShell…” in Taskbar and Start Menu Properties because Windows PowerShell is the default option in Win+X menu.
Option 2 – From Cortana search box
Type Cmd in Cortana search box, right-click Command Prompt that pops up and choose Run as administrator.
Option 3 – Pin and start from Start
From the screenshot above, you can right-click Command Prompt and choose to Pin to Start.
And once it’s Pinned, you can right-click it in Start and choose Run as administrator.
Option 4 – Pin and Run from Taskbar
You can also Pin the Command Prompt on to Taskbar. Once Pinned, you can right-click the icon, right-click again on Command Prompt that pops up, then choose Run as administrator.
If you want the pinned icon always opened with admin right, here is a nice tip shared by our dear reader, Glenn1963:
Once pinned, you can also modify the Advanced Properties (Shift-right-click / Properties / Advanced) and always Run as administrator, so a single left-click is all that’s required.
Option 5 – From File Explorer
You can open Command Prompt as Administrator to any folder as well from File Explorer, just like it in Windows 8.
Open File Explorer, navigate to the folder you want to be in when Command Prompt window opens, and click File and choose Open command prompt as administrator.
You can make it easier by adding it to the Quick Access bar so next time you don’t need to open File menu but click the little icon in the Quick Access bar instead.
Option 6 – Run without UAC prompt
Lastly, if you are annoyed this UAC pop-up every time you open a Command Prompt window with local admin privilege,
Here is a very cool tip that go through the steps on how to create a shortcut on desktop that opens Command Prompt as Administrator window without the UAC window.
Latest posts by Kent Chen (see all)
- Windows 10 Tip: How To Quickly Switch Sound Playback Device - February 25, 2017
- The Page File (PageFile.sys) Guide for Windows 7, 8.1 and 10 - February 22, 2017
- How To Enable and Use Fetch Files Feature in OneDrive to Access All Your Files Remotely - February 21, 2017
Last updated: 01/29/2016