Click the Start button, type “cmd” or “Command Prompt” in the search bar, then right-click “Command Prompt” and select “Run as administrator.” You can also use the Run box or the Power User menu to start a command prompt window as an administrator.
Most of the time, all you need is to open a command prompt as a normal user. Sometimes, however, you’ll need to open Command Prompt as an administrator in order to run commands that require administrative privileges.
Windows 10 offers many different ways to open Command Prompt, and with many of those methods, you can also open Command Prompt with administrator privileges. Here we will focus on three quick ways to open Command Prompt with administrator privileges in Windows 10.
Open command prompt as administrator with start menu
You can also open an administrative command prompt using just the Start menu. Click the Start button, type “command” and you will see “Command Prompt” listed as the main result. Right click on that result and choose “Run as administrator”.
When you start Command Prompt with administrator privileges, you will likely see a “User Account Control” window asking for permission to continue. Go ahead and click “Yes.”
Once you have opened the “Administrator: Command Prompt” window, you can run any command, whether it requires administrative privileges or not.
Open command prompt as administrator with Run box
If you’re used to using the “Run” box to open apps, you can use it to start Command Prompt with administrator privileges. Press Windows + R to open the “Run” box. Type “cmd” in the box and then press Ctrl+Shift+Enter to run the command as administrator.
Open command prompt as administrator with power user menu
Windows 10 offers a “power user” menu that you can access by pressing Windows + X or simply right-clicking the Start button. From the Power User menu, choose “Command Prompt (Admin)”.
You’ll probably see PowerShell instead of Command Prompt unless you’re using a very old version of Windows 10. The Creators Update for Windows 10 switched PowerShell to Command Prompt in the Power User menu, but you can switch back to Command Prompt if you want. . Ideally, you should try PowerShell – it can do almost everything Command Prompt can do, plus a whole bunch of other useful stuff.
And with that, you have three very easy ways to run commands in the command prompt window as an administrator.
RELATED: 10 Ways to Open Command Prompt in Windows 10