DISM - Fixing Component Store Corruption in Windows 8

download DISM - Fixing Component Store Corruption in Windows 8

of 10

description

Instruction how to fix corrupt windows image files.

Transcript of DISM - Fixing Component Store Corruption in Windows 8

  • DISM - Fixing Component Store Corruption in Windows 8

    http://www.eightforums.com/tutorials/26512-dism-fixing-component-store-corruption-windows-8-a.html[8/9/2014 7:36:52 AM]

    Remember Me?

    Windows 7 Forum

    DISM - Fixing Component Store Corruption in Windows 8

    Tutorials What's New? Register

    Today's Posts FAQ Community

    Forum Windows 8 Forums Tutorials DISM - Fixing Component Store Corruption in Windows

    8

    Page 1 of 13 1 2 3 11 ... Last

    12 Jun 2013

    DISM - Fixing Component Store Corruption in Windows 8

    How to Use DISM to Fix Component Store Corruption in Windows 8 and Windows Server 2012

    Information

    One of the most used tools when fixing corruption for Vista, Windows 7, Windows Server 2008 and Windows Server 2008 R2 was the System Update and Readiness Tool (KB947821), commonly called CheckSUR. The CheckSUR tool was an excellent way for most people to see what corruption had happened on their store, and potentially fix that corruption if the tool contained the payload to do so.

    In Windows 8/8.1 and Windows Server 2012, this has changed. Its called Inbox Corruption Repair and it brings the functionality of CheckSUR into Windows rather than requiring a separate download to get the utility like you do now. This is exposed in two ways, the first is really unseen by the end user and happens when Windows detects a corrupted state when attempting to install fixes via Windows Update. When this happens, Windows fix the corruption silently and then re-install the prior packages. The manual way to use this tool is via DISM (Deployment Imaging and Servicing Management). The way this is exposed is via the DISM /Cleanup-Image functionality.

    If a Windows image (Windows component store) becomes unserviceable, you can use the Deployment Imaging and Servicing Management (DISM) tool to update the files and correct the problem.

    For example:

    To use to fix Windows component store corruption when a SFC /SCANNOW command is unable to repair corrupted system files because the store (source) is corrupted, then run the SFC command again.To use 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.

    For more information, see:

    Fixing component store corruption in Windows 8 and Windows Server 2012 - The Windows

    Published by

    BrinkAdministrator

    Join Date: Jul 2009Posts: 16,867

    Tutorial Tools

    Print Page

    #1

    Published by 12 Jun 2013

    DISM - Fixing Component Store Corruption in Windows 8 How to Use DISM to Fix Component Store Corruption in Windows 8 and Windows Server 2012

    Brink

    Forum

  • DISM - Fixing Component Store Corruption in Windows 8

    http://www.eightforums.com/tutorials/26512-dism-fixing-component-store-corruption-windows-8-a.html[8/9/2014 7:36:52 AM]

    Servicing Guy - Site Home - TechNet BlogsHow to Repair a Windows Image

    This tutorial will show you how to do an Inbox Corruption Repair with the DISM /Cleanup-Image tool to fix component store corruption in Windows 8 and Windows Server 2012.

    You must be signed in as an administrator to be able to do an Inbox Corruption Repair with the Deployment Imaging and Servicing Management (DISM) tool.

    Note

    The DISM /Cleanup-Image tool saves it's log files in the file locations below. To be able to view these logs, you would need to copy them from the locations below to your desktop, then open them from your desktop.

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

    C:\Windows\Logs\DISM\dism.log

  • DISM - Fixing Component Store Corruption in Windows 8

    http://www.eightforums.com/tutorials/26512-dism-fixing-component-store-corruption-windows-8-a.html[8/9/2014 7:36:52 AM]

    OPTION ONE To Run "DISM /Cleanup-Image" tool in an Elevated Command Prompt

    1. Open an elevated command prompt.

    2. In the elevated command prompt, copy and paste the command below that you want to use.

    Note

    Available Switch Options:

    /CheckHealth - This switch option only checks to see if a component corruption marker is already present in the registry. It is just a quick way to see if corruption currently exists, and to inform you if there is corruption. It does not fix anything or create a log. This should be finished almost instantaneous.

    /ScanHealth - This switch option does not fix any corruption. It only checks for component store corruption and records that corruption to the log file. This is useful for only logging what, if any, corruption exists. This should take around 5-10 minutes to finish.

    /RestoreHealth - (recommended) This switch option checks for component store corruption, records the corruption to the log file, and FIXES the image corruption using Windows Update. This should take around 10-15 minutes up to about an hour to finish depending on the level of corruption.

    Dism /Online /Cleanup-Image /CheckHealth

    Dism /Online /Cleanup-Image /ScanHealth

    Dism /Online /Cleanup-Image /RestoreHealth

    3. When finished, it is recommended to restart the PC to configure any updates that may have been affected by this.

  • DISM - Fixing Component Store Corruption in Windows 8

    http://www.eightforums.com/tutorials/26512-dism-fixing-component-store-corruption-windows-8-a.html[8/9/2014 7:36:52 AM]

    NOTE: Some scans may take a while to finish and may seem like it's hung at times, but let it sit running until finished.

    OPTION TWO To Run "DISM /Cleanup-Image" tool in an Elevated PowerShell

    1. Open an elevated PowerShell.

    2. In the elevated PowerShell, copy and paste the command below that you want to use.

    Note

    Available Switch Options:

  • DISM - Fixing Component Store Corruption in Windows 8

    http://www.eightforums.com/tutorials/26512-dism-fixing-component-store-corruption-windows-8-a.html[8/9/2014 7:36:52 AM]

    -CheckHealth - This switch option only checks to see if a component corruption marker is already present in the registry. It is just a quick way to see if corruption currently exists, and to inform you if there is corruption. It does not fix anything or create a log. This should be finished almost instantaneous.

    -ScanHealth - This switch option does not fix any corruption. It only checks for component store corruption and records that corruption to the log file. This is useful for only logging what, if any, corruption exists. This should take around 5-10 minutes to finish.

    -RestoreHealth - (recommended) This switch option checks for component store corruption, records the corruption to the log file, and FIXES the image corruption using Windows Update. This should take around 10-15 minutes up to about an hour to finish depending on the level of corruption.

    Repair-WindowsImage -Online -CheckHealth

    Repair-WindowsImage -Online -ScanHealth

    Repair-WindowsImage -Online -RestoreHealth

    3. When finished, it is recommended to restart the PC to configure any updates that may have been affected by this.

    NOTE: Some scans may take a while to finish and may seem like it's hung at times, but let it sit running until finished.

    That's it, Shawn

  • DISM - Fixing Component Store Corruption in Windows 8

    http://www.eightforums.com/tutorials/26512-dism-fixing-component-store-corruption-windows-8-a.html[8/9/2014 7:36:52 AM]

    Related Tutorials

    How to Run the "SFC /SCANNOW" Command at Boot or in Windows 8 and 8.1How to Do a Repair Install of Windows 8 and 8.1 without Losing AnythingHow to Reset Windows Update in Vista, Windows 7, and Windows 8How to Refresh Windows 8 and 8.1How to Reset Windows 8 and 8.1How to Do a System Restore in Windows 8 and 8.1How to Determine Size and if you should Clean Up Component Store (WinSxS folder) in Windows 8.1How to Clean Up the WinSxS Folder (Component Store) in Windows 8.1

    Quote

    05 Jul 2013

    Hi,

    I tried the sfc scannow and it was stuck at 100%. In MS site they mentioned it was caused due to a update

    KB2821895 Windows 8 x64 Update 06.11.2013 problem - Microsoft Community

    I tried to execute the restore health command but I get error message saying that the operation has failed error code 3017

    Here is the DISM log. Please help me out

    http://www.filedropper.com/newwinzipfile

    My System Specs

    #1

    Join Date : Feb 2011bangalore

    Posts : 598 Windows 8.1

    professional x64 + WMC

    bagavan Power User

    Quote

    05 Jul 2013

    Hell Manjunath,

    If you haven't already, you could try uninstalling that Windows Update, or doing a system restore using a restore point dated before this to see if you may be able to run SFC or DISM afterwards.

    Hope this may help for now.

    #2

    Join Date : Jul 2009 Posts : 16,867

    64-bit Windows 8.1 Enterprise (RTM)

    Brink Administrator

  • DISM - Fixing Component Store Corruption in Windows 8

    http://www.eightforums.com/tutorials/26512-dism-fixing-component-store-corruption-windows-8-a.html[8/9/2014 7:36:52 AM]

    My System Specs

    Quote

    15 Aug 2013

    Hello Brink and really thanks for this forium web and your usefull tut I scan my windows 8.1 by sfc/scannow and give me this error in 72% procces :

    "Windows Resource Protection found corrupt files but was unable to fix someof 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."

    I scan my windows because the windows charms search bar hanging after I run it and force me to restart just with power key could you please help me to resolve this problem and fix CBS.log file thanks have fun time

    My System Specs

    #3

    Join Date : May 2013 Posts : 1

    windows 8 X64

    amirchermahini New Member

    Quote

    15 Aug 2013

    Hello Amirchermahini, and welcome to Eight Forums.

    That means that SFC was unable to repair some of the files since the files needed to repair them with in the component store are also corrupted.

    You could run the command below in this tutorial to repair the component store. Afterwards try running the SFC scan again to see if it's able to repair the corrupted system files it found.

    Dism /Online /Cleanup-Image /RestoreHealth

    Hope this helps, Shawn

    My System Specs

    #4

    Join Date : Jul 2009 Posts : 16,867

    64-bit Windows 8.1 Enterprise (RTM)

    Brink Administrator

    Quote

    04 Sep 2013

    I'm stuck. I used to run the Dism /Online /Cleanup-Image /RestoreHealth command relatively frequently, and it always worked fine. Now, I'm getting the following error after running it:

    #5

    crosspatch Unstable Member

  • DISM - Fixing Component Store Corruption in Windows 8

    http://www.eightforums.com/tutorials/26512-dism-fixing-component-store-corruption-windows-8-a.html[8/9/2014 7:36:52 AM]

    The restore operation failed. Either the repair source was not found or the component store cannot be repaired.

    I searched for a solution, and found advice to use the /LimitAccess switch. I never had to use that before, however, and it didn't help now. I'm doing this on my home PC, not in any sort of enterprise or other managed environment.

    When I run the Dism /Online /Cleanup-Image /ScanHealth and Dism /Online /Cleanup-Image /CheckHealth commands, I get:

    The component store is repairable. The operation completed successfully.

    When I run sfc /ScanNow, I get:

    Windows Resource Protection did not find any integrity violations.

    Can anyone help me get Dism to run as it should?

    My System Specs

    Join Date : Sep 2013 Posts : 16

    Windows 8.1 Pro x64

    Quote

    04 Sep 2013

    Hello crosspatch, and welcome to Eight Forums.

    If SFC didn't find any issues, then you should be good to go and don't need to run Dism.

    My System Specs

    #6

    Join Date : Jul 2009 Posts : 16,867

    64-bit Windows 8.1 Enterprise (RTM)

    Brink Administrator

    Quote

    04 Sep 2013

    Thank you. I understand that there is no corruption now, but I want Dism to work if/when I need it to in the future. And since it always used to run without a problem, this bothers me.

    My System Specs

    #7

    Join Date : Sep 2013 Posts : 16

    Windows 8.1 Pro x64

    crosspatch Unstable Member

    Quote

    04 Sep 2013 #8

  • DISM - Fixing Component Store Corruption in Windows 8

    http://www.eightforums.com/tutorials/26512-dism-fixing-component-store-corruption-windows-8-a.html[8/9/2014 7:36:52 AM]

    DISM - Fixing Component Store Corruption in Windows 8

    Usually when Dism fails, you'll need to reinstall Windows.

    My System Specs

    Join Date : Jul 2009 Posts : 16,867

    64-bit Windows 8.1 Enterprise (RTM)

    Brink Administrator

    Quote

    06 Sep 2013

    hi guys

    i ve followed the option one got errors ,and then tried the powershell method again error, please see the attached screencopy

    any way to sort this out?

    thanks

    My System Specs

    #9

    Join Date : Sep 2013 Posts : 30

    WIN8

    papadamam Junior Member

    Quote

    Page 1 of 13 1 2 3 11 ... Last

  • DISM - Fixing Component Store Corruption in Windows 8

    http://www.eightforums.com/tutorials/26512-dism-fixing-component-store-corruption-windows-8-a.html[8/9/2014 7:36:52 AM]

    All times are GMT -5. The time now is 07:20 PM. Contact Us Windows 7 Support Privacy and cookies Legal Top -- EF Default

    Store - Re-register in Windows 8 and 8.1 | Startup Items - Manage in Windows 8

    Our Sites:- PC Help Forum - Windows 7 Forums - Windows Vista Forums - Windows 9 Forums

    The Windows 8 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation.

    "Windows" and related materials are trademarks of Microsoft Corp. Designer Media Ltd

    Similar Threads

    Tutorial Forum

    DISM - Failed to create DismHostManager remote object General Support

    IE 10 Desktop vs Windows Media Security Component Upgrade General Support

    Hang ---> corruption BSOD Crashes and Debugging

    Ex-Microsoft Employee Launches 'Fixing Windows 8' Campaign Windows 8 News

    eightforums.comDISM - Fixing Component Store Corruption in Windows 8

    B0aW9uLXdpbmRvd3MtOC1hLmh0bWwA: form3: vb_login_username: User Namevb_login_password_hint: Passwordinput0: cookieuser: 1

    B0aW9uLXdpbmRvd3MtOC1hLmh0bWwA: form1: q: input9:

    B0aW9uLXdpbmRvd3MtOC1hLmh0bWwA: styleid: 62