1

I'm trying to run chkdsk from the command line and am receiving the following error message "Access Denied as you do not have sufficient privileges. You have to invoke this utility running in an elevated mode." The account has administrative rights. Do I need to be logged in as admin?

3
  • 2
    Launch an elevated command prompt and then run chkdsk.
    – joeqwerty
    May 24, 2014 at 18:00
  • 1
    Next time first google :)
    – Mixxiphoid
    May 24, 2014 at 19:12
  • 1
    @shub It indeed belonged at the question and not in the answer :).
    – Mixxiphoid
    May 24, 2014 at 19:24

3 Answers 3

10

You need to have an account that is an admin on your computer and run cmd As An Administrator:

enter image description here

Then you will be shown with a UAC dialog, if you are logged in as an Admin, click yes.

If not, then type in an Admin's username and, if the Admin has one (which it should ;)), their password.

Now use chkdsk

4

According to this link you need to run cmd as administrator in order to execute it.

Our first problem: CHKDSK requires that you not only be administrator, but that you run the program as administrator. The two are not the same...

The link explains it all.

6
  • 2
    If you remove the "next time google" comment I will upvote your answer.
    – Ramhound
    May 24, 2014 at 18:15
  • 1
    The site clearly states one should search on the web first. ´ Have you thoroughly searched for an answer before asking your question?´ states the how to ask. So, I will not remove my comment.
    – Mixxiphoid
    May 24, 2014 at 18:20
  • 1
    I don't disagree with your comment its just not friendly.
    – Ramhound
    May 24, 2014 at 18:26
  • 1
    @Ramhound I understand your point, I see Shub changed it already. It was never harsh intended.
    – Mixxiphoid
    May 24, 2014 at 18:53
  • 2
    Don't get me wrong. Your answer is good, you quote and link to the source, but the comment could have been done in a comment. Answers are for everyone.
    – Ramhound
    May 24, 2014 at 18:56
2

A less common reason that you can see this error is if Windows is having trouble accessing the particular drive that you're attempting to check.

It will still provide the same error message suggesting that you need administrative privileges regardless of being logged in with Admin rights at an administrative command line.

Sometimes as simple as unplugging and reconnecting an external disk.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .