Repair Windows 10 Using DISM

After Upgrade To Windows 10 May 2021 update System Begins to feel buggy? You notice problems during boot, the system not responding or through Different Errors while open the application. These are the sign of System file corruption, Whenever come to us for a Solution for that we Recommend to Run the System file checker Utility. Which Scan and Restore missing, Corrupted and damaged Files with a known good version, from a special cache folder located on %WinDir%\System32\dllcache. But Some Times Users Report system file checker results “Windows Resource Protection found corrupt files but was unable to fix some of them”. If you are also suffering from problems like this Check How To Repair Windows 10 Using DISM and SFC Utility.

When SFC is unable to fix the problem, chances are the utility was unable to get the necessary files from the Windows image, which might have become broken. Windows 10 has an extremely helpful command-line utility known as Deployment Image Servicing and Management (DISM). This helps to scan and fix Windows Component Store corruption, Repair Corrupted images especially in situations where the System File Checker doesn’t help.

Note: If you see a “Windows Resource Protection found corrupt files but was unable to fix some of them” message, try restarting your PC in Safe Mode and running the command again. Still having the same issue SFC utility unable to fix then Try bellow.

Repair Windows 10 Using DISM Tool

Is your Windows 10 PC slowing you down, and the SFC utility is unable to fix the problem? Then use DISM to repair the Windows image to enable SFC utility to do its job. ( DISM can be used to repair Windows images, Windows Setup and Windows PE.). In Other Words, DISM Tool is used when sfc/scannow command is unable to repair corrupted or modified system files.

Normally SFC Utility fails To Restore the missing, Damaged files mean the utility was unable to get the necessary files from the Windows image, which might have become broken. In this situation, you can use DISM to repair the Windows image (.wim), which then it will allow you to use the System File Checker to fix any issue with your Windows 10 installation.

There are three main options you can use with DISM to repair the Windows image on your computer, including CheckHealth, ScanHealth, and RestoreHealth, you want to use them in this order.

The DISM tool writes the following log files which can be used to analyze the operation status and errors:

  • C:\Windows\Logs\CBS\CBS.log
  • C:\Windows\Logs\DISM\DISM.log

DISM CheckHealth Command

To Fix and Repair Windows 10 Using DISM, First Open command prompt as administrator. Then type the Following command and hit enter key to execute the command.

Dism /Online /Cleanup-Image /CheckHealth

DISM CheckHealth command

Note : The /CheckHealth is used to check whether the image has been flagged as corrupted by a failed process and whether the corruption can be repaired. This command doesn’t fix anything, only reports the problems if any.

DISM ScanHealth Command

Also, you can use the /ScanHealth command to check for the component store for corruption.

Dism /Online /Cleanup-Image /ScanHealth

It takes a significantly more extended amount of time than the CheckHealth option, but using this switch may be doing a thorough test, and also writes the results to a log file.

DISM ScanHealth Command

Note: While running DISM using the /RestoreHealth or /ScanHealth, you will notice the process will seem stuck at 20% or 40%, but it’s normal behavior. After a few minutes, the operation will finish as expected.

DISM RestoreHealth Command

Now Use the DISM command with the /RestoreHealth switch to scan the Windows image for any corruption and to perform a repair automatically.

Dism /Online /Cleanup-Image /RestoreHealth

Windows 10 DISM RestoreHealth Command

The above command will try to use Windows Update to replace the damaged files. This process takes a long time to complete. If the problem has also extended to the Windows Update components, then you’ll need to specify a source containing the known good files to repair the image.

DISM restorehealth with Source options

For This First Download Windows 10 ISO with the same version and edition of your current version of Windows 10. After complete, the Download process Right Click The ISO File, Select Mount and Note down the Drive path.

Again Open the command prompt as administrator, type the command below and hit enter:

DISM /Online /Cleanup-Image /RestoreHealth /Source:ISOmountpath\install.wim

DISM with the RestoreHearlh and Source options

Or you can also run the following to limit the use of Windows Update:

DISM /Online /Cleanup-Image /RestoreHealth /Source:ISOmountpath\install.wim /LimitAccess

Note: Replace ISOmountpath with your Drive letter which you mount the ISO file. For Ex my ISOmountpath Drive letter is D:

The command will perform a Windows image repair using the known good files included within the install.wim file using the Windows 10 installation media, without trying to use Windows Update as a source to download the required files for repair. Wait For RestoreHealth Command to complete 100% Then After Again Run The SFC Utility To Repair, Restore missing system files.

Run System File Checker Tool

Once you run this Deployment Imaging and Servicing Management Tool, it will repair those corrupted files and sfc/scannow command will be able to modify the issues at a later time.

Follow up with the System File Checker to restore the critical system files, using the following command from an elevated command prompt:

sfc /scannow

Run system file checker

This Time System file checker Utility will Successfully scan and Restore the missing, Damaged corrupted system files with a Good Copy form special Cache folder Located on %WinDir%\System32\dllcache. Wait until 100% complete the Scanning Process. This time SFC will result like Windows Resource Protection found corrupt files and successfully repaired them. or Windows Resource Protection did not find any integrity violations. This means either the Corrupted system files are Restore and repaired or the system doesn’t have any missing or corrupted files.

These are the Best methods To scan And Restore corrupted missing System files, Fix Windows 10 Buggy performance, Startup problems and Different Errors After upgrade windows 10. I hope After reading this post you can easily fix missing or system file corruption Related problems using DISM Command And SFC (System File Checker) Utility. Have Any Difficulty while Running this DISM Tool, Any Query or suggestion About this post Feel Free To discuss on Comments below. Also Read: Fix We couldn’t install Windows 10 error 0xC1900101-0x20017

Robeg
I am Robeg founder of this blog. My qualification. completed Bachelor of Arts (BA) and Microsoft Certified Professional (MCP). With a strong background in computer applications love write articles on Microsoft Windows (11, 10, etc.) Cybersecurity, WordPress and more.