To perform an administrative task in Microsoft Windows, you must have an administrator account or know the login information of a user who has administrator rights on the computer. For example, with a simple user account, you will not be able to run and install applications on Microsoft Windows that require administrative rights.


By default, when you open the Windows command prompt, you will not be able to run commands that require administrative rights.


In this post, you will see how to run windows command prompt as administrator.


There are two easy ways to open the Windows command prompt as an administrator:

Firstly, go to the search area and type cmd in the search.
Right-click on Command Prompt and select Run as administrator.


Secondly, to open command prompt as an administrator:
Press the Windows key + R , and type cmd in Run.
Press Ctrl + Shift + Enter