Have you ever seen the dreaded blue screen, along with a cryptic message concerning disk errors? Fear not, for your Windows contains a powerful tool known as CHKDSK. This command-line application can analyze and repair an extensive number of disk errors, preventing crashes and keeping your system running smoothly. If you need to repair disk errors in Windows, CHKDSK is still the built-in tool most people should start with. It checks file system errors, looks for bad sectors when asked, and can schedule a boot-time disk check if the drive is in use. For a safe first pass, start with a plain read-only check, then move to repair commands if needed. So, what are you waiting for?
๐ What is CHKDSK?
CHKDSK stands for "Check Disk." It is a command-line tool for Microsoft Windows that checks the file system health of a drive and corrects any issues that are discovered. CHKDSK can detect and repair many kinds of errors, including bad sectors, file system issues, and logical file system errors. It's widely used when a disk looks to be acting unexpectedly such as frequent crashes or weak performance. Running CHKDSK can assist identify and potentially cure these issues, allowing the disk to run properly. You'll see it on Windows 10, Windows 11, and Windows Server.
โ ๏ธ When Should You Use CHKDSK?
Use it when the symptoms point to disk corruption or file system errors, not just any Windows problem. If you're asking "Why do I need to use CHKDSK?", here are the key scenarios:
- Maintaining system health: Just like a car needs tune-ups, your hard drive can accumulate errors over time due to unexpected shutdowns or power surges. CHKDSK can identify these issues before they snowball into bigger problems.
- After an improper shutdown or power loss: This is one of the most common triggers for file system corruption.
- Troubleshooting system issues: Experiencing random crashes, slowdowns, or error messages mentioning the disk? CHKDSK can help pinpoint the culprit by scanning for and fixing errors.
- When Windows says a drive has errors: If you see a notification that a drive needs to be scanned, don't ignore it.
- External drive becomes unreadable: If an external hard drive or USB drive stops working properly, CHKDSK can often bring it back.
- Suspected data corruption: If you suspect your files are corrupted or inaccessible, CHKDSK might be able to recover them. While not a guaranteed solution, it can attempt to salvage data from bad sectors.
- Preparing for disk maintenance: Before performing a major disk operation like formatting or partitioning, using CHKDSK can ensure there are no underlying issues that could complicate the process.
You may want to know how to test Linux Disk Speed. Before any repair run, especially /f, /r, or /b, please back up your important data first.
โ๏ธ How CHKDSK Works
CHKDSK inspects the file system in stages. On NTFS, those stages commonly include file records, indexes, security descriptors, and then optional surface-related checks. That's why a quick scan can finish fast while chkdsk C: /f /r can take hours. Stage 1, 2, and 3 usually deal with logical structures. Stage 4 and 5 are where things slow down, because the tool is checking data clusters and free space for read problems. On large HDDs, this can feel endless. Sometimes it is. Sometimes it's just doing real work.
๐ป How to Run CHKDSK in Windows
There are different ways to run CHKDSK, from a basic scan to a deep clean with error correction, so you can choose the way that's right for your situation. Let's explore the ways:
๐ Run CHKDSK from File Explorer
To run the CHKDSK from the File Explorer, use the following steps:
- Open File Explorer and go to "This PC."
- Right-click the drive you want to scan (like C: or D:) and select "Properties."

- Switch to the "Tools" tab.

- Click the "Check" button under "Error checking."

- If it says "You don't need to scan this drive," you're good to go! Otherwise, click "Scan drive" to start the process.

- You can click "Show Details" after the scan to see any errors that were fixed. Otherwise, just click "Close" to exit.
๐ฅ๏ธ Run CHKDSK from Command Prompt
To run CHKDSK with Command Prompt, use the following instruction. If you're new to terminal tools, here's a primer on Windows Command Prompt basics. Whether you're on a Windows 10 VPS or Windows 11 VPS, the process is the same:
- Search for "cmd" in the Start menu.

