Fix Repairing Disc Errors in Windows: A Complete Guide
In this article
You can fix "repairing disc errors" messages in Windows by using the built-in CHKDSK utility via the Command Prompt or by triggering an automatic repair through the Windows Recovery Environment. These errors typically occur when the file system is corrupted, a hard drive has bad sectors, or the system was shut down improperly, leaving the disk in an "unclean" state that Windows must resolve before booting normally. Depending on whether you can access your desktop or are stuck at a boot screen, the method of repair differs.
What You'll Need
- A computer running Windows (10 or 11).
- Administrative privileges on the user account.
- A Windows Installation Media (USB drive or DVD) if the PC cannot boot into the OS.
- A backup of your critical data (highly recommended before performing disk repairs).
Step-by-Step
Depending on your situation, choose the method that matches your current access level. Note that menu labels may differ slightly based on your specific version of Windows or region.
Method 1: Using Windows Error Checking (GUI)
Use this method if you can log into Windows but are seeing disk error notifications or experiencing slow performance.
- Open File Explorer by clicking the folder icon on your taskbar or pressing Windows Key + E.
- Click on This PC in the left-hand navigation pane.
- Right-click the drive that is reporting errors (usually the Local Disk C:) and select Properties.
- Navigate to the Tools tab at the top of the properties window.
- Under the Error checking section, click the Check button.
- If Windows reports that no errors were found, you can still select Scan drive to perform a manual check.
- If errors are found, follow the on-screen prompts to schedule a repair. If the drive is currently in use, Windows will ask to schedule the scan for the next time the system restarts. Select Schedule disk check and restart your computer.
Method 2: Using CHKDSK via Command Prompt (Advanced)
The Command Prompt offers more powerful repair options than the GUI, specifically for fixing bad sectors and file system metadata.
- Press the Windows Key and type cmd.
- Right-click Command Prompt in the search results and select Run as administrator. This is essential; the tool will not work without elevated permissions.
- In the black window, type the following command:
chkdsk C: /f /rand press Enter. - Breakdown of the command:
/ftells Windows to fix errors on the disk, and/rtells it to locate bad sectors and recover readable information. - You will likely see a message stating that the volume is in use and cannot be locked. It will ask if you want to schedule this volume to be checked the next time the system restarts. Type Y and press Enter.
- Restart your computer. Before the Windows login screen appears, the system will enter a command-line mode and begin repairing the disk. Do not turn off your computer during this process, as it can lead to further corruption.
Method 3: Fixing Errors from the Recovery Environment (Boot Loop)
If your computer is stuck on a screen that says "Repairing disk errors" and never finishes, or if it fails to boot, you must use the Recovery Environment.
- Turn your computer on and off three times consecutively using the physical power button to trigger Automatic Repair. Alternatively, boot from a Windows Installation USB.
- When the Automatic Repair screen appears, select Advanced options.
- Navigate to Troubleshoot > Advanced options > Command Prompt.
- Once the Command Prompt opens, you need to identify which drive letter is assigned to your Windows installation. In the recovery environment, the C: drive is sometimes shifted to D:. Type
dir C:and press Enter. If you see the Windows and Users folders, you are on the right drive. If not, trydir D:. - Type the command
chkdsk C: /f(replace C: with the correct letter found in the previous step) and press Enter. - Once the process completes, type
exit, press Enter, and select Continue to boot back into Windows.
Common Mistakes
- Interrupting the Scan: The most common mistake is forcing a shutdown while CHKDSK is running. If the process is at 27% or 100% and seems frozen, wait. Interrupting a disk repair can corrupt the Master File Table (MFT), potentially making the drive unreadable.
- Running without Admin Rights: Attempting to run
chkdskin a standard Command Prompt window will result in an "Access Denied" error. Always right-click and "Run as administrator." - Ignoring the Drive Letter in Recovery: Many users assume the system drive is always C: in the recovery console. If you run a repair on the wrong partition (like a small System Reserved partition), the actual Windows installation remains unfixed.
- Over-reliance on Software: Trying to fix a physically failing hard drive (clicking sounds, extreme slowness) with software. If the drive is physically dying, running intensive scans can actually accelerate the failure.
Tips
- Backup First: If you suspect your drive is failing, copy your most important documents to a cloud service or external drive before running
/r, as the stress of scanning bad sectors can sometimes push a weak drive over the edge. - Check Disk Health: Use a third-party tool to check S.M.A.R.T. (Self-Monitoring, Analysis, and Reporting Technology) data. If the S.M.A.R.T. status is "Caution" or "Bad," no amount of software repairing will fix the issue; you need a new drive.
- Use SSD-Specific Care: If you have an SSD, avoid running
chkdsk /rfrequently. SSDs do not have "bad sectors" in the same way HDDs do, and excessive writing/scanning can contribute to wear. Stick tochkdsk /ffor file system errors. - Update Drivers: Sometimes disk errors are caused by outdated storage controller drivers. Once you get back into Windows, check Windows Update for any optional driver updates.
Troubleshooting
If the disk repair process does not resolve the issue or fails to start, try these steps in order:
- Check Physical Connections: If you are using a desktop PC, power down the machine and ensure the SATA and power cables connected to the hard drive are seated firmly. A loose cable can mimic disk errors.
- Run SFC Scan: If the disk is physically healthy but Windows still won't boot, the system files might be corrupted. In the Command Prompt (Admin), type
sfc /scannowand press Enter. This repairs the Windows image. - Run DISM: If SFC fails, use the Deployment Image Servicing and Management tool. Type
DISM /Online /Cleanup-Image /RestoreHealthand press Enter. This downloads fresh copies of corrupted system files from Windows Update. - Boot into Safe Mode: If you can't reach the desktop, go to Troubleshoot > Advanced options > Startup Settings > Restart, then press 4 or 5 for Safe Mode. If the PC boots here, the "disk error" might actually be a driver conflict.
- Replace the Drive: If CHKDSK consistently finds thousands of bad sectors or fails with an "unrecoverable error," the hardware has failed. You will need to replace the drive and reinstall Windows or restore from a backup.
Frequently Asked Questions
How long does repairing disc errors take?
It varies wildly. A simple file system check (/f) can take a few minutes. A full surface scan for bad sectors (/r) on a large HDD can take several hours or even a full day depending on the drive size and the amount of damage.
Is it safe to cancel a disk check?
It is not recommended. While canceling a read-only scan is fine, canceling a repair process (where Windows is moving data or fixing the file table) can leave the file system in an inconsistent state, potentially leading to data loss.
Why does Windows keep repairing disc errors every time I boot?
This usually happens because the "dirty bit" on the drive is not being cleared. This can be caused by a failing drive, a virus, or a software issue that prevents Windows from shutting down cleanly. If CHKDSK completes but the loop continues, the drive may be physically failing.
What is the difference between /f and /r?
The /f switch fixes errors on the disk's file system. The /r switch does everything /f does, but it also scans the entire physical surface of the disk for bad sectors and attempts to recover any readable information from them.
Can I run this on an external hard drive?
Yes. You can run the GUI Error Checking tool or use the Command Prompt by replacing C: with the letter assigned to your external drive (e.g., chkdsk E: /f).