Run chkdsk to check a disk for errors
Check Disk (chkdsk) looks for file system errors and bad sectors on a drive and, when you ask it to, fixes them. Without parameters it only reports; with /f it repairs.
- Time
- Under a minute for a scan of a small SSD; hours for /r on a large hard disk
- Level
- Easy
- You need
- An administrator account.
Before you start
- Save your work and close open programs: fixing the Windows drive needs a restart.
- If the disk makes clicking noises or files keep disappearing, back up your important files first: Back up your files (Windows Backup, File History, Time Machine).
Windows 11 and 10
Steps written for Windows 11 and Windows 10 (the steps are the same).
Open Command Prompt as administrator
Type cmd in the search box on the taskbar, right-click Command Prompt and select Run as administrator. Select Yes when Windows asks for permission.
Scan the drive without changing anything
Type the command below and press Enter. Replace C: with another drive letter to check that drive. This scan only reports; it does not fix anything.
chkdsk C:
A clean result: no problems found and 0 KB in bad sectors. Screenshot: Windows 11 26H2 If errors were found, run the repair
Run chkdsk with
/fto fix file system errors. On the Windows drive (C:) chkdsk cannot lock the drive while Windows is running, so it offers to check it at the next restart.chkdsk C: /f
On the system drive chkdsk /f asks to run at the next restart. Screenshot: Windows 11 26H2 Schedule the check and restart
Type Y and press Enter, then restart the PC. chkdsk runs before Windows starts. Do not turn the PC off while it runs.
Read the result after the restart
The report of a check made at startup is not shown on the desktop. Open PowerShell and run the command below to see it, or open Event Viewer (
eventvwr.msc) > Windows Logs > Application and filter by the sources Chkdsk and Wininit.Get-WinEvent -FilterHashtable @{LogName='Application'} | Where-Object { $_.ProviderName -match 'wininit' } | Select-Object -First 1 | Format-List TimeCreated, Message
From File Explorer
Steps written for Windows 11 and Windows 10, without commands.
The same check without typing commands. Windows decides whether a repair is needed and offers it.
Open the drive's properties
Open File Explorer, select This PC, right-click the drive (for example Windows (C:)) and select Properties.
Start the check
Open the Tools tab and, under Error checking, select Check. Select Yes if Windows asks for permission.

