Windows 8 and 8.1 Forums


DISM - Fixing Component Store Corruption in Windows 8

  1. #190



    Trying to Sith things out
    Bamberg Germany
    Posts : 2,213
    Windows 10 Pro 64 bit


    Addictive Gamer I see you're using PowerShell. You do know to execute scripts on your machine you need to change permissions?
    PowerShell is so much more powerful(and dangerous) than command prompt, because it can open your system wide open to malware. So choose your permissions wisely. Also it is good to update PowerShell Help by opening as administrator clicking help tab and choose Update Help(this needs to be done with Windows 8.1 at least once because changes have been made..

    You can change the PowerShell script execution behavior using "Set-ExecutionPolicy". The Set-ExecutionPolicy cmdlet enables you to determine which Windows PowerShell scripts will be allowed to run on your computer.
    Windows PowerShell has four different execution policies:


    • Restricted - No scripts can be run. Windows PowerShell can be used only in interactive mode.
    • AllSigned - Only scripts signed by a trusted publisher can be run.
    • RemoteSigned - Downloaded scripts must be signed by a trusted publisher before they can be run.
    • Unrestricted - No restrictions; all scripts can be run.

    To get more information on Set-ExecutionPolicy, type "Get-Help Set-ExecutionPolicy" as shown below.
    Go to this source to read more.

      My System SpecsSystem Spec

  2. #191


    Posts : 356
    Windows 8.1 Enterprise


    Quote Originally Posted by Brink View Post
    Hello Addictive Gamer,

    Here's the usage information for the DISM /Get-ImageInfo command to help.
    Oh I see, so for this command we need an actual image file, with /online switch it looks being redundant.
    I gave up on querying for help since it said "unknown".
    thanks Brink

    Quote Originally Posted by Cliff S View Post
    Addictive Gamer I see you're using PowerShell. You do know to execute scripts on your machine you need to change permissions?


    Thanks Cliff for sharing, I'm aware of this
      My System SpecsSystem Spec

  3. #192


    Posts : 22,029
    64-bit Windows 10


    Glad we could help.
      My System SpecsSystem Spec

  4. #193


    Posts : 561
    W10 x64 pro and W10 x86


    I've been doing a clean 8.1 install and found after bringing Wndows Update up to date (all updates installed, no failures) that SFC reported unfixable errors. The Health Check option of the DISM options showed no problems flagged at which point I was feeling slightly despondant but I ran the Restore Health option anyway and now SFC reports all well.

    This really is is a wonderful tool.
      My System SpecsSystem Spec

  5. #194



    Trying to Sith things out
    Bamberg Germany
    Posts : 2,213
    Windows 10 Pro 64 bit


    Quote Originally Posted by Mooly View Post
    I've been doing a clean 8.1 install and found after bringing Wndows Update up to date (all updates installed, no failures) that SFC reported unfixable errors. The Health Check option of the DISM options showed no problems flagged at which point I was feeling slightly despondant but I ran the Restore Health option anyway and now SFC reports all well.

    This really is is a wonderful tool.
    After the latest round of updates, in the last couple of weeks(about 34 of 'em), I did a update cleanup first, then ran Dism.exe /online /Cleanup-Image /StartComponentCleanup&sfc/scannow&Dism /Online /Cleanup-Image /RestoreHealth&sfc/scannow&pause todayand the first time through it found file corruptions(probably due to changes to all those update files) did a reboot and ran it again and recieved a clean bill of health. To repair corruptions one must reboot because chances are the files are in use by the OS.

    I bet your corruption were also do to the updates(probably alot of conflicting files due to changes, but didn't affect the use of the system because windows didn't even look at them anymore. like an ex-girlfriend.)
      My System SpecsSystem Spec

  6. #195


    Posts : 561
    W10 x64 pro and W10 x86


    I'm sure your right Cliff. I did run the cleanup tool at some point in all this, together with plenty of re-starts to shuffle the file system into place. (I've just made a disk image of the updated cleaned image for future possible use).
      My System SpecsSystem Spec

  7. #196



    Trying to Sith things out
    Bamberg Germany
    Posts : 2,213
    Windows 10 Pro 64 bit


    Quote Originally Posted by Mooly View Post
    . (I've just made a disk image of the updated cleaned image for future possible use).
    ALWAYS a good idea
      My System SpecsSystem Spec

  8. #197


    Posts : 152
    Windows 8.1 update 1


    I used cmd.exe to run the following:

    I ran: sfc /scannow and had errors.

    So I ran: Dism /Online /Cleanup-Image /RestoreHealth and had an error with that aswell.

    Any idea what I should do next?

    I can't seem to insert an image - How do I insert the log file?
    Should I just copy and paste?

    Thanks
      My System SpecsSystem Spec

  9. #198



    Trying to Sith things out
    Bamberg Germany
    Posts : 2,213
    Windows 10 Pro 64 bit


    Quote Originally Posted by Autobahn View Post
    I used cmd.exe to run the following:

    I ran: sfc /scannow and had errors.

    So I ran: Dism /Online /Cleanup-Image /RestoreHealth and had an error with that aswell.

    Any idea what I should do next?

    I can't seem to insert an image - How do I insert the log file?
    Should I just copy and paste?

    Thanks
    When you have errors with either you have to reboot and then run it again to make sure they were corrected. Sometimes you must do it a couple of times.

    To insert a log file Go Advanced and click the paperclip and then Add Files in the upper right of the pop-up box then select uploader in the bottom right of the box for multiple file uploads..i.e. screenshot & log file.
      My System SpecsSystem Spec

  10. #199


    Posts : 152
    Windows 8.1 update 1


    My Dell laptop is working fine and I want to create an image, but want to sort these errors out first.

    I tried attaching the dism log and I keep getting an error - I don't know why?

    I reran sfc /scannow and it came up with errors - restarted, reran it again and it still came up with errors.

    Ran Dism /Online /Cleanup-Image /RestoreHealth but that came up with an error aswell.

    I seem to be getting this warning continuously in the dism log:
    Dism driver manger: 'Could not get boot critical status for the driver class'
    and this a few times:
    'The file name, directory name or volume label syntax is incorrect'
      My System SpecsSystem Spec

Page 20 of 32 FirstFirst ... 10181920212230 ... LastLast
DISM - Fixing Component Store Corruption in Windows 8

Similar Threads
Thread Forum
WinSxS Folder (Component Store) - Analyze in Windows 8.1
How to Determine Size and if you should Clean Up Component Store (WinSxS folder) in Windows 8.1 The WinSxS folder is located in the Windows folder, for example c:\Windows\WinSxS. Itís the location for Windows Component Store files. The Windows Component Store is used to support the functions...
Tutorials
DISM says "component store is repairable"
Hi guys, I recently did a routine maintenance of my computer and after running Dism /Online /Cleanup-Image /CheckHealth command, it reported that the component store is repairable. Then, I immediately followed it up with sfc /scannow and it reported no integrity violations. I was just wondering...
Performance & Maintenance
WinSxS Folder (Component Store) - Clean Up in Windows 8.1
How to Clean Up the WinSxS Folder (Component Store) in Windows 8.1 The WinSxS folder is located in the Windows folder, for example C:\Windows\WinSxS. Itís the location for Windows Component Store files. The Windows Component Store is used to support the functions needed for the customization...
Tutorials
Component Store corruption Win 8.1
I am getting repeated Component store corruptions after any security updates. No metro apps will open yet an icon appears on the Taskbar. I have been able to repair it with DISM every time but that is beside the point. I want to know why!
Software and Apps
DISM tool continually finds corruption
A friend has been having an intermittant issue with a Win 8 app so I've run the DISM tool. When I run it, it says it completed successfully, and "the component store corruption was repaired". But if I run it again immediately, it gives the same message. I've rebooted too, same result, four times...
General Support
Windows Update kb2919355 causes component store corruption
Hi. I've been having problems with my laptop recently. I actually care less when it comes to updates since it's automatic, but I noticed that it refuses to install any drivers (which means I cannot access any USB drives or install programs that requites drivers) or updates, after searching for...
Windows Updates & Activation
Why am I denied access to CBS.log file- fixing corruption?
I fixed corrupt files with the help of Brink's brilliant tutorial: 'How to use DISM to fix Component, etc, etc.......... I then wanted to see what they were in C:\Windows\Logs\CBS\CBS.log. I got as far as CBS.log, but Notepad opened & stated that I was denied access. Why? I am the Administrator....
General Support
Eight Forums Android App Eight Forums IOS App Follow us on Facebook