If your computer is slow, it crashes or freezes when you try to access files or programs then you probably have errors on your hard drive. Fixing and diagnosing errors on your hard drive can protect you from the nasty situation of completely loosing your critical files, but it can also fix several Windows problems on your system.

Windows Check Disk tool (ChkDsk) can diagnose and correct file system errors that can occur after a power failure or after an interrupted installation of a Windows update or program. Keep in mind that you can use the check disk tool to determine problems on all hard drives or removable devices (e.g. USB memory stick) attached on your computer.

In a previous tutorial I had mentioned the methods to test and diagnose your hard drive (HDD) for hardware problems. In this article I 'll show you the way diagnose and repair file system errors by using the Windows "CHKDSK" command, plus the way to find out your disk's health status by reading the Check Disk's scanning results (log) after execution.

Part 1. How to diagnose, fix and repair file system errors (Windows 8, 7, Vista and XP).

Please Note: You can run Check Disk tool either from Windows GUI or from a command prompt. But, If you own a Windows 8 (or 8.1) computer, it is better to run the check disk tool from the Command prompt because in Windows 8 GUI there is not an available option to scan and repair bad sectors. (For that case I prefer to always run 'Chkdsk" in any OS using the command prompt method).

Method 2: How to run Check Disk from the Command Prompt.

Before continuing: Restart once your computer (to close all open programs) and disable any antivirus or/and backup programs that are currently running on your system.

1. Open an elevated command prompt. To do that:

In Windows 7 & Vista go to:

Start > All Programs > Accessories

Right-click at “Command prompt” item and choose “Run as administrator”.

In Windows 10, 8 & 8.1:

Right-click at the screen's bottom-left corner and from the pop-up menu, choose “Command Prompt (Admin)”.

2. In the command prompt window, type the following command* and press enter:

chkdsk %driveletter% /f /r

*Note: As %driveletter% type the drive letter of the disk (e.g. C:, E:, F:, etc.) that you want to check for errors as it appears in Windows Explorer.

For example:

If you want to check and repair the root drive C: (where Windows are Installed On) then you have to type this command (there is no need to specify the drive letter for the root drive): chkdsk /f /r

If you want to check and repair another drive (e.g. the drive "E:" ) then you have to type this command: chkdsk e: /f /r

3a. If you want to check the root drive ("C:"), you should receive a message-question that says "Chkdsk cannot run because the volume is in use by another process. Would you like to schedule this volume to be checked the next time the system restart? (Y/N)" (see screenshot below).

Answer Yes to that question by pressing the Y key on your keyboard and press Enter.

Restart your computer

3b. If you want to check another drive than the root volume (drive) you should receive a message-question that says "Chkdsk cannot run because the volume is in use by another process. Chkdsk may run if this volume is dismounted first. ALL OPENED HANDLES TO THIS VOLUME WOULD THEN BE INVALID. Would you like to force a dismount on this volume? (Y/N)" (see screenshot below)

Answer No to that question by pressing the N key on your keyboard and press Enter.

Then you should receive another message – question says that: "Chkdsk cannot run because the volume is in use by another process. Would you like to schedule this volume to be checked the next time the system restart? (Y/N)"

Answer Yes to that question by pressing the Y key on your keyboard and press Enter.

Restart your computer

.

4. After the restart, the check disk operation should start. Wait until Windows check your disk for errors.

4. At the right pane, scroll down and double click to open the Wininit source. *

* Or go to main menu and select: Action > Find and in the Find What box, type: wininit

5. Here you can view a detailed log after a file system check that includes all actions and file system repairs that were made.

6. To find out your disk's health status, scroll down (using the scroll bar at the right) and read the KB value in bad sectors line:

The value should be 0 (zero) in a healthy file system.

If you see a positive value (e.g. "100KB in bad sectors") then the file system has problems, probably because your disk is defective (faulty) due to hardware problems and you have to replace it. (see suggestions below)

If this article was useful for you, please consider supporting us by making a donation. Even $1 can a make a huge difference for us in our effort to continue to help others while keeping this site free:

If you want to stay constantly protected from malware threats, existing and future ones, we recommend that you install Malwarebytes Anti-Malware PRO by clicking below (we
do earn a commision from sales generated from this link, but at no additional cost to you. We have experience with this software and we recommend it because it is helpful and useful):