Learning: Format External Drive or run Check Disk using CMD

In this learning path I will go into all the options the Command Prompt has to offer. I know it looks like DOS has returned to life but it has a lot of great options and can be incredibly powerful when used correctly. In this part I will learn you how to check your drive for error’s (and fix them) and we will also loot at the format options the Command Prompt has to offer.

Learning: Format External Drive or run Check Disk using the Command Prompt

There are times when for whatever reason your computer isn’t able to connect to your external drive. There are two ways to fix this, you can let windows check for errors that might have occur on the drive or you could simple format the drive in order to restore it. As formatting a drive should only be the last resort option, we will start by checking the drive for errors. This wouldn’t only work on an external drive, but can also be used to fix error’s you might have one your main disk.


<h2>Run Check Disk using the Command Prompt</h2>
Open to command prompt in windows as administrator and type the following:
[caption id="attachment_2342" align="aligncenter" width="278"]<a href="http://windowsinstructed.com/wp-content/uploads/2014/09/Schermafbeelding-2014-09-17-om-14.18.05.png"><img class="wp-image-2342 size-medium" src="http://windowsinstructed.com/wp-content/uploads/2014/09/Schermafbeelding-2014-09-17-om-14.18.05-278x300.png" alt="Using Check Disk in the Command Prompt" width="278" height="300" /></a> Using Check Disk in the Command Prompt[/caption]

CHKDSK is the main command for the check disk. We added /F to automatically fix file system errors, /R to scan for and attempt to recovery of bad sectors and /X to fix the file system errors on the disk. <strong>Please make sure</strong> you don't add /X to the command if you want to check your running disk for errors as it will dismount to volume first. You will have to run Windows in recovery CMD mode if you want to do that.

The E: is the letter of the external drive I would like CMD to scan for errors and repair the errors if found. Please make sure you replace it with the correct letter for the drive you want windows to scan.

The Check Disk operation will start on the drive, and it will also repair any errors which may be found.
<h2>Format a drive using the Command Prompt</h2>
For formating a drive you can also use the graphical interface Windows gives you, so why would you use CMD for it? Simple, using CMD will be faster and gives better results. And if that isn't enough, it looks cool and makes people around you think you are really smart.
<h3>Syntax Format</h3>
FORMAT drive: [/FS:file-system] [/V:label] [/Q] [size] 


Using the formatting command

[alert-warning]Please make sure you are entering the correct driveletter, as using a wrong one can make your installation unstable and could result in the lost of important files. Adding extra options to the command are only advised to be used by people who know what they are doing. If you are not 100% sure, just use the default settings, if will be enough to format the drive and make it feel like it’s brand new. [/alert-warning]
Using the formatting command Learning: Format External Drive or run Check Disk using CMD Check Disk

Using the formatting command

To format a drive using CMD you just enter

What's your reaction?
Solved it!
Helped me
Didn't work
Inaccurate Information
About The Author
Pepijn van Gastel
Pepijn has always been passionate about technology, but found his vocation in medicine. As of today he has focused it's experience on his new startup company PuurHost.nl and is therefore not an active participator of WindowsInstructed anymore.
Leave a response
  • Yuri Pustjens
    September 18, 2014 at 2:18 pm

    Nice one Pepijn, Always handy to know these sorts of things. However it´s really only someone would use in a recovery environment, since in the Windows UI there is a simple Format button.

    Nevertheless a useful article.

Leave a Response