Does your Windows 10 have corrupt files and you want to fix them?
Having corrupt files on your Windows 10 can lead to your system acting slow or showing random errors here and there, fixing it using
sfc /scannow alone can not work and we need special commands to get it fixed and working again.
In this tutorial you will learn all the ways to fix corrupt files on Windows 10, you can check if your system is no longer corrupt each time using
sfc /scannow in a Command Prompt ran as administrator.
Fixing Windows 10 Corrupt Files
1. Run Sfc /Scannow as Administrator
First, open the Start menu and search for “cmd“, right-click on the Command Prompt and choose “Run as administrator“”.
Type in the following command and hit Enter:
You will have one scenario in these three, this is the worst-case scenario where you get this error message: Windows Resource Protection found corrupt files but was unable to fix some of them. Details are included in the CBS.Log windir\Logs\CBS\CBS.log. For example C:\Windows\Logs\CBS\CBS.log. Note that logging is currently not supported in offline servicing scenarios.
We will see how to fix it.
If you system files were corrupt and this tool was able to fix it you will receive this message: Windows Resource Protection found corrupt files and successfully repaired them. For online repairs, details are included in the CBS logfile located at windir\Logs\CBS\CBS.log. For example C:\Windows\Logs\CBS\CBS.log. For offline repairs, details are included in the log file provided by the /OFFLOGFILE flag.
If your system is not corrupt, you should see this message, this is our goal. No corrupt files.
2. Fix Corrupt Files Using DISM
Run the following command to try to fix the files on your Windows 10 PC:
DISM /Online /Cleanup-Image /RestoreHealth
3. Sfc /Scannow On Safe Mode
We are going to try to repair our system from Safe mode.
To access Safe mode we need to restart our computer using troubleshooting tools, to do this, hold Shift key and restart your PC.
When this blue screen shows up, click on “Troubleshoot“”.
Click on “Advanced options“.
Click on “Startup Settings“.
Click on the “Restart” button.
Make sure your Numlock is on, press on number 5.
Open the Command Prompt as administrator and enter the command
Restart your PC.
4. Fix Corrupt Files Using Windows 10 ISO
First, download your free ISO of Windows 10 file using this tutorial: Download The Official Windows 10 ISO Legally
Right-click on the ISO and choose “Mount“.
Take note of the drive letter given to your ISO mounted drive. In my case, it’s an
Open the Command Prompt as administrator and type in this command, change
F: to the drive your got the ISO mounted to:
Dism /Online /Cleanup-Image /RestoreHealth /Source:wim:F:\sources\install.wim:1
Thank you for reading this tutorial and if it helped you please let me know.
Thanks for sharing!