Forums
New posts
Search forums
What's new
New posts
Latest activity
Tutorials
Search titles only
By:
Log in
Register
What's new
Search
Search titles only
By:
Menu
Log in
Register
What's new
Search
Search titles only
By:
New posts
Search forums
Forums
Windows 8 Forums
Tutorials
DISM - Fixing Component Store Corruption in Windows 8
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Brink" data-source="post: 243197" data-attributes="member: 19"><p style="text-align: center"><span style="font-size: 15px"><strong>How to Use DISM to Fix Component Store Corruption in Windows 8 and Windows Server 2012</strong></span></p><p></p><p>One of the most used tools when fixing corruption for Vista, Windows 7, Windows Server 2008 and Windows Server 2008 R2 was the <strong><a href="http://support.microsoft.com/kb/947821">System Update and Readiness Tool (KB947821)</a></strong>, commonly called <strong><a href="http://blogs.technet.com/b/joscon/archive/2010/05/26/using-checksur-and-update-packages-to-fix-corruption.aspx">CheckSUR</a></strong>. 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.</p><p></p><p>In <strong>Windows 8/8.1</strong> and <strong>Windows Server 2012</strong>, this has changed. It’s called <strong>Inbox Corruption Repair</strong> 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 <strong>DISM /Cleanup-Image</strong> functionality.</p><p></p><p>If a Windows image (Windows component store) becomes unserviceable, you can use the <strong>Deployment Imaging and Servicing Management (DISM)</strong> tool to update the files and correct the problem.</p><p></p><p><strong>For example:</strong></p><p></p><ul> <li data-xf-list-type="ul">To use to fix Windows component store corruption when a <strong><a href="http://www.eightforums.com/tutorials/3047-sfc-scannow-command-run-windows-8-a.html">SFC /SCANNOW</a></strong> command is unable to repair corrupted system files because the store (source) is corrupted, then run the SFC command again.</li> <li data-xf-list-type="ul">To use to fix Windows component store corruption when the same <strong><a href="http://www.eightforums.com/tutorials/25343-windows-update-check-install-windows-8-a.html">Windows Updates</a></strong> continue to appear to be available to install even though they already show successfully installed in <strong><a href="http://www.sevenforums.com/tutorials/24367-windows-update-view-update-history-details.html">update history</a></strong>.</li> </ul><p></p><p><strong>For more information, see:</strong></p><p></p><ul> <li data-xf-list-type="ul"><a href="http://blogs.technet.com/b/joscon/archive/2012/09/26/fixing-component-store-corruption-in-windows-8-and-windows-server-2012.aspx">Fixing component store corruption in Windows 8 and Windows Server 2012 - The Windows Servicing Guy - Site Home - TechNet Blogs</a></li> <li data-xf-list-type="ul"><a href="http://technet.microsoft.com/en-us/library/hh824869.aspx">How to Repair a Windows Image</a></li> </ul><p></p><p>[line].[/line]</p><p>This tutorial will show you how to do an <strong>Inbox Corruption Repair </strong>with the <strong>DISM /Cleanup-Image </strong>tool to fix component store corruption in <strong>Windows 8</strong> and <strong>Windows Server 2012</strong>.</p><p></p><p>You must be signed in as an<strong> administrator </strong>to be able to do an <strong>Inbox Corruption Repair </strong>with the <strong>Deployment Imaging and Servicing Management (DISM)</strong> tool.</p><p></p><p>[note]The <strong>DISM /Cleanup-Image</strong> 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.</p><p></p><p><strong>C:\Windows\Logs\CBS\CBS.log</strong></p><p></p><p><strong>C:\Windows\Logs\DISM\dism.log</strong></p><p></p><p></p><p>[ATTACH]22947[/ATTACH]</p><p></p><p>[ATTACH]22950[/ATTACH]</p><p></p><p>[/note][tip]If you get an error like below when running a DISM command in an option below, then run the command below and try again afterwards.</p><p></p><p><a href="http://www.eightforums.com/tutorials/44351-winsxs-folder-component-store-clean-up-windows-8-1-a.html"><strong>Dism.exe /online /Cleanup-Image /StartComponentCleanup</strong></a></p><p></p><p></p><p>[note]Error: 0x80240021</p><p></p><p>Failure DISM. No operation was performed.[/note]</p><p>[/tip]</p><p><strong><u><span style="font-size: 18px">CONTENTS:</span></u></strong></p><p></p><ul> <li data-xf-list-type="ul">[jump=option1]<strong>Option One:</strong>[/jump] To Run "DISM /Cleanup-Image" tool in an Elevated Command Prompt</li> <li data-xf-list-type="ul">[jump=option2]<strong>Option Two:</strong>[/jump] To Run "DISM /Cleanup-Image" tool in an Elevated PowerShell</li> </ul><p></p><p></p><p></p><p>[anchor]option1[/anchor][option="OPTION ONE"]To Run "DISM /Cleanup-Image" tool in an Elevated Command Prompt[/option]</p><p></p><p><span style="font-size: 12px"><strong>1.</strong></span> Open an <strong><a href="http://www.eightforums.com/tutorials/2754-elevated-command-prompt-open-windows-8-a.html">elevated command prompt</a></strong>.</p><p></p><p><span style="font-size: 12px"><strong>2.</strong></span> Do [jump=option1s3]<strong>step3</strong>[/jump], [jump=option1s4]<strong>step 4</strong>[/jump], [jump=option1s5]<strong>step 5</strong>[/jump], or [jump=option1s6]<strong>step 6</strong>[/jump] below for what DISM command you would like to use.</p><p></p><p></p><p>[anchor]option1s3[/anchor]<span style="font-size: 12px"><strong>3. <span style="color: #0000cd">To Use DISM /CheckHealth Command</span></strong></span></p><p>[note]You would use /CheckHealth to only check whether the image has been flagged as corrupted by a failed process and whether the corruption can be repaired. This is just a quick way to see if corruption currently exists, and to inform you if there is corruption. This does not fix anything or create a log. This will finish running almost instantly.[/note]</p><p></p><p></p><p>A) In the elevated command prompt, copy and paste the command below, press Enter, and go to [jump=option1s7]<strong>step 7</strong>[/jump] below. (see screenshot below)</p><p></p><p>:ar: Dism /Online /Cleanup-Image /CheckHealth</p><p></p><p>[ATTACH]22948[/ATTACH]</p><p></p><p></p><p></p><p>[anchor]option1s4[/anchor]<span style="font-size: 12px"><strong>4. <span style="color: #0000cd">To Use DISM /ScanHealth Command</span></strong></span></p><p>[note]You would use /ScanHealth to scan the image for component store corruption. This option does not fix any corruption. It only checks for component store corruption and records that corruption to the log file. This can take around 5-10 minutes to finish. It will stay at 20% for a while before continuing.[/note]</p><p></p><p></p><p></p><p>A) In the elevated command prompt, copy and paste the command below, press Enter, and go to [jump=option1s7]<strong>step 7</strong>[/jump] below. (see screenshot below)</p><p></p><p>:ar: Dism /Online /Cleanup-Image /ScanHealth</p><p></p><p>[ATTACH]22954[/ATTACH]</p><p></p><p></p><p></p><p>[anchor]option1s5[/anchor]<span style="font-size: 12px"><strong>5. <span style="color: #0000cd">To Use DISM /RestoreHealth Command</span></strong></span></p><p>[note]<span style="color: #ff0000"><strong>(recommended)</strong></span> You would use /RestoreHealth to scan the image for component store corruption, perform repair operations automatically, and records that corruption to the log file. This can take around 10-15 minutes up to a few hours to finish depending on the level of corruption. It will stay at 20% for a while before continuing.[/note]</p><p></p><p></p><p></p><p>A) In the elevated command prompt, copy and paste the command below, press Enter, and go to [jump=option1s7]<strong>step 7</strong>[/jump] below. (see screenshot below)</p><p></p><p>:ar: Dism /Online /Cleanup-Image /RestoreHealth</p><p></p><p>[ATTACH]22949[/ATTACH]</p><p></p><p></p><p></p><p>[anchor]option1s6[/anchor]<span style="font-size: 12px"><strong>6. <span style="color: #0000cd">To Use DISM /RestoreHealth /Source:wim Command</span></strong></span></p><p>[note]You would use /Source with /RestoreHealth to specify the location of an <strong>install.wim</strong> file as the source of known good versions of files that can be used for the repair. This can take around 10-15 minutes up to a few hours to finish depending on the level of corruption. It will stay at 20% for a while before continuing.</p><p></p><p>This can be useful if [jump=option1s5]<strong>step 5</strong>[/jump] above was not able to repair the Windows image (component store).</p><p></p><p>[line].[/line]</p><p>The <strong>install.wim</strong> file will be in the <strong>Sources</strong> folder of a <a href="http://www.eightforums.com/tutorials/1697-iso-images-mount-unmount.html"><strong>mounted</strong></a> <a href="http://www.eightforums.com/tutorials/18309-windows-8-windows-8-1-iso-download-create.html">Windows 8.1 ISO</a> file.</p><p></p><p></p><p>[/note]</p><p></p><p></p><p>A) In the elevated command prompt, type the command below you want to use, press Enter, and go to [jump=option1s7]<strong>step 7</strong>[/jump] below. (see screenshot below)</p><p></p><p>:ar: Dism /Online /Cleanup-Image /RestoreHealth /Source:wim:<strong><span style="color: #ff0000">Full Path to install.wim file</span></strong>:1</p><p></p><p><span style="font-size: 12px"><strong><span style="color: #ff0000">OR</span></strong></span></p><p></p><p>(To prevent DISM from using Windows Update for online images)</p><p>:ar: Dism /Online /Cleanup-Image /RestoreHealth /Source:wim:<strong><span style="color: #ff0000">Full Path to install.wim file</span></strong>:1 /limitaccess</p><p></p><p><strong>For example:</strong></p><p></p><p>:ar: Dism /Online /Cleanup-Image /RestoreHealth /Source:wim:<strong><span style="color: #ff0000">D:\sources\install.wim</span></strong>:1 /limitaccess</p><p></p><p>[ATTACH]63512[/ATTACH]</p><p></p><p></p><p></p><p>[anchor]option1s7[/anchor]<span style="font-size: 12px"><strong>7.</strong></span> If you did [jump=option1s5]<strong>step 5</strong>[/jump] or [jump=option1s6]<strong>step 6</strong>[/jump] above, it is recommended to <strong>restart the computer</strong> to fully apply.</p><p></p><p></p><p></p><p>[anchor]option2[/anchor][option="OPTION TWO"]To Run "DISM /Cleanup-Image" tool in an Elevated PowerShell[/option]</p><p></p><p><span style="font-size: 12px"><strong>1.</strong></span> Open an <strong><a href="http://www.eightforums.com/tutorials/12626-windows-powershell-open-elevated-windows-8-a.html">elevated PowerShell</a></strong>.</p><p></p><p><span style="font-size: 12px"><strong>2.</strong></span> Do [jump=option2s3]<strong>step3</strong>[/jump], [jump=option2s4]<strong>step 4</strong>[/jump], [jump=option2s5]<strong>step 5</strong>[/jump], or [jump=option2s6]<strong>step 6</strong>[/jump] below for what DISM command you would like to use.</p><p></p><p></p><p>[anchor]option2s3[/anchor]<span style="font-size: 12px"><strong>3. <span style="color: #0000cd">To Use DISM /CheckHealth Command</span></strong></span></p><p>[note]You would use /CheckHealth to only check whether the image has been flagged as corrupted by a failed process and whether the corruption can be repaired. This is just a quick way to see if corruption currently exists, and to inform you if there is corruption. This does not fix anything or create a log. This will finish running almost instantly.[/note]</p><p></p><p></p><p>A) In the elevated command prompt, copy and paste the command below, press Enter, and go to [jump=option2s7]<strong>step 7</strong>[/jump] below. (see screenshot below)</p><p></p><p><img src="/images/smilies/arrow.png" class="smilie" loading="lazy" alt=":arrow:" title="Arrow :arrow:" data-shortname=":arrow:" /> Repair-WindowsImage /Cleanup-Image /CheckHealth</p><p></p><p>[ATTACH]22951[/ATTACH]</p><p></p><p></p><p></p><p>[anchor]option2s4[/anchor]<span style="font-size: 12px"><strong>4. <span style="color: #0000cd">To Use DISM /ScanHealth Command</span></strong></span></p><p>[note]You would use /ScanHealth to scan the image for component store corruption. This option does not fix any corruption. It only checks for component store corruption and records that corruption to the log file. This can take around 5-10 minutes to finish. It will stay at 20% for a while before continuing.[/note]</p><p></p><p></p><p>A) In the elevated command prompt, copy and paste the command below, press Enter, and go to [jump=option2s7]<strong>step 7</strong>[/jump] below. (see screenshot below)</p><p></p><p><img src="/images/smilies/arrow.png" class="smilie" loading="lazy" alt=":arrow:" title="Arrow :arrow:" data-shortname=":arrow:" /> Repair-WindowsImage /Cleanup-Image /ScanHealth</p><p></p><p>[ATTACH]22956[/ATTACH]</p><p></p><p></p><p></p><p>[anchor]option2s5[/anchor]<span style="font-size: 12px"><strong>5. <span style="color: #0000cd">To Use DISM /RestoreHealth Command</span></strong></span></p><p>[note]<span style="color: #ff0000"><strong>(recommended)</strong></span> You would use /RestoreHealth to scan the image for component store corruption, perform repair operations automatically, and records that corruption to the log file. This can take around 10-15 minutes up to a few hours to finish depending on the level of corruption. It will stay at 20% for a while before continuing.[/note]</p><p></p><p></p><p></p><p>A) In the elevated command prompt, copy and paste the command below, press Enter, and go to [jump=option2s7]<strong>step 7</strong>[/jump] below. (see screenshot below)</p><p></p><p><img src="/images/smilies/arrow.png" class="smilie" loading="lazy" alt=":arrow:" title="Arrow :arrow:" data-shortname=":arrow:" /> Repair-WindowsImage /Cleanup-Image /RestoreHealth</p><p></p><p>[ATTACH]22952[/ATTACH]</p><p></p><p></p><p></p><p>[anchor]option2s6[/anchor]<span style="font-size: 12px"><strong>6. <span style="color: #0000cd">To Use DISM /RestoreHealth /Source:wim Command</span></strong></span></p><p>[note]You would use /Source with /RestoreHealth to specify the location of an <strong>install.wim</strong> file as the source of known good versions of files that can be used for the repair. This can take around 10-15 minutes up to a few hours to finish depending on the level of corruption. It will stay at 20% for a while before continuing.</p><p></p><p>This can be useful if [jump=option2s5]<strong>step 5</strong>[/jump] above was not able to repair the Windows image (component store).</p><p></p><p>[line].[/line]</p><p>The <strong>install.wim</strong> file will be in the <strong>Sources</strong> folder of a <a href="http://www.eightforums.com/tutorials/1697-iso-images-mount-unmount.html"><strong>mounted</strong></a> <a href="http://www.eightforums.com/tutorials/18309-windows-8-windows-8-1-iso-download-create.html">Windows 8.1 ISO</a> file.</p><p></p><p></p><p>[/note]</p><p></p><p></p><p>A) In the elevated command prompt, type the command below you want to use, press Enter, and go to [jump=option1s7]<strong>step 7</strong>[/jump] below. (see screenshot below)</p><p></p><p>:ar: Dism /Online /Cleanup-Image /RestoreHealth /Source:wim:<strong><span style="color: #ff0000">Full Path to install.wim file</span></strong>:1</p><p></p><p><span style="font-size: 12px"><strong><span style="color: #ff0000">OR</span></strong></span></p><p></p><p>(To prevent DISM from using Windows Update for online images)</p><p>:ar: Dism /Online /Cleanup-Image /RestoreHealth /Source:wim:<strong><span style="color: #ff0000">Full Path to install.wim file</span></strong>:1 /limitaccess</p><p></p><p><strong>For example:</strong></p><p></p><p>:ar: Dism /Online /Cleanup-Image /RestoreHealth /Source:wim:<strong><span style="color: #ff0000">D:\sources\install.wim</span></strong>:1 /limitaccess</p><p></p><p>[ATTACH]63513[/ATTACH]</p><p></p><p></p><p></p><p>[anchor]option2s7[/anchor]<span style="font-size: 12px"><strong>7.</strong></span> If you did [jump=option2s5]<strong>step 5</strong>[/jump], [jump=option2s6]<strong>step 6</strong>[/jump], or [jump=option2s7]<strong>step 7</strong>[/jump] above, it is recommended to <a href="http://www.tenforums.com/tutorials/7370-restart-computer-windows-10-a.html"><strong>restart the computer</strong></a> to fully apply.</p><p></p><p></p><p></p><p></p><p></p><p>That's it,</p><p>Shawn</p><p></p><p></p><p>[rel]</p><ul> <li data-xf-list-type="ul"><a href="http://www.eightforums.com/tutorials/3047-sfc-scannow-command-run-windows-8-a.html">How to Run the "SFC /SCANNOW" Command at Boot or in Windows 8 and 8.1</a></li> <li data-xf-list-type="ul"><a href="http://www.eightforums.com/tutorials/26095-repair-install-windows-8-a.html">How to Do a Repair Install of Windows 8 and 8.1 without Losing Anything</a></li> <li data-xf-list-type="ul"><a href="http://www.sevenforums.com/tutorials/91738-windows-update-reset.html">How to Reset Windows Update in Vista, Windows 7, and Windows 8</a></li> <li data-xf-list-type="ul"><a href="http://www.eightforums.com/tutorials/2293-refresh-windows-8-a.html">How to Refresh Windows 8 and 8.1</a></li> <li data-xf-list-type="ul"><a href="http://www.eightforums.com/tutorials/2302-reset-windows-8-a.html">How to Reset Windows 8 and 8.1</a></li> <li data-xf-list-type="ul"><a href="http://www.eightforums.com/tutorials/4692-system-restore-how-do-windows-8-a.html">How to Do a System Restore in Windows 8 and 8.1</a></li> <li data-xf-list-type="ul"><a href="http://www.eightforums.com/tutorials/44348-winsxs-folder-component-store-analyze-windows-8-1-a.html">How to Determine Size and if you should Clean Up Component Store (WinSxS folder) in Windows 8.1</a></li> <li data-xf-list-type="ul"><a href="http://www.eightforums.com/tutorials/44351-winsxs-folder-component-store-clean-up-windows-8-1-a.html">How to Clean Up the WinSxS Folder (Component Store) in Windows 8.1</a></li> </ul><p>[/rel]</p></blockquote><p></p>
[QUOTE="Brink, post: 243197, member: 19"] [CENTER][SIZE=4][B]How to Use DISM to Fix Component Store Corruption in Windows 8 and Windows Server 2012[/B][/SIZE][/CENTER] One of the most used tools when fixing corruption for Vista, Windows 7, Windows Server 2008 and Windows Server 2008 R2 was the [B][URL='http://support.microsoft.com/kb/947821']System Update and Readiness Tool (KB947821)[/URL][/B], commonly called [B][URL='http://blogs.technet.com/b/joscon/archive/2010/05/26/using-checksur-and-update-packages-to-fix-corruption.aspx']CheckSUR[/URL][/B]. 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 [B]Windows 8/8.1[/B] and [B]Windows Server 2012[/B], this has changed. It’s called [B]Inbox Corruption Repair[/B] 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 [B]DISM /Cleanup-Image[/B] functionality. If a Windows image (Windows component store) becomes unserviceable, you can use the [B]Deployment Imaging and Servicing Management (DISM)[/B] tool to update the files and correct the problem. [B]For example:[/B] [LIST] [*]To use to fix Windows component store corruption when a [B][URL='http://www.eightforums.com/tutorials/3047-sfc-scannow-command-run-windows-8-a.html']SFC /SCANNOW[/URL][/B] 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 [B][URL='http://www.eightforums.com/tutorials/25343-windows-update-check-install-windows-8-a.html']Windows Updates[/URL][/B] continue to appear to be available to install even though they already show successfully installed in [B][URL='http://www.sevenforums.com/tutorials/24367-windows-update-view-update-history-details.html']update history[/URL][/B]. [/LIST] [B]For more information, see:[/B] [LIST] [*][URL='http://blogs.technet.com/b/joscon/archive/2012/09/26/fixing-component-store-corruption-in-windows-8-and-windows-server-2012.aspx']Fixing component store corruption in Windows 8 and Windows Server 2012 - The Windows Servicing Guy - Site Home - TechNet Blogs[/URL] [*][URL='http://technet.microsoft.com/en-us/library/hh824869.aspx']How to Repair a Windows Image[/URL] [/LIST] [line].[/line] This tutorial will show you how to do an [B]Inbox Corruption Repair [/B]with the [B]DISM /Cleanup-Image [/B]tool to fix component store corruption in [B]Windows 8[/B] and [B]Windows Server 2012[/B]. You must be signed in as an[B] administrator [/B]to be able to do an [B]Inbox Corruption Repair [/B]with the [B]Deployment Imaging and Servicing Management (DISM)[/B] tool. [note]The [B]DISM /Cleanup-Image[/B] 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. [B]C:\Windows\Logs\CBS\CBS.log[/B] [B]C:\Windows\Logs\DISM\dism.log[/B] [ATTACH]22947[/ATTACH] [ATTACH]22950[/ATTACH] [/note][tip]If you get an error like below when running a DISM command in an option below, then run the command below and try again afterwards. [URL='http://www.eightforums.com/tutorials/44351-winsxs-folder-component-store-clean-up-windows-8-1-a.html'][B]Dism.exe /online /Cleanup-Image /StartComponentCleanup[/B][/URL] [note]Error: 0x80240021 Failure DISM. No operation was performed.[/note] [/tip] [B][U][SIZE=5]CONTENTS:[/SIZE][/U][/B] [LIST] [*][jump=option1][B]Option One:[/B][/jump] To Run "DISM /Cleanup-Image" tool in an Elevated Command Prompt [*][jump=option2][B]Option Two:[/B][/jump] To Run "DISM /Cleanup-Image" tool in an Elevated PowerShell [/LIST] [anchor]option1[/anchor][option="OPTION ONE"]To Run "DISM /Cleanup-Image" tool in an Elevated Command Prompt[/option] [SIZE=3][B]1.[/B][/SIZE] Open an [B][URL='http://www.eightforums.com/tutorials/2754-elevated-command-prompt-open-windows-8-a.html']elevated command prompt[/URL][/B]. [SIZE=3][B]2.[/B][/SIZE] Do [jump=option1s3][B]step3[/B][/jump], [jump=option1s4][B]step 4[/B][/jump], [jump=option1s5][B]step 5[/B][/jump], or [jump=option1s6][B]step 6[/B][/jump] below for what DISM command you would like to use. [anchor]option1s3[/anchor][SIZE=3][B]3. [COLOR=#0000cd]To Use DISM /CheckHealth Command[/COLOR][/B][/SIZE] [note]You would use /CheckHealth to only check whether the image has been flagged as corrupted by a failed process and whether the corruption can be repaired. This is just a quick way to see if corruption currently exists, and to inform you if there is corruption. This does not fix anything or create a log. This will finish running almost instantly.[/note] A) In the elevated command prompt, copy and paste the command below, press Enter, and go to [jump=option1s7][B]step 7[/B][/jump] below. (see screenshot below) :ar: Dism /Online /Cleanup-Image /CheckHealth [ATTACH]22948[/ATTACH] [anchor]option1s4[/anchor][SIZE=3][B]4. [COLOR=#0000cd]To Use DISM /ScanHealth Command[/COLOR][/B][/SIZE] [note]You would use /ScanHealth to scan the image for component store corruption. This option does not fix any corruption. It only checks for component store corruption and records that corruption to the log file. This can take around 5-10 minutes to finish. It will stay at 20% for a while before continuing.[/note] A) In the elevated command prompt, copy and paste the command below, press Enter, and go to [jump=option1s7][B]step 7[/B][/jump] below. (see screenshot below) :ar: Dism /Online /Cleanup-Image /ScanHealth [ATTACH]22954[/ATTACH] [anchor]option1s5[/anchor][SIZE=3][B]5. [COLOR=#0000cd]To Use DISM /RestoreHealth Command[/COLOR][/B][/SIZE] [note][COLOR=#ff0000][B](recommended)[/B][/COLOR] You would use /RestoreHealth to scan the image for component store corruption, perform repair operations automatically, and records that corruption to the log file. This can take around 10-15 minutes up to a few hours to finish depending on the level of corruption. It will stay at 20% for a while before continuing.[/note] A) In the elevated command prompt, copy and paste the command below, press Enter, and go to [jump=option1s7][B]step 7[/B][/jump] below. (see screenshot below) :ar: Dism /Online /Cleanup-Image /RestoreHealth [ATTACH]22949[/ATTACH] [anchor]option1s6[/anchor][SIZE=3][B]6. [COLOR=#0000cd]To Use DISM /RestoreHealth /Source:wim Command[/COLOR][/B][/SIZE] [note]You would use /Source with /RestoreHealth to specify the location of an [B]install.wim[/B] file as the source of known good versions of files that can be used for the repair. This can take around 10-15 minutes up to a few hours to finish depending on the level of corruption. It will stay at 20% for a while before continuing. This can be useful if [jump=option1s5][B]step 5[/B][/jump] above was not able to repair the Windows image (component store). [line].[/line] The [B]install.wim[/B] file will be in the [B]Sources[/B] folder of a [URL='http://www.eightforums.com/tutorials/1697-iso-images-mount-unmount.html'][B]mounted[/B][/URL] [URL='http://www.eightforums.com/tutorials/18309-windows-8-windows-8-1-iso-download-create.html']Windows 8.1 ISO[/URL] file. [/note] A) In the elevated command prompt, type the command below you want to use, press Enter, and go to [jump=option1s7][B]step 7[/B][/jump] below. (see screenshot below) :ar: Dism /Online /Cleanup-Image /RestoreHealth /Source:wim:[B][COLOR=#ff0000]Full Path to install.wim file[/COLOR][/B]:1 [SIZE=3][B][COLOR=#ff0000]OR[/COLOR][/B][/SIZE] (To prevent DISM from using Windows Update for online images) :ar: Dism /Online /Cleanup-Image /RestoreHealth /Source:wim:[B][COLOR=#ff0000]Full Path to install.wim file[/COLOR][/B]:1 /limitaccess [B]For example:[/B] :ar: Dism /Online /Cleanup-Image /RestoreHealth /Source:wim:[B][COLOR=#ff0000]D:\sources\install.wim[/COLOR][/B]:1 /limitaccess [ATTACH]63512[/ATTACH] [anchor]option1s7[/anchor][SIZE=3][B]7.[/B][/SIZE] If you did [jump=option1s5][B]step 5[/B][/jump] or [jump=option1s6][B]step 6[/B][/jump] above, it is recommended to [B]restart the computer[/B] to fully apply. [anchor]option2[/anchor][option="OPTION TWO"]To Run "DISM /Cleanup-Image" tool in an Elevated PowerShell[/option] [SIZE=3][B]1.[/B][/SIZE] Open an [B][URL='http://www.eightforums.com/tutorials/12626-windows-powershell-open-elevated-windows-8-a.html']elevated PowerShell[/URL][/B]. [SIZE=3][B]2.[/B][/SIZE] Do [jump=option2s3][B]step3[/B][/jump], [jump=option2s4][B]step 4[/B][/jump], [jump=option2s5][B]step 5[/B][/jump], or [jump=option2s6][B]step 6[/B][/jump] below for what DISM command you would like to use. [anchor]option2s3[/anchor][SIZE=3][B]3. [COLOR=#0000cd]To Use DISM /CheckHealth Command[/COLOR][/B][/SIZE] [note]You would use /CheckHealth to only check whether the image has been flagged as corrupted by a failed process and whether the corruption can be repaired. This is just a quick way to see if corruption currently exists, and to inform you if there is corruption. This does not fix anything or create a log. This will finish running almost instantly.[/note] A) In the elevated command prompt, copy and paste the command below, press Enter, and go to [jump=option2s7][B]step 7[/B][/jump] below. (see screenshot below) :arrow: Repair-WindowsImage /Cleanup-Image /CheckHealth [ATTACH]22951[/ATTACH] [anchor]option2s4[/anchor][SIZE=3][B]4. [COLOR=#0000cd]To Use DISM /ScanHealth Command[/COLOR][/B][/SIZE] [note]You would use /ScanHealth to scan the image for component store corruption. This option does not fix any corruption. It only checks for component store corruption and records that corruption to the log file. This can take around 5-10 minutes to finish. It will stay at 20% for a while before continuing.[/note] A) In the elevated command prompt, copy and paste the command below, press Enter, and go to [jump=option2s7][B]step 7[/B][/jump] below. (see screenshot below) :arrow: Repair-WindowsImage /Cleanup-Image /ScanHealth [ATTACH]22956[/ATTACH] [anchor]option2s5[/anchor][SIZE=3][B]5. [COLOR=#0000cd]To Use DISM /RestoreHealth Command[/COLOR][/B][/SIZE] [note][COLOR=#ff0000][B](recommended)[/B][/COLOR] You would use /RestoreHealth to scan the image for component store corruption, perform repair operations automatically, and records that corruption to the log file. This can take around 10-15 minutes up to a few hours to finish depending on the level of corruption. It will stay at 20% for a while before continuing.[/note] A) In the elevated command prompt, copy and paste the command below, press Enter, and go to [jump=option2s7][B]step 7[/B][/jump] below. (see screenshot below) :arrow: Repair-WindowsImage /Cleanup-Image /RestoreHealth [ATTACH]22952[/ATTACH] [anchor]option2s6[/anchor][SIZE=3][B]6. [COLOR=#0000cd]To Use DISM /RestoreHealth /Source:wim Command[/COLOR][/B][/SIZE] [note]You would use /Source with /RestoreHealth to specify the location of an [B]install.wim[/B] file as the source of known good versions of files that can be used for the repair. This can take around 10-15 minutes up to a few hours to finish depending on the level of corruption. It will stay at 20% for a while before continuing. This can be useful if [jump=option2s5][B]step 5[/B][/jump] above was not able to repair the Windows image (component store). [line].[/line] The [B]install.wim[/B] file will be in the [B]Sources[/B] folder of a [URL='http://www.eightforums.com/tutorials/1697-iso-images-mount-unmount.html'][B]mounted[/B][/URL] [URL='http://www.eightforums.com/tutorials/18309-windows-8-windows-8-1-iso-download-create.html']Windows 8.1 ISO[/URL] file. [/note] A) In the elevated command prompt, type the command below you want to use, press Enter, and go to [jump=option1s7][B]step 7[/B][/jump] below. (see screenshot below) :ar: Dism /Online /Cleanup-Image /RestoreHealth /Source:wim:[B][COLOR=#ff0000]Full Path to install.wim file[/COLOR][/B]:1 [SIZE=3][B][COLOR=#ff0000]OR[/COLOR][/B][/SIZE] (To prevent DISM from using Windows Update for online images) :ar: Dism /Online /Cleanup-Image /RestoreHealth /Source:wim:[B][COLOR=#ff0000]Full Path to install.wim file[/COLOR][/B]:1 /limitaccess [B]For example:[/B] :ar: Dism /Online /Cleanup-Image /RestoreHealth /Source:wim:[B][COLOR=#ff0000]D:\sources\install.wim[/COLOR][/B]:1 /limitaccess [ATTACH]63513[/ATTACH] [anchor]option2s7[/anchor][SIZE=3][B]7.[/B][/SIZE] If you did [jump=option2s5][B]step 5[/B][/jump], [jump=option2s6][B]step 6[/B][/jump], or [jump=option2s7][B]step 7[/B][/jump] above, it is recommended to [URL='http://www.tenforums.com/tutorials/7370-restart-computer-windows-10-a.html'][B]restart the computer[/B][/URL] to fully apply. That's it, Shawn [rel] [LIST] [*][URL='http://www.eightforums.com/tutorials/3047-sfc-scannow-command-run-windows-8-a.html']How to Run the "SFC /SCANNOW" Command at Boot or in Windows 8 and 8.1[/URL] [*][URL='http://www.eightforums.com/tutorials/26095-repair-install-windows-8-a.html']How to Do a Repair Install of Windows 8 and 8.1 without Losing Anything[/URL] [*][URL='http://www.sevenforums.com/tutorials/91738-windows-update-reset.html']How to Reset Windows Update in Vista, Windows 7, and Windows 8[/URL] [*][URL='http://www.eightforums.com/tutorials/2293-refresh-windows-8-a.html']How to Refresh Windows 8 and 8.1[/URL] [*][URL='http://www.eightforums.com/tutorials/2302-reset-windows-8-a.html']How to Reset Windows 8 and 8.1[/URL] [*][URL='http://www.eightforums.com/tutorials/4692-system-restore-how-do-windows-8-a.html']How to Do a System Restore in Windows 8 and 8.1[/URL] [*][URL='http://www.eightforums.com/tutorials/44348-winsxs-folder-component-store-analyze-windows-8-1-a.html']How to Determine Size and if you should Clean Up Component Store (WinSxS folder) in Windows 8.1[/URL] [*][URL='http://www.eightforums.com/tutorials/44351-winsxs-folder-component-store-clean-up-windows-8-1-a.html']How to Clean Up the WinSxS Folder (Component Store) in Windows 8.1[/URL] [/LIST] [/rel] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Windows 8 Forums
Tutorials
DISM - Fixing Component Store Corruption in Windows 8
Menu
Log in
Register
Install the app
Install
Forums
What's new
Log in
Register
Search
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.
Accept
Learn more…
Top