cpkshopcpkshop

Open command prompt with administrator privileges

Command Prompt (CMD) is the default command-line interpreter for Windows OS. It interacts with the user through a command-line interface (CLI). Sometimes when your applications ask you for admin rights whenever you perform an action that needs confirmation from an admin, you will need to open cmd with administrator privileges. There are three ways to do it on Windows.

open cmd as admin - Open command prompt with administrator privileges

1. Run cmd as admin from the Search window

Just search for “cmd” then click on the “Run as administrator” line on the right-hand side of the window.

2. Run command prompt as admin from its right-click menu

Search for “cmd”, right-click on the desktop app named Command Prompt then select “Run as administrator”.

3. Run cmd.exe as admin using hotkey “Ctrl + Shift + Enter”

Search for “cmd” then press the handy shortcut “Ctrl + Shift + Enter”.

If prompted, just click Yes to continue.

Finally, you will see a black window that has “Administrator” in the title.

run cmd with administrator privileges - Open command prompt with administrator privileges