Learn how to open elevated command prompt on your Windows box. System maintenance/administration tasks can be run by administrators only from elevated command prompt.
Below are different methods for opening an elevated command prompt.
How to open elevated command prompt?
There are two ways to open elevated command window. These are explained below.
Click on the Start button in the taskbar. Type ‘cmd’ in the search box. In the results, you will see
cmd application. Right click on it, and select the option
Run as administrator.
User Account Control will prompt
Do you want to allow the program to make changes to your computer? Click on
Yes and elevated administrator command prompt window will be opened.
The alternative way is to search for cmd in the start menu search button as mentioned above. Press
Shift and click on the
Why do we need elevated command prompt?
Starting from Vista, Windows has two modes for running command prompt – Elevated and normal. Normal command prompt does not allow to run commands that require admin privileges, so elevated command prompt is required. For example, you want to add a new user account to your system, this requires admin previliges, so even if you are admin, you would not be able to add a user from a command window opened in the normal way.