Tools tab: Error checking > Check. Screenshot: Windows 11 26H2 Scan the drive
If Windows says it found no errors on the drive, you can still choose to scan it from the same window. Wait for the scan to finish.
Repair if offered
If errors are found, follow the offer to repair the drive. For the Windows drive the repair runs at the next restart.
/f, /r or /scan: which one
| Command | What it does |
|---|---|
chkdsk C: | Reports only. Nothing is changed. On a drive in use it can report errors that are not real. |
chkdsk C: /scan | NTFS only. Scans while Windows keeps running; problems it cannot fix online are queued for repair. |
chkdsk C: /f | Fixes file system errors. Needs to lock the drive, so the Windows drive is done at restart. |
chkdsk C: /r | Everything /f does, plus a read of every sector to find bad ones and recover readable data. Much slower, especially on large hard disks. |
Microsoft notes that running /r often on an SSD adds unnecessary wear; an occasional check is not a concern.
What the result means
- Found no problems: the file system is fine. The cause of your problem is elsewhere: continue with your guide, for example Run DISM and SFC to repair Windows system files.
- Errors found and fixed: restart and check whether the problem is gone.
- Bad sectors (more than 0 KB in bad sectors): the disk itself is wearing out. Copy your files off it and plan to replace it.
- Could not check or fix: run
chkdsk C: /fand let it run at restart, or run it from the recovery environment's Command Prompt.
If Windows will not start
Open the recovery environment (see the Windows will not start tab of Run DISM and SFC to repair Windows system files), select Troubleshoot > Advanced options > Command Prompt, find the letter of the Windows drive with dir C:\Windows, dir D:\Windows and so on, then run chkdsk D: /f with that letter.
Interrupting chkdsk is not recommended, but Microsoft says it should not leave the drive in a worse state than before; running it again continues the repair.
Used in 200 guides
How to fix "0x8096002A: No error description available" in Windows?
How to fix Windows stuck at shutting down screen?
How to fix Steam library folder not writable error in Windows?
How to fix Event ID 161 Volmgr error in Windows 11 and 10
How to fix Windows update stuck on "Working on updates"?
How to fix ZIP or RAR files extracting slowly in Windows 11?
How to enable Client License Service (ClipSVC) if it's not starting?
How to fix DDraw.dll missing or not found error in Windows?
How to fix Steam error "MISSING DOWNLOADED FILES" in Windows?
How to fix Microsoft GameInput is crashing the PC?
How to fix Application error 0xc0150004 in Windows?
How to fix "The system cannot find the path specified" in uTorrent?
How to fix Steam fatal error "Failed to load Steamui.dll"?
How to fix the FAST_ERESOURCE_PRECONDITION_VIOLATION blue screen (0x1C6) in Windows
How to fix LiveKernelEvent 141 crash error?
How to fix 0x80070102 error when playing games on Windows?
How to fix Exception on Invalid Stack Black Screen error in Windows?
How to fix "Download failed" error on Brave browser?
How to fix error code 0xe06d7363 on Windows?
How to fix Windows update error 0x8007370D?
[Fix] 22H2 Windows 11 update fails with error 0x8007001F-0x3000D
How to fix Xbox app error 0x87e50028 when launching games in Windows?
How to fix "Failed to find Steam" error in Windows?
How to fix Windows update error 0x800f0987?
How to fix Blue Screen error 0xc00002e3 in Windows 10?
How to fix Entry Point Not Found error in Windows?
How to fix File System Error (-2147219195) in Windows?
How to fix Windows update error 0x800706ba?
How to fix Windows update error 0x8007065e?
How to fix File System error (-1073741818) in Windows?
How to fix "Source file could not be read" error on Firefox?
How to fix Windows update error 0x800f0816?
How to fix the 0x000000BE blue screen error (ATTEMPTED_WRITE_TO_READONLY_MEMORY) in Windows
How to fix Windows update error 0x80071160?
How to fix error 0x80240013 in Microsoft Store (Windows Store)
How to fix "DllRegisterServer failed with error code 0x80070715" error in Windows?
How to fix ".exe has stopped working" error on Windows 10 and Windows 11?
How to fix Windows update error 0x800f0823?
How to fix Windows update error 0x80188309?
How to fix Windows upgrade error 0x80070004 - 0x2000D?
How to fix the rtwlane.sys blue screen error in Windows 11 and 10
How to fix Windows update error 0xc190011f?
How to fix BSOD 139 (KERNEL_SECURITY_CHECK_FAILURE) in Windows
How to fix Media Creation Tool error 0x8007043C - 0x90018 in Windows?
How to fix 0x81000001 error when creating backup in Windows?
How to fix Xbox app error 0x87e0000f in Windows?
How to fix Windows update error 0x800705b9?
Fix: the application has failed to start because its side-by-side configuration is incorrect
How to fix amd_ags_x64.dll missing or not found error in Windows?
[Solved] Cannot shrink a volume beyond the point where any unmovable files are located
How to fix the Reference By Pointer BSOD (0x18) in Windows 10 and 11
Error 1053: The service did not respond to the start or control request in a timely fashion
How to fix "The feature you are trying to use is on a network resource that is unavailable"
How to fix Xbox app error code 0x87e00004 in Windows?
How to fix "File record segment is unreadable"?
How to fix "Unable to read from disk - Error Code 1117" error on Windows?
How to fix 0x80070425 error in Windows?
[Fix] Protection definition update failed error code: 2147023293
How to fix ucrtbase.dll application error on Windows?
0x80070299: The requested operation could not be completed due to a file system limitation
How to fix KernelBase.dll causes application crashes in Windows?
How to fix cdp.dll error in Windows?
How to fix "Epic Games Launcher setup wizard ended prematurely" error in Windows?
How to fix Windows Event Log high CPU usage in Windows?
How to fix error 0x80240004 in Microsoft Store and Windows Update
How to fix Windows update error 0x8024a22d?
How to fix Windows update error 0x80020010?
How to fix 0x8900002A error in Windows 10?
How to fix secur32.dll error in Windows?
How to fix "Unknown Hard Error" on Windows 10?
How to fix "DLL is either not designed to run on Windows or it contains an error"?
How to fix error 0x80070052: The directory or file cannot be created?
Windows cannot load the extensible counter DLL "C:\Windows\system32\sysmain.dll": how to fix it
How to fix Microsoft Store error 0x80073D23 in Windows?
How to fix Windows 11 installation error 0xC1900101 - 0x40017?
How to fix Windows backup failed error 0x80780166?
How to fix DSOUND.dll is missing or not found error in Windows?
How to fix Media Creation Tool error 0x80070005 - 0xA001B in Windows?
How to fix Xbox app error 0x80073CF9 in Windows?
How to fix "Error 1628: Failed to complete installation" error in Windows?
How to fix error 0x80070037 when copying files in Windows?
How to fix Windows update error 0x80240022?
How to fix backgroundTaskHost.exe System Error in Windows?
How to fix the ci.dll blue screen (BSOD) error in Windows
How to fix File System Error (-1073741515) in Windows 10?
How to fix Windows stuck in Recovery Mode?
How to fix error 0x80240008 in Microsoft Store and Windows Update
How to fix Windows installation error 0x80070002 - 0x20009?
How to fix the ACPI.sys error and blue screen in Windows
How to fix Windows Defender Security Intelligence version 0.0.0.0?
How to fix Windows 10 stuck at "Choose your keyboard layout" screen?
How to fix Windows update error 0xC80003FA?
How to fix Windows update error 0x8024a203?
How to fix "The Steam Client Service service failed to start" error in Windows?
How to fix Windows update error 0x800f0989?
How to fix Windows installation error 0x80300002?
How to fix nvspcap64.dll error in Windows?
How to fix Resampledmo.dll is not found or missing in Windows?
How to fix Windows update error 0xc8000444?
How to fix blue screen error code 133 (DPC_WATCHDOG_VIOLATION) in Windows
How to fix Windows Error Reporting Event ID 1001?
How to fix Microsoft Office error 30033-44 in Windows?
How to fix Microsoft Store error 0x8007000A?
How to fix Windows update error 0x80070050?
How to fix error 0x80004001 (Not implemented) in Windows?
How to fix Windows update error 0x800B0003?
How to fix the SYSTEM_LICENSE_VIOLATION (0x9A) blue screen in Windows 10 and 11
How to fix Windows update error 0x800f0806?
How to fix the bhtsddr.sys blue screen (BSOD) in Windows
How to fix "ExplorerFrame.dll was loaded but the entry-point DllRegisterServer was not found"?
How to fix File System Error (-1073741521) in Windows?
How to fix the fvevol.sys blue screen (BSOD) error in Windows
How to fix Windows update error 0x800f0801?
How to fix System Restore error code 0x81000202 in Windows?
How to fix error code 0xc0000242 when Windows will not start
How to fix Microsoft Office error code 147-0 in Windows
How to fix File System error (-1073741792) in Windows?
How to fix SAFE_OS phase error during REPLICATE_OC operation in Windows 10?
How to fix 0x87e00005 Xbox app error in Windows?
How to fix Windows upgrade error 0x8007007f?
How to fix Windows update error 0x80004002?
How to fix Windows 11 24H2 update fails to install?
How to fix File System error (-2144927439) in Windows?
How to fix KB5058499 fails to install in Windows 11?
How to fix Windows update error 0x800f0983?
How to fix KB5060999 fails to install in Windows 11?
How to fix error code 0x800704b3 in Windows?
How to fix the session 1 initialization failed BSOD (SESSION1_INITIALIZATION_FAILED, 0x6D)
How to fix mso20win32client.dll Bad Image error in Windows?
How to fix Windows update error 0x800F0841?
How to fix File System Error (-2018374635) in Windows?
How to fix Event ID 86: CertificateServicesClient-CertEnroll in Windows?
How to fix Windows boot error code 0xc0000229 (BlInitializeLibrary failed)
How to fix Microsoft Office error code 30174-8 (1392)?
How to fix "Photos can't open this file because the format is currently unsupported"?
How to fix Windows Update error 0x8007041D?
How to fix "The digital signature for this file couldn't be verified" (0xc0000428) in Windows
How to fix Windows 11 upgrade error 0x80070002 - 0x20007?
How to fix "The application was unable to start correctly" 0xc000102 error in Windows?
How to fix OneDriveSetup.exe - Entry Point not Found error in Windows?
How to fix KB5060842 fails to install in Windows 11?
How to fix 0x8024200B error on Windows?
How to Fix Error 0x80070522: A required privilege is not held by the client?
How to fix Microsoft Store error 0x80248014
How to fix error 0x8024001D in Windows Update, the Standalone Installer and Microsoft Store
How to fix KB5060533 fails to install in Windows 10?
How to fix 0xC0000719 error in Windows?
How to fix Windows update error 0x800f8011?
How to fix Windows update error 0xc1900131?
How to fix Media Creation Tool error 0x80070006 - 0x90018 in Windows?
How to fix "An error occurred while applying security information" in Windows?
How to fix "Error 1067: The process terminated unexpectedly" in Windows?
How to fix DCFWinService high disk usage on Windows?
How to fix error 0x80240037 in Microsoft Store and Windows Update
How to fix Windows update error 0x800700a1?
How to fix File System error (-2144926975) in Windows?
How to fix Windows installation error 0xC1900101 - 0x40021?
How to fix api-ms-win-core-windowserrorreporting-l1-1-1.dll is missing on Windows?
How to fix "dxcore.dll is either not designed to run on Windows or it contains an error"?
How to fix Microsoft Office error code 30015-44 in Windows?
How to fix Volmgr 162 error in Windows?
How to fix the envirtahci.sys blue screen (BSOD) in Windows
How to fix File System error (-1073740791) in Windows?
How to fix Windows update error code (-2147024864)?
How to fix "Extracting files to the temporary location" error 1152 in Windows?
How to fix "The application was unable to start correctly (0xc0150002)" error in Windows?
Can't pin folders to Quick Access in Windows: "A disk error occurred during a read operation"
How to fix File System Error (-2147416359) in Windows?
How to fix Event ID 46 (Crash dump initialization failed) in Windows?
How to fix Microsoft Windows Search Filter Host (SearchFilterHost.exe) high CPU in Windows?
How to fix Easy Anti-Cheat error 30005 (Create File Failed with 32) when launching games?
How to fix Microsoft Store error 0x80070483?
How to fix Windows update error 0x800f0835?
How to fix the I01 initialization failed BSOD (IO1_INITIALIZATION_FAILED, 0x69) in Windows
How to fix Microsoft Office error code 0x2-0x0 in Windows
How to fix Cryptographic Services high CPU or disk usage in Windows?
How to fix "The driver may be corrupted or missing. (Code 39)" in Windows
How to fix Steam error "No download source" in Windows?
How to fix Windows update error 0xc1900403?
How to fix "You require permission from SYSTEM to make changes" in Windows?
How to fix "You do not have sufficient rights to perform this operation" error in Windows?
How to fix Windows update error 0x800f0905?
How to fix Windows update error 0x800f0991?
How to fix logonUI.exe error in Windows?
How to fix 0x800700aa error in Windows?
How to fix "We couldn't install Windows in the location you chose" 0x80300024 error?
How to fix error 0x800710FE "This file is currently not available for use on this computer"?
How to fix KB5063878 fails to install in Windows 11?
How to fix Runtime error 76 "Path not found" in Windows?
How to fix "Microsoft Office encountered an error during setup" in Windows?
How to fix Windows update error 0x8024000b?
How to fix Windows Update error 0x800f0985 in Windows?
How to fix Windows upgrade error 0xC1900101 - 0x30018?
How to fix Windows update error 0x800F0840?
How to fix "The data area passed to a system call is too small" error in Windows?
How to fix Windows update error 0x80071a2d?
How to fix Windows update error 0x8007006E?
How to fix Turn Windows features on or off is not working?
How to fix Windows update error 0x80240035?
How to fix Event ID 10010 DistributedCOM error in Windows?
Sources
- Microsoft Learn: chkdsk command reference (read Oct 3, 2026)