How to Run Check Disk (ChkDsk) on Windows: GUI, CMD

3. Run Check Disk From Command Prompt and PowerShell

For the more advanced user, running Check Disk from the command line is a useful method that gives access to all the options and arguments the tool offers. The ChkDsk command can be used in batch scripts or directly from PowerShell/Command Prompt.

1. For Windows 10, right click on Start and select Command Prompt (Admin) or PowerShell (Admin). Windows 7 users press Start and type cmd into the search box, then press Ctrl+Shift+Enter to open Command Prompt with the required administrator privileges.

2. The basic Check Disk syntax is quite simple:

Chkdsk [drive:] [/f to fix or /r to fix and recover bad sectors] [/x force dismount of drive]

To run a simple scan for errors just supply the drive letter:

Chkdsk C:

Checkdisk scan only

To scan and fix errors use /f or /r to scan for bad sectors and fix the errors. This second option will take a long time and could take several hours on a multiple Terabyte drive. All drive sectors will be scanned and those that are damaged will be repaired and any affected data will be hopefully recovered.

Chkdsk C: /f or Chkdsk C: /r

Note you can use either /f or /r but don’t need to use both. The /x option can be used to dismount a drive before repairing. Even without the /x argument, you will still be offered the chance to dismount the drive if it’s detected to be in use.

Check disk fix

That won’t work on the system C drive and it will still need to be checked and repaired during the next boot.

4. Check a Drive From Windows Explorer

The obvious and easiest way to run a check on a drive is to do it through the standard user interface with Windows Explorer. It’s also the easiest thing to do for helping a less experienced user over the telephone or online chat as everything is point and click.

1. From the Desktop, Start Menu or the Explorer Taskbar icon, open Computer/This PC, right click on the drive to be scanned and click Properties. Go to the Tools tab and press the Check button in the “Error checking” section.

Windows 10 check drive

2. The type of popup window that gets displayed depends on your operating system.

a) For Windows 10, disk checking has been improved and disks are periodically scanned during scheduled maintenance, so most of the time they will not need manually scanning.

Do not need to scan this drive

You can still run a scan even if it says you don’t need to, just press the Scan drive button. If errors are found it will then inform you there are errors that need to be fixed, a reboot will be required if the fixes to be performed are on the system C drive.

Repair this drive

b) For Windows 7, a small box will appear and the option to “Automatically fix file system errors” will be pre ticked. The longer “Scan for and attempt recovery of bad sectors” is optional.

windows 7 check disk window

To let Check Disk scan and fix any errors it finds simply press Start. If you are scanning and fixing the C drive, Windows will need to do this on the next boot as it can’t fix errors while the drive is in use. Press the Schedule disk check button if the popup appears.

5. Run Check Disk from the Windows DVD

If your computer is having trouble booting and you want to run a Check Disk, things become slightly trickier as Windows obviously needs to be running to be able to use it. One solution in this event is booting to the Windows install DVD and running Chkdsk from Command Prompt.

1. Firstly, an install media is required for the operating system. If you don’t already have one, download a Windows 7, 8.1 or 10 ISO image direct from Microsoft and then burn it to DVD or write to USB flash drive.

2. Restart the computer with the optical disk or USB drive inserted and boot to it. Press any key when prompted to boot to the Windows media.

3. At the language and keyboard selection screen press Shift+F10 to open a Command Prompt. What is usually the system C drive may not be here because if there is a system reserved partition it will occupy C instead. To find out, type Dir C: and if it says “C is System Reserved” try Dir D: and so on until you find the drive with Program Files, Users, and Windows folders.

Find system drive letter

4. Now you know the assigned letter for the system drive you can run Check Disk the same way as from the Command Prompt within Windows, such as “chkdsk D: /f” or “chkdsk E: /r”.

Tip: If you don’t have a Windows install ISO image and don’t want to download 2GB+ of data to get one, create a system repair disk from within Windows which is only a few hundred Megabytes and still allows an offline Check Disk. Go to Control Panel > Backup and restore > Create a system repair disk and create a disk with the utility. The Shift+F10 option does not work from the repair disk and you will need to go through the keyboard select screen to reach the open Command Prompt option.

11 Comments - Write a Comment

  1. Scott 3 years ago
    • HAL9000 3 years ago
  2. Peter A 4 years ago
    • HAL9000 4 years ago
  3. arjun 5 years ago
  4. fogeshan 5 years ago
  5. Franck 5 years ago
  6. ROEL FELIPE D. TORRES 8 years ago
  7. JMJsquared 12 years ago
  8. Tangomouse 12 years ago
  9. Subbrilliant 12 years ago

Leave a Reply

Your email address will not be published. Required fields are marked *

Note: Your comment is subject to approval. Read our Terms of Use. If you are seeking additional information on this article, please contact us directly.