Windows 8 and 8.1 Forums

Issue with Dism/Online/Cleanup-Image/RestoreHealth

  1. #1

    Butler, PA
    Posts : 32
    Windows 8.1 Pro with Media Center

    Issue with Dism/Online/Cleanup-Image/RestoreHealth

    I am trying to use dism/online/cleanup-image/restorehealth tool in an elevated command prompt to fix corrupt files that sfc/scannow is unable to repair. I keep getting this error message below:

    Microsoft Windows [Version 6.2.9200]
    (c) 2012 Microsoft Corporation. All rights reserved.
    Deployment Image Servicing and Management tool
    Version: 6.2.9200.16384

    Error: 87
    The online/cleanup-image/restorehealth option is unknown.
    For more information, refer to the help by running DISM.exe /?.
    The DISM log file can be found at C:\WINDOWS\Logs\DISM\dism.log


      My System SpecsSystem Spec

  2. #2

    Posts : 21,860
    64-bit Windows 10

    Hello pbm, and welcome to Eight Forums.

    No worries. You are just entering the command incorrectly. It should be this below with the spaces instead:

    Dism /Online /Cleanup-Image /RestoreHealth

    DISM - Fixing Component Store Corruption in Windows 8

    Just to note, that dism doesn't repair corrupt files. Instead it fixes the component store that SFC uses to fix corrupted files instead.
    Hope this helps,
      My System SpecsSystem Spec

  3. #3

    Posts : 59
    windows 8.1

    "Just to note, that dism doesn't repair corrupt files. Instead it fixes the component store that SFC uses to fix corrupted files instead."

    not trying to contradict you.
    But I havent been able to understand this because

    I ran sfc /scannow and got results saying it found corrupted files but couldnt replace them.

    I ran dism and after it finished, ran sfc scannow and got results that there was no corrupted files and everything was fine, which means that the problem was fixed before sfc even ran. even the cbs log said everything checked out fine.
      My System SpecsSystem Spec

  4. #4

    Posts : 21,860
    64-bit Windows 10

    Hello dskiller,

    No worries, here's a great article below about the Dism /Online /Cleanup-Image /RestoreHealth command with more details about it. Most likely, the dism command fixed the same corruption in the component store that SFC was also detecting. Once fixed, SFC will no longer report it either.

    Fixing component store corruption in Windows 8 and Windows Server 2012 - The Windows Servicing Guy - Site Home - TechNet Blogs
      My System SpecsSystem Spec

Issue with Dism/Online/Cleanup-Image/RestoreHealth

Similar Threads
Thread Forum
Error: 87 The online/cleanup-image/restorehealth option is
Please note I am a complete novice - so kindly request replies to be suited - with thanks! Windows 8.1 I did a sfc/scannow because my monitor went black a couple of time (not a monitor problem though!) result: Windows Resource protection found corrupt files but was unable to fix some...
Performance & Maintenance
DISM /restoreHealth failes with error: 0x800f081f
after updating to 8.1u1, i'm running "dism /online /cleanup-image /restorehealth" and I get the following: C:\Windows\Logs\DISM>dism /online /cleanup-image /restorehealth Deployment Image Servicing and Management tool Version: 6.3.9600.17031 Image Version: 6.3.9600.17031 The restore...
Performance & Maintenance
Scannow and Dism restorehealth problem
After several sfc /scannow and Dism runs in admin command prompt I get the following attachment reports. I have looked at the logs of both and also visited the Microsoft page indicated in the Dism report. Both go way over my head in trying to find an answer to this problem, something about a...
Performance & Maintenance
Dism online restore health function gets error 0x80240021
Hi, I have a desktop computer running Windows 8.1 Pro 64-bit. My computer suffered from an improper shutdown during a power outage. I am getting multiple error messages on logging in, and the sfc /scannow command shows several corrupt files, including msvcr80.dll and multiple others,...
Performance & Maintenance
Disk Cleanup Stuck With Windows Update Cleanup With SSD
Well, as the title suggests, I'm having an issue with Disk Cleanup with a new SSD I recently purchased. In all my years with HDDs I never had this problem. I've been running Windows 8.1 with an HDD for over a year now with no such problem so this is quite new & odd to me. The Windows Update Cleanup...
Performance & Maintenance
how to fix dism /online /cleanup-image /restorehealth erro
while runningsfcfix.exe it gives me this error CBS & SFC total detected corruption count: 1 also i have try running Dism /Online /Cleanup-Image /RestoreHealth and it gives me a error 0x800f081f in addition i try running the windows 8.1 cd startup repair and it could not repair it. how can...
Performance & Maintenance
Creating a Windows 8 Image using Dism
Hi, So I'm creating a Win8 image with custom software installed, but now i'm stuck on the next steps, I've captured the image but the below link send me in a bit of confusion on the next steps! With win 7 in the past I used to be able to just capture the image and replace the original boot.wim...
Installation & Setup

Eight Forums Android App Eight Forums IOS App Follow us on Facebook