Run DISM to repair Windows System Image and Windows Component Store in Windows 10

This post will show you how to use the DISM Tool to repair a Windows System Image in Windows 10/8.1. The System Update and Readiness Tool or CheckSUR tool will scan your Windows computer for inconsistencies, which may be  caused by various hardware failures or by software issues and potentially fix that corruption. In Windows 10/8 and Windows Server, the Inbox Corruption Repair brings the functionality of CheckSUR into Windows. You do not require a separate download to get the tool.

Read: DISM vs SFC first? What should I run first on Windows 10?

Windows Component Store Corrupt

Repair Windows Image using DISM

Repair Windows System Image using DISM

If a Windows image becomes unserviceable, you can use the Deployment Imaging and Servicing Management (DISM) tool to update the files and correct the problem. In the case of system inconsistencies and corruptions, you can use the DISM tool by using the Cleanup-Image functionality along with these available switches.

Use Dism /Online /Cleanup-Image followed by these switches:

1] /ScanHealth: This checks for component store corruption and records that corruption to the C:\Windows\Logs\CBS\CBS.log but no corruption is fixed using this switch.  This is useful for logging what, if any, corruption exists. Use:

Dism /Online /Cleanup-Image /ScanHealth

This could take 10-15 minutes.

2] /CheckHealth: This checks to see if a component corruption marker is already present in the registry.  This is merely a way to see if corruption currently exists.  Think of it as a read-only CHKDSK. Use:

Dism /Online /Cleanup-Image /CheckHealth

This could take less than a minute.

3] /RestoreHealth: This checks for component store corruption, records the corruption to C:\Windows\Logs\CBS\CBS.log and FIXES the corruption using Windows Update.  Use:

Dism /Online /Cleanup-Image /RestoreHealth

This operation takes 15 mins or more depending on the level of corruption.

To carry out these operations you have to open an elevated Command Prompt. First, you have to check if there are corruptions and it the corruption or image is repairable. If yes, then you can use the /RestoreHealth switch to fix the corruption.

TIP: : Fix corrupted Windows Update system files using DISM Tool.

Inbox Corruption Repair

You can use this:

  1. If your System File Checker is corrupted or SFC is not working and the SFC /SCANNOW command is unable to repair corrupted system files because the store is corrupted.
  2. To fix Windows component store corruption when the same Windows Updates continue to appear to be available to install even though they already show successfully installed in update history.
  3. If a Windows image becomes unserviceable, you can use the Deployment Imaging and Servicing Management (DISM) tool to update the files, correct the problem and repair Windows image. You can use DISM to repair an offline Windows image in a WIM or VHD file or an online Windows image.

Source: Microsoft TechNet.

Incidentally, our freeware FixWin 10 for Windows 10, let you repair the Windows Component Store, in a click. Windows Software Repair Tool from Microsoft will repair system components and detect corrupt files, resync System date and Time, reset System Settings, reinstall System Applications and run the DISM Tool to repair system image, with a click.

See this post if you receive a DISM fails The source files could not be found error message.

Additional reads:

  1. Repair Corrupt Windows Image – Error 0x800f0906
  2. CheckSUR: System Update Readiness Tool to repair Windows Update
  3. Manage the OS images effectively with DISM in Windows
  4. Deployment Image Servicing & Management Tool in Windows
  5. The remote procedure call failed error.
Download this VPN to secure all your Windows devices and browse anonymously
Posted by on , in Category Windows with Tags
Anand Khanse is the Admin of TheWindowsClub.com, a 10-year Microsoft MVP Awardee in Windows (2006-16) & a Windows Insider MVP. Please read the entire post & the comments first, create a System Restore Point before making any changes to your system & be careful about any 3rd-party offers while installing freeware.

15 Comments

  1. Brad Smith

    This takes a god aweful long time. Hopefully this is what my system needs to fix the issue I’m having updating to Windows 8.1

  2. Eric

    I have tried everything mentioned above and then some, but almost always I get an error 87 message or something like command not found. Updates are KB2961908-KB2919355 and error codes are 0x800F0922-0x80073712.

  3. Christophe Thomas

    Dism /Online /Cleanup-Image/ScanHealth did the jobn in my case

  4. Michael

    I am using this

    C:Windowssystem32>Dism /Online /Cleanup-Image /CheckHealth
    Deployment Image Servicing and Management tool
    Version: 10.0.10240.16384
    Image Version: 10.0.10240.16384
    The component store is repairable.
    The operation completed successfully.

    Then when i perform

    C:Windowssystem32>DISM /Online /Cleanup-Image /RestoreHealth
    Deployment Image Servicing and Management tool
    Version: 10.0.10240.16384
    Image Version: 10.0.10240.16384
    [==========================100.0%==========================]
    Error: 0x800f081f
    The source files could not be found.
    Use the “Source” option to specify the location of the files that are required to restore the feature. For more information on specifying a source location, see http://go.microsoft.com/fwlink/?LinkId=243077.
    The DISM log file can be found at C:WindowsLogsDISMdism.log

    And i cannot get past that, i have tried all the other option listed and just to no avail.

  5. kannan girdhar

    how do i open power shell when there is no start menu?????????????

  6. ade92uk

    If you hold the shift key while right clicking on the start button, you should still be able to bring up Command Prompt

  7. Ki?u Qu?c Hi?p

    I have this same problem

  8. Piano teacher

    Comment deleted.

  9. Zeljko Arsenic

    CTRL+ALT+DEL then open task manager in Task manager click on File and then New Task and type Powershell. Dont’ forget to check box under the search bar to use it with administrator rights

  10. Antonius

    /scanhealth completed ok. But what does it mean when it says “The checkhealth option is not recognised in this context”? Similarly for /restorehealth ?

  11. Stephen

    having this issue now, I know it was a long time ago, but did you find a fix for this? Anyone?

  12. Wm. D. Bryant

    In my opinion I wish I had stayed with Windows 7 before obtain Windows 10. Windows 10 is unstable. I’ve tried the DISM several times and I still have problems with the OS. Why it continues to freeze (stop operating) is a puzzle to me. I spend some days rebooting my PC more than I would like to. I’ve downloaded an update thinking that it would fix problem but it still exist. Hopefully, there will be a resolution to this annoying problem.

  13. dorey69

    check health gives error 87? any ideas what it could be please, hate windows 10

  14. Will Wang

    I’m having this trouble now. Have you fixed this? PLease respond

  15. Gnosis Druzod

    Excellent.

Leave a Reply

Your email address will not be published. Required fields are marked *


4 + 6 =