This article was co-authored by wikiHow staff writer, Hannah Dillon. Hannah Dillon is a Technology Writer and Editor at wikiHow. She graduated with a B.A. in Journalism from North Dakota State University in 2013 and has since worked in the video game industry as well as a few newspapers. From a young age Hannah has cultivated a love for writing and technology, and hopes to use these passions in tandem to help others in the articles she writes for wikiHow.
This article has been fact-checked, ensuring the accuracy of any cited facts and confirming the authority of its sources.
This article has been viewed 70,424 times.
Learn more...
There are multiple ways to scan your files in Windows 10 and 11. The best way is to use the CHKDSK command in Command Prompt, but you can also scan a disk from Windows Explorer. You can also use the commands DISM and SFC to scan your files for corruption, but these commands won't specifically scan just one disk; they will scan your entire system. To learn how to use these commands and processes, keep reading.
Ways to Scan a Disk in Windows
- Open Command Prompt and use the CHKDSK command (chkdsk [drive] [parameters]) to scan a disk.
- Open the disk in Windows Explorer, right-click it to open Properties, then go to Tools > Check (under the "Error checker" header) to scan the disk.
- Open an elevated Command Prompt and run DISM and SFC to scan your system files for corruption.
Steps
Running CHKDSK
-
Open Command Prompt. The easiest way to do this is to type "command prompt" in the taskbar search bar, then click on Command Prompt in the Start menu.
- CHKDSK is the successor to the old scandisk command.
-
Type chkdsk [drive] [parameters]. Replace [drive] with the drive letter, such as C:. Replace [parameters] with the parameters you want to run. Most commonly, you'd use /f to fix errors on the disc and/or /scan to run an online scan of the disk (NTFS only).[1]
- For example, if you wanted to scan and fix errors on the C drive, you'd enter the command chkdsk C: /f /scan.
Advertisement -
Allow CHKDSK to finish. Microsoft doesn't recommend interrupting CHKDSK while it's running, so let it finish before exiting the Command Prompt window.
- If CHKDSK needs your confirmation to complete a task, follow the on-screen instructions in Command Prompt to allow it.
Error Checking in Windows Explorer
-
Click This PC. It's in the panel on the left side of the window and shows the drives on "This PC" on the right side.
-
Right-click the drive that you want to run ScanDisk on. A menu will pop up next to your cursor.
- You can't run ScanDisk on a folder, so you have to choose a drive that's listed under "Devices and drives."
-
Click Properties. Another window will open.
-
Click the Tools tab. It's near the top of the window.
-
Click Check. You'll see this in the "Error Checking" section next to an icon of a drive.
- Follow any on-screen instructions to continue, like allowing your computer to restart.
Running DISM & SFC
-
Open Command Prompt as an administrator. To do this, type "command prompt" into the taskbar search bar, then right-click "Command Prompt" in the Start menu and choose Run as administrator.
- DISM (which stands for Deployment Image Servicing and Management Tool) and SFC (System File Checker) are additional Command Prompt commands that can be used to scan the files on your computer for problems.
- When opening Command Prompt as an admin, you may be required to give confirmation or type your password. Do so if prompted.
-
Run DISM. To do so, type DISM.exe /Online /Cleanup-image /Restorehealth into Command Prompt and press ↵ Enter.
- It will take a few moments for DISM to run. Allow it to finish running before moving on to the next step.
-
Run SFC. To do so, type sfc /scannow into Command Prompt and press ↵ Enter.
- It will take a few moments for SFC to run. Allow it to finish fully before closing the Command Prompt window.
-
Check the SFC results. Depending on the result you get, you'll need to do a specific action:[2]
- Windows Resource Protection did not find any integrity violations: SFC did not find any missing or corrupted files.
- Windows Resource Protection found corrupt files and successfully repaired them: SFC found missing or corrupted files, and it was able to fix them.
- Windows Resource Protection could not perform the requested operation: SFC must be run again in safe mode.
-
Windows Resource Protection found corrupt files but was unable to fix some of them. You'll have to manually view the SFC process details and replace the files with ones you know are good (or reinstall the program).
- To do this, type findstr /c:"[SR]" %windir%\Logs\CBS\CBS.log >"%userprofile%\Desktop\sfcdetails.txt" into your Command Prompt window and press ↵ Enter. You can then open the sfcdetails.txt file on your Desktop.[3]
Expert Q&A
Video
Tips
References
- ↑ https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/chkdsk?tabs=hdd,event-viewer
- ↑ https://support.microsoft.com/en-us/topic/use-the-system-file-checker-tool-to-repair-missing-or-corrupted-system-files-79aa86cb-ca52-166a-92a3-966e85d4094e
- ↑ https://support.microsoft.com/en-us/topic/use-the-system-file-checker-tool-to-repair-missing-or-corrupted-system-files-79aa86cb-ca52-166a-92a3-966e85d4094e#bkmk_cbs_log
About This Article
1. Open File Explorer.
2. Click This PC.
3. Right-click the drive that you want to run ScanDisk on.
4. Click Properties.
5. Click the Tools tab and click Check.

![Step 2 Type chkdsk [drive] [parameters].](https://www.wikihow.com/images/thumb/8/81/Run-Scandisk-on-Windows-10-Step-2-Version-2.jpg/v4-460px-Run-Scandisk-on-Windows-10-Step-2-Version-2.jpg)












