menu
close

You Don't Have Administrative Rights To Run The Command & Make Sure You Are in Administrative Account

At least once in your life, you might have encountered the error message You don't have administrative rights to run the command and make sure you are in Administrative account while running certain DOS commands on DOS window. The funny part is, you are already logged in to the administrative account. Though you are logged in to an admin account, DOS is not able to run certain commands due to lack of admin privileges. One of the major reasons to get this error message even though you are in the administrative account is User Account Control issues. In this article, we can check the reasons and solution for the error message.
You Don't Have Administrative Rights To Run The Command & Make Sure You Are in Administrative Account


Reason For Error You Don't Have Administrative Rights To Run The Command

To run certain codes on DOS, User Account Control requires us to start the command prompt as an administrator. So the solution for the error message you don't have administrative rights to run the code and make sure you are in Admin account is to execute DOS on your computer as admin.

Steps to Run Command Prompt as Administrator

  1. Click on Windows Start and click search

  2. On search type cmd

  3. Right click on the command prompt icon and select Run as administrator.
    admin privilege

On the new DOS window, you will not receive the same error message while trying to execute a code which needs admin privilege. So now onwards if you receive any privilege related issues while executing any commands on Command Prompt you can overcome that by simply running the command prompt as administrator.

Other Technology Tips
  1. How to Access Services On Your Laptop

  2. An Error Occurred While Trying to Share. The Server Service is Not Started

  3. Method To Open DOS In Any Drive & Change Working Directory

  4. List of Free Proxy Tools

No:Recent Tutorials
1 Hide Windows Computer From Other Devices On The Network
2Edit Boot Menu Option in Windows
3 View Event Log in Event Viewer On Windows
Open System Volume Information Folder
Reliance Netconnect Bill