Image Repair Command Fails, "DISM /Online /Cleanup-Image /ScanHealth Fails With Error 87".

DISM /Online /Cleanup-Image /ScanHealth Fails With Error 87

After running the command in an elevated command prompt, console stopped and returned an error:

   error 87

   the cleanup-image option is not known

After checking DISM.exe log in dism.txt file, I found this information:

2014-09-08 18:33:48, Info                  DISM   DISM.EXE: <----- Starting Dism.exe session ----->

2014-09-08 18:34:21, Warning               DISM   DISM Provider Store: PID=7044 TID=6272 Failed to Load the

   provider:

   C:\Users\****\AppData\Local\Temp\631DCABC-F9F1-43FE-BAC4-831D6846292E\PEProvider.dll. -

   CDISMProviderStore::Internal_GetProvider(hr:0x8007007e)

2014-09-08 18:34:22, Warning               DISM   DISM Provider Store: PID=7044 TID=6272 Failed to get the

   IDismObject Interface - CDISMProviderStore::Internal_LoadProvider(hr:0x80004002)

2014-09-08 18:34:22, Warning               DISM   DISM Provider Store: PID=7044 TID=6272 Failed to Load the

   provider:C:\Users\****\AppData\Local\Temp\631DCABC-F9F1-43FE-BAC4-831D6846292E\Wow64provider.dll. -

   CDISMProviderStore::Internal_GetProvider(hr:0x80004002)

2014-09-08 18:34:22, Warning               DISM   DISM Provider Store: PID=7044 TID=6272 Failed to Load the

   provider:

   C:\Users\****\AppData\Local\Temp\631DCABC-F9F1-43FE-BAC4-831D6846292E\EmbeddedProvider.dll. -

   CDISMProviderStore::Internal_GetProvider(hr:0x8007007e)

2014-09-08 18:34:22, Error                 DISM   DISM.EXE: No providers were found that support the command

   (celeanup-image). HRESULT=0

2014-09-08 18:34:22, Info                  DISM   DISM.EXE: Image session has been closed. Reboot required=no.

2014-09-08 18:34:22, Info                  DISM   DISM.EXE: <----- Ending Dism.exe session ----->

After running command second time scan completed successfully without detecting any component store corruption, but component store corruption may have avoided detection somehow.

Hello Luke,

Thank you for posting your query in Microsoft Community Forum and good to know that scan completed successfully without detecting any component store corruption.

The issue may have been caused due to system files being missing or corrupted.

In this case, I would suggest you to run system file checker tool to repair missing or corrupted system files in Windows.

System File Checker is a utility in Windows that allows users to scan for corruptions in Windows system files and restore corrupted files.

Refer to: Use the System File Checker tool to repair missing or corrupted system files

Hope this information is helpful. Do feel free to write to us in case you have any issues/concerns while working on your computer.


Thank you.

2 people found this reply helpful

·

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

when I did sfc /scannow I got windows found errors and was unable to repair all

3 people found this reply helpful

·

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Hi,

Thank you for the update.

Please follow the steps given below. Insert the Windows 8.1 installation DVD in the DVD ROM and restart your computer.

a) After you boot your computer using Windows DVD or System Repair Disc, a black screen appears with gray text "Press any key to boot from CD or DVD". Press any key.
b) Select the correct time and Keyboard type.
c) Click Repair your computer in the lower left corner.
d) Select Troubleshoot from Choose an option screen.
e) Click Advanced options in Troubleshoot screen.
f) Click Automatic Repair from Advanced Options screen.
g) Next, choose the operating system by clicking on its button.
h) Windows 8.1 will then look for problems on hard drive(s) and verify that all required files are intact.

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

 
 

Question Info


Last updated February 25, 2025 Views 12,341 Applies to: