Fix corrupted files found in Windows Resource Protection error at command prompt

Who I am
Catherine Le Nevez
@catherinelenevez
SOURCES CONSULTED:

support.microsoft.com

Author and references

System File Checker is one of the best ways to find damaged files on your Windows PC and then repair registry data. To run the utility, you need to run the command "SFC / scannow“At the command prompt / Powershell. It then scans all protected system files on the Windows 10 PC. It authenticates all versions of the file and then restores the damaged files.

However, many users reported that they encountered an error saying “Windows Resource Protection detected corrupted files but some of them could not be repaired". Considering that running sfc / scannow very frequently is very important to repair damaged files and keep the system running smoothly, this error should be corrected with immediate effect. Let's see how.



Solution: Use the command prompt

Step 1: Click on Home button up your desk and type Symbol of the system in the search box. Right-click on the result and click Run as administrator Open Symbol of the system in administrator mode.

Step 2: Now, run the following command and hit Enters:

DISM /ONLINE /CLEANUP-IMAGE /RESTOREHEALTH

Now wait patiently as it takes time to complete the process. Check for damaged components, then log the corruption and repair the damaged file.

Once the process is complete and the damaged components have been repaired, the message "The restore operation was completed successfully. Corrected damage to the parts shop. The operation was completed successfullyY. "



Step 3: As soon as the process is complete and the above message appears, restart your computer, then run the following command again to run the system file checker:

sfc / scannow

Now, wait for it to complete and it should now perfectly repair all your damaged files.

add a comment of Fix corrupted files found in Windows Resource Protection error at command prompt
Comment sent successfully! We will review it in the next few hours.