Disk errors can cause slow performance, file corruption, or even boot failures on Windows 11. This guide walks you through the built-in tools that scan and fix file system and bad sector issues, so you can restore your drive’s health without third-party software.
What You’ll Need
- A Windows 11 PC with administrator access
- Sufficient free time (scan duration depends on drive size and speed)
- Backup of important files (recommended before any disk repair)
Step-by-Step
- Open an elevated Command Prompt. Click the Start button, type cmd, right-click Command Prompt and select Run as administrator. Confirm the User Account Control prompt.
- Run a basic scan. Type
chkdsk C:and press Enter. This checks the drive for errors and reports them without making changes. ReplaceC:with your drive letter if needed. - Fix errors automatically. To repair issues found, run
chkdsk C: /f. If the drive is in use (usually the system drive), you’ll be asked to schedule the scan for the next restart. TypeYand press Enter, then restart your PC. - Scan for bad sectors. For a deeper check that also attempts recovery of readable information, run
chkdsk C: /r. This includes/fand takes longer. Again, schedule it if prompted and restart. - Use Storage Sense (optional). Go to Settings > System > Storage > Storage Sense. Turn it on to automatically clean temporary files, which can reduce disk strain but does not repair errors.
- Check drive health via PowerShell. Open PowerShell as administrator and run
Get-PhysicalDisk | Get-StorageReliabilityCounterto view temperature, wear, and error counts. A high error count may indicate a failing drive.
Common Mistakes
- Skipping the restart. If you don’t restart after scheduling chkdsk, the scan never runs.
- Using the wrong drive letter. Verify your drive letter in File Explorer; using an incorrect one will error out.
- Running chkdsk on an SSD too often. While safe, frequent full scans on an SSD can wear it unnecessarily. Use them only when errors are suspected.
- Ignoring backup. Even though chkdsk is safe, a power loss during repair can cause data loss. Always back up first.
Tips
- Run
chkdsk /fregularly (e.g., monthly) on HDDs to catch issues early. - If you suspect a failing drive, use SeaTools or WD Diagnostics (manufacturer tools) for a more detailed health check.
- Keep your system restore point updated before major repairs.
- For external drives, ensure they are connected via a stable USB port and not in use during the scan.
Troubleshooting
Chkdsk says “The type of the file system is NTFS. Cannot lock current drive.” This is normal for the system drive. Answer Y to schedule it on restart.
Scan gets stuck at a certain percentage. Wait at least an hour; chkdsk can appear frozen on large drives. If it remains stuck overnight, force restart and try chkdsk /f in Safe Mode.
Errors persist after running chkdsk. Run DISM /Online /Cleanup-Image /RestoreHealth and sfc /scannow to repair system file corruption that chkdsk may miss.
PC won’t boot to run chkdsk. Boot from a Windows 11 installation USB, choose Repair your computer, then Troubleshoot > Advanced options > Command Prompt. Run chkdsk from there.
Frequently Asked Questions
Will chkdsk delete my files?
No, chkdsk does not delete files. It repairs file system metadata and attempts to recover data from bad sectors, moving readable information to safe areas.
How long does chkdsk take?
It varies. A basic /f scan can take minutes to an hour; /r can take several hours on large or failing drives. Let it run uninterrupted.
Can I use my computer while chkdsk runs?
No, especially if it’s scheduled at boot. The drive must be exclusively locked, so you cannot use the PC until it finishes.
Is chkdsk safe on an SSD?
Yes, but avoid frequent full scans. SSDs handle bad sectors differently, and chkdsk may not be as effective as manufacturer tools. Use it only when you suspect issues.
What’s the difference between /f and /r?
/f fixes logical file system errors. /r does everything /f does plus scans for physical bad sectors and attempts recovery. /r is more thorough but slower.
I get “Access denied” when running chkdsk. What now?
You must run Command Prompt as administrator. Right-click and select Run as administrator, then try again.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- How to Recover Photos from a Water Damaged iPhone 6s
- Computer on a Stick: Plain English Definition9.26 yd³
- How to Backup Android Contacts to PC
- How to Log Out of Discord on Desktop & Mobile
- How to Install an M.2 SSD: Step-by-Step Guide
- Fix HP Accelerometer Not Working on Windows