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 administrative account. Though you are logged in to 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 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 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

Technology Blog

3 comments:

Shrik said...

Thanx man I was looking for a way to run dos prompt in administrator mode.

Anonymous said...

Excellent Guide

Jayan said...

Why Windows is forcing to run command prompt in administrative mode for operating some commands ? I feel suspicious. May be there is second administrator account only known to hackers.