Skip to main content

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


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.

About Author

My photo
Alex George
Alex George has Engineering graduation in Computer Science and an MBA in Finance. He had been working as a senior Network Engineer for ten years. His specialization is in Cisco products. Traveling is one of his hobbies and visited various places as part of his onsite work. He visited different places as part of his onsite work like New York, Dubai, London, etc. Right now Alex is a director of one of the leading career development firms in India, which trains students for UPSC, SSC, and PSC examinations. He guides a lot of students to get selection for various prestigious institutions like CBI, Income Tax Department, etc. Alex George is a stock market investor and a very active intraday trader. Engineering Background: He has a B.Tech in Computer Science and Engineering and passed different network and security courses like CCNA, CCNP (Security), CEH, and various Microsoft certifications. Finance Background: Alex has an MBA in Finance. He is an active intraday trader and a Share Market Investor. Webmaster Skills: Alex is a blogger since 2004. He has a working knowledge of HTML, CSS, PHP, and JavaScrip.