- Right-click "Command Prompt" and select "Run as administrator." This gives CHKDSK the necessary permissions to fix errors.
- At the command prompt, type your desired CHKDSK command and press Enter. Here are some options:
- For a basic scan: Simply type
chkdskand press Enter. - To scan and fix errors: Type
chkdsk /ffollowed by the drive letter (e.g.,chkdsk /f C:) and press Enter. - For a more thorough scan that includes checking for bad sectors and attempting data recovery: type
chkdsk /rfollowed by the drive letter (e.g.,chkdsk /r C:) and press Enter. (Note: This can take significantly longer.)
The standard order is volume first, then parameters. For a data drive, use chkdsk D: /f. For an external hard drive, chkdsk E: /scan is a sensible first step. For the boot drive, Windows may say the volume is in use by another process and ask to schedule repair at restart โ that's normal.
๐ฟ Run CHKDSK from Installation Media
To run CHKDSK from an installation media (USB or DVD), all you need is following the below steps:
- Boot from installation media: Insert your Windows installation media and restart your computer. You might need to press a specific key (often F8 or F12) repeatedly before the Windows logo appears to access the boot menu and choose the installation media.
- Go to advanced options: Once booted from the media, follow the on-screen prompts. You'll typically need to select "Repair your computer" followed by "Troubleshoot" and then "Advanced options."
- Open command prompt: In the Advanced options menu, select "Command Prompt."
- Identify drive letter: Once in the Command Prompt, you might need to identify the drive letter of your Windows installation. Type
C:and press Enter. If you see familiar Windows folders, that's your drive letter. Otherwise, tryD:or other letters until you find the correct one. Remember that drive letters may differ in the recovery environment. - Run CHKDSK: Now that you know the drive letter, type
chkdsk [drive letter] /f(replace[drive letter]with your actual drive letter, e.g.,chkdsk C: /f) and press Enter. This command checks and attempts to fix errors on the specified drive.
๐ CHKDSK Commands List
CHKDSK commands in Windows 10 and later are instructions you give to the chkdsk tool to perform specific actions on your hard drive. We provide these CHKDSK commands list and their functions for you:
- chkdsk: This is the basic command that simply scans the drive for errors but doesn't attempt to fix them.
- chkdsk [drive letter]: This variation specifies the drive letter you want to scan. For example,
chkdsk C:would scan your C drive. - chkdsk /f: The /f parameter tells chkdsk to fix any errors it encounters during the scan. This is a commonly used option for basic troubleshooting.
- chkdsk /r: The /r parameter instructs chkdsk to locate bad sectors on the drive and attempt to recover readable data from them. It also includes the functionality of /f (fixing errors). This is a more thorough scan but can take significantly longer.
- chkdsk /x: The /x parameter forces the volume (drive) to dismount first before the scan and fix process. This is useful if the drive is currently in use by Windows. It's often used in combination with /f for a forced scan and fix.
- chkdsk /v: This one shows all file names and the path while it's running a check.
- chkdsk /scan: Performs an online scan without immediate offline repair. Available in Windows 10 and later.
- chkdsk /offlinescanandfix: Runs an offline scan and repair flow. Available in Windows 10 and later.
- chkdsk /b: NTFS only. Re-evaluates bad clusters after imaging or storage changes. Implies /r.
Now you have all chkdsk commands for external drive!
Note: We recommend to run chkdsk commands as administrator to ensure it has the necessary permissions to make repairs.
๐ CHKDSK Commands Parameters
Now, you can see all CHKDSK command parameters for Windows 10 and later in the following table. We provide this CHKDSK commands cheat sheet for you:
| Parameter | Function | Notes |
| None | Scans the drive for errors (no fix) | Basic scan, reports errors but doesn't attempt to fix them. |
| [drive letter] | Scans the specified drive for errors (no fix) | Specify the drive letter (e.g., C:, D:) after chkdsk with a space. |
| /f | Fixes errors found during the scan. | Commonly used for basic troubleshooting. Standard repair switch. |
| /r | Locates bad sectors, recovers data (if possible), and fixes errors | More thorough scan, includes functionality of /f but takes longer. More useful on HDDs than SSDs. |
| /x | Dismounts the volume (drive) before the scan and fix process | Useful if the drive is currently in use by Windows. Often used with /f for a forced scan and fix. |
| /v | Displays the full path and name of every file on the drive | Increases verbosity of the scan output, showing scanned files. |
| /i | Forces the chkdsk to only check the index entry of the volume | Less thorough than a full scan, only checks the file system index. Used to reduce scan time. |
| /c | Skips checking for cycles inside the volume (only applies to NTFS) | Not recommended for most users, focuses on specific NTFS file system checks. |
| /l[:size] | Adjusts the NTFS log file size | Does not bypass lost chains. NTFS-specific. |
| /b | Re-evaluates bad clusters on the volume (only applies to NTFS) | Used after imaging or replacing storage. Clears and rescans the bad cluster list. Implies /r. |
| /offlinescanandfix | Performs an offline scan and attempts to fix errors | Similar to /r but specifically designed for offline scans initiated from the recovery environment. Win 10+ |
| /scan | Performs an online scan and attempts to fix errors | Similar to /f but specifically designed for online scans. Win 10+ |
That's it! Now you have a Chkdsk commands cheat sheet.
Note 1: You can combine some parameters. For example, chkdsk C: /f /x would scan drive C, fix errors, and force the volume to dismount first.
Note 2: Not all parameters are available on all versions of Windows. The /offlinescanandfix and /scan parameters are only available in Windows 10 and later.
๐ Best CHKDSK Commands by Use Case
| Command | Best Use Case |
| chkdsk C: | Read-only check disk for a quick health look |
| chkdsk C: /f | Fix logical file system errors |
| chkdsk C: /f /r | Fix errors and check for bad sectors on HDDs |
| chkdsk C: /x /f | Force dismount, then repair a locked volume |
| chkdsk C: /scan | Online scan without immediate offline repair |
| chkdsk C: /offlinescanandfix | Run an offline scan and repair flow |
| chkdsk C: /b | NTFS only; re-evaluate bad clusters after imaging or storage changes |
๐ก When to Use /f, /r, /x, /scan, and /b
Use /f for logical file system errors
This is the standard repair switch. It fixes file system errors, but may require a reboot for the system drive.
Use /r for bad sectors and recovery attempts
/r includes /f and checks for unreadable sectors. On HDD bad sectors, it's useful. On SSD health checks, it's often less valuable unless you're specifically chasing read errors.
Use /x when the drive is locked
/x forces the volume to dismount first, if possible. That's why it helps when you see cannot lock current drive.
Use /scan for online scans
/scan performs an online scan. It doesn't behave the same as a full offline repair, and it may need follow-up actions such as /forceofflinefix or a reboot-based repair.
Use /b after imaging or replacing storage
/b does not just find bad sectors like /r. On NTFS, it re-evaluates bad clusters and implies /r.
๐ CHKDSK for SSD vs HDD and NTFS vs FAT32/exFAT
CHKDSK is generally safe for SSDs, but don't treat SSDs like old spinning disks. SSDs don't fail in quite the same way, so a long /r run may not be your first move unless the file system is damaged or reads are failing. NTFS supports extra parameters such as /b, /i, /c, and /l[:size]. FAT32 disk check and exFAT disk repair are more limited.
โฑ๏ธ How Long CHKDSK Takes
How long does CHKDSK take? Depends on drive size, free space, file count, file system damage, and whether you're running /r or /b. A small SSD online scan might finish in minutes. A large damaged HDD can run for many hours. If the percentage is changing slowly, wait. If disk activity continues, it's probably still running.
๐ How to Read CHKDSK Results and Logs
Where to view results in Event Viewer
After a reboot-time check, open Event Viewer and go to Windows Logs > Application. Look for entries with source Wininit or Chkdsk. That's where the event viewer CHKDSK log usually lives.
How to interpret common CHKDSK messages
If the log says Windows made corrections to the file system, repairs happened. If it reports bad clusters or unreadable segments, take that seriously. Repeated errors usually mean the disk itself is headed south. Microsoft's CHKDSK documentation is the authoritative reference for switch behavior.
โ ๏ธ CHKDSK Troubleshooting Tips
CHKDSK is a useful tool, but things don't always go as planned. Sometimes you face problems that need to be fixed. Here are some common troubleshooting tips for when CHKDSK encounters problems:
Problem 1: Stuck CHKDSK
- Restart and retry: A simple restart can often clear temporary glitches that might be preventing CHKDSK from completing. Once your computer restarts, try running CHKDSK again.
- Free up space: If your drive is nearing capacity, CHKDSK might struggle to complete the scan. Try freeing up some disk space by deleting unnecessary files or transferring them to another drive.
- Identify conflicting processes: Certain programs might be accessing the drive you're trying to scan, causing CHKDSK to hang. Close any unnecessary applications before running CHKDSK.
Problem 2: "CHKDSK cannot run because the volume is in use by another process"
- Schedule scan for restart: This message indicates the drive is currently in use. You can type
Yand press Enter to schedule the scan to run during the next system restart. - Boot into safe mode: Safe mode loads Windows with only essential drivers. This can help isolate conflicts with other programs. Run CHKDSK from Safe Mode to bypass conflicting processes.
Problem 3: "Cannot continue in read-only mode"
You tried a command path that needs write access. Re-run in an elevated prompt and use the right repair switch.
Problem 4: "Insufficient disk space to fix the master file table"
This one is ugly. Free space matters because NTFS repair needs working room. Free up space and try again.
Problem 5: Data Recovery Concerns
- CHKDSK isn't guaranteed data recovery: While CHKDSK can attempt to fix errors and recover data from bad sectors, it's not a foolproof solution. If you suspect significant data loss, consider specialized data recovery software.
- Backup before running CHKDSK (especially with /r): In rare cases, CHKDSK itself might cause data corruption. It's always a good practice to back up important files before running CHKDSK, especially if you're using the
/rparameter for a more thorough scan.
CHKDSK Frozen vs Still Running
Slow isn't the same as frozen. But if the machine is silent for hours and the disk is clearly failing, don't keep hammering it. If CHKDSK shows no movement for hours and the drive has SMART errors, stop guessing and focus on recovery or cloning first.
Additional Tips
- Run CHKDSK as administrator: Ensure you have administrator privileges when running CHKDSK. This is important for the tool to make necessary repairs.
- Consider alternative disk checking tools: If CHKDSK persistently fails, there might be underlying issues with your hard drive. Consider using alternative disk checking tools offered by your storage manufacturer or third-party software providers.
โฐ How to Change a Scheduled Disk Check
Don't let scheduled disk checks slow your Windows system down! While CHKDSK is a useful tool for preserving your hard disk in good condition, it can be difficult, particularly on older PCs. Here we tell you how to control and postpone those automatic scans in Windows:
- Search for "cmd" in the taskbar search bar.
- Right-click on "Command Prompt" and select "Run as administrator." This is important to ensure you have the necessary permissions to modify system settings.

