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.