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?

  • 1
    Launch an elevated command prompt and then run chkdsk. – joeqwerty May 24 '14 at 18:00
  • Next time first google :) – Mixxiphoid May 24 '14 at 19:12
  • 1
    @shub It indeed belonged at the question and not in the answer :). – Mixxiphoid May 24 '14 at 19:24
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.

  • 2
    If you remove the "next time google" comment I will upvote your answer. – Ramhound May 24 '14 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 '14 at 18:20
  • 1
    I don't disagree with your comment its just not friendly. – Ramhound May 24 '14 at 18:26
  • 1
    @Ramhound I understand your point, I see Shub changed it already. It was never harsh intended. – Mixxiphoid May 24 '14 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 '14 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.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.