- In the Command Prompt window, type the following command and press Enter:
chkntfs /t:[delay_in_seconds]
- Replace [delay_in_seconds] with the desired number of seconds you want to postpone the scan. The maximum delay is 72 hours (259,200 seconds).
For example:
chkntfs /t:3600delays the scan by 1 hour (3600 seconds).chkntfs /t:86400delays the scan by 24 hours (86400 seconds).
Note: This command only postpones the scheduled scan. It doesn't disable it permanently.

Additional Scheduling Commands
Use chkntfs /x C: to exclude a drive from boot-time checks. Use chkntfs /d to restore default behavior. Use fsutil dirty query C: to see whether the volume is marked dirty.
๐ ๏ธ What to Do When CHKDSK is Frozen
If CHKDSK gets stuck, it's okay to hit pause. But it's time to play detective and figure out why it froze before starting a new scan pronto! It could be a sign that your hard drive needs some TLC. So, let's fix it up quick with these steps:
- Wait! CHKDSK scans can take time. Give it a while, especially for large drives or if fixing errors.
- Gather up all your precious data and tuck it safely into an external drive, like giving them a cozy nest.
- Defrag your hard drive by typing "defrag" into the taskbar and then selecting Defragment and Optimize Drives.
- Type "disk cleanup" into the taskbar and let Disk Cleanup do its magic.
- Start Command Prompt as administrator and run
sfc /scannow. Once completed, reboot the system. This replaces corrupted system files. - Back to the Command Prompt and open it as admin once more and type
dism.exe /online /cleanup-image /restorehealthto mend any little cracks in your Windows.
๐ CHKDSK vs SFC vs DISM
| Tool | What It Fixes |
| CHKDSK | Disk corruption, logical disk errors, file system issues |
| SFC | Corrupted Windows system files |
| DISM | Windows image repair used when SFC can't do the job alone |
If the problem is the drive, run CHKDSK. If Windows files are broken, use SFC and, if needed, DISM. Different tools, different targets. Same command prompt, very different job.
โ Is CHKDSK Safe? Risks and Precautions
Generally, yes. But on a failing drive, any repair operation carries risk. Back up first. If the disk clicks, vanishes randomly, throws SMART warnings, or causes blue screens, you may need to recover data before running aggressive repairs. My rule is simple: if the data matters more than the disk, protect the data first.
๐ฏ Conclusion
While CHKDSK has so much benefits, occasional frozen scans can be nerve-wracking. We tried to help you to troubleshoot and resume scans in this guide. Also, we provided all CHKDSK commands for external drive. Use CHKDSK when you need to scan and repair drive problems, not when Windows itself is broken. Start with the least disruptive option, understand what each switch does, and back up before deeper repair passes. But don't forget that balance is key! While delaying scans might improve performance temporarily, ignoring them completely can lead to more serious problems. Schedule regular scans and consider alternatives if CHKDSK struggles. The most important thing, remember to always back up your data before running any disk checks or repairs.
If you're managing these tasks on a remote server, a Windows VPS gives you full control over disk diagnostics and repair tools. For broader comparisons, check our guide to the best Windows VPS providers. By following these tips, you can ensure a healthy drive and a happy computer!


Leave A Comment