rahuldottech.github.io

[Return to home]

Using diskpart to reformat corrupt drives

(Originally published on May 18, 2017 at rahul2001.com)

Okay, so. Over the years I've come across several corrupt drives. And in my experience, if it is at all possible to make them usable again, this method will do it for you:

  1. Open cmd as an administrator.
  2. Run diskpart.
  3. Type in list disk.
  4. Then enter select disk <yourdisk>.
  5. Type in clean.
  6. Then enter select disk <yourdisk> again.
  7. Finally run the command create partition primary.
  8. Open Windows Explorer, right click on your drive, and format it.

That's it, you should be able to use your drive normally again!