Windows 10: I cannot run Dism /Online /Cleanup-Image /StartComponentCleanup error code 87

Discus and support I cannot run Dism /Online /Cleanup-Image /StartComponentCleanup error code 87 in Windows 10 BSOD Crashes and Debugging to solve the problem; Hi, I was running Dism /Online /Cleanup-Image /StartComponentCleanup to debug one of Windows' many problems when I ran into another error: Error 87.... Discussion in 'Windows 10 BSOD Crashes and Debugging' started by Alex407, Nov 15, 2020.

  1. Alex407 Win User

    I cannot run Dism /Online /Cleanup-Image /StartComponentCleanup error code 87


    Hi, I was running Dism /Online /Cleanup-Image /StartComponentCleanup to debug one of Windows' many problems when I ran into another error: Error 87. Upon careful inspection of the DISM log file, I found that the log file said that error code 0x80070057 had occurred. What's going on and how can I fix the problem? Thanks!

    :)
     
    Alex407, Nov 15, 2020
    #1

  2. Dism error 87 "cleanup-image option is unknown"

    Im in winPE trying to use:

    on an offline image but cannot get past this error:

    I did the exact same procedure on windows 8 and a separate fresh install of windows 10 with no issues at all.

    I've gone through all the Microsoft articles about dism i could find, many sites, and forum posts outlining the same handful of procedures that are supposed to fix this and other issues but don't seem to work half the time.

    Supposedly error 87 is a syntax issue but this clearly doesn't apply to my situation. The error occurs with other options as well, /scanhealth, /checkhealth, /restorehealth, it isn't limited to just /cleanup-image.There appears to be no proven solution to this problem, if so its very hidden.

    Any suggestions?
     
    BrainRenticus, Nov 15, 2020
    #2
  3. DISM - Parameter "Cleanup-Image" is not known (error 87)

    Hello Eric,

    To troubleshoot your concern, we suggest that you run DISM Restore Health command. Refer to the steps provided below:

    • Open Command Prompt (Administrator).
    • Type the following command:
    DISM /Online /Cleanup-Image /RestoreHealth

    3. Press Enter.

    Let us know how it goes.

    Thank you.
     
    Stephanie Sal, Nov 15, 2020
    #3
  4. I cannot run Dism /Online /Cleanup-Image /StartComponentCleanup error code 87

    dism /online /Cleanup-Image /StartComponentCleanup Error: 5

    Hi .

    Im running Windows 10 Pro x64 (1909 ) buid 10.0.18363.628

    When I run the command :

    dism /online /Cleanup-Image /StartComponentCleanup

    It stuck at 20%

    and I get Error: 5

    Access is denied.

    In the dism.log I see this lines ...

    2020-02-08 21:34:04, Info DISM DISM Package Manager: PID=3744 TID=6800 Processing the top level command token(cleanup-image). - CPackageManagerCLIHandler:I cannot run Dism /Online /Cleanup-Image /StartComponentCleanup error code 87 :private_ValidateCmdLine

    2020-02-08 21:34:04, Info DISM DISM Package Manager: PID=3744 TID=6800 Attempting to route to appropriate command handler. - CPackageManagerCLIHandler::ExecuteCmdLine

    2020-02-08 21:34:04, Info DISM DISM Package Manager: PID=3744 TID=6800 Routing the command... - CPackageManagerCLIHandler::ExecuteCmdLine

    2020-02-08 21:34:04, Info DISM DISM Package Manager: PID=3744 TID=6800 CBS session options=0x400100! - CDISMPackageManager::Internal_Finalize

    2020-02-08 21:34:11, Info DISM DISM Package Manager: PID=3744 TID=1600 Error in operation: (null) (CBS HRESULT=0x80070005) - CCbsConUIHandler::Error

    2020-02-08 21:34:11, Error DISM DISM Package Manager: PID=3744 TID=6800 Failed finalizing changes. - CDISMPackageManager::Internal_Finalize(hr:0x80070005)

    2020-02-08 21:34:11, Error DISM DISM Package Manager: PID=3744 TID=6800 Failed processing package changes - CDISMPackageManager::StartComponentCleanupEx(hr:0x80070005)

    2020-02-08 21:34:11, Error DISM DISM Package Manager: PID=3744 TID=6800 Failed to start component cleanup. - CPackageManagerCLIHandler:I cannot run Dism /Online /Cleanup-Image /StartComponentCleanup error code 87 :processCmdLine_CleanupImage(hr:0x80070005)

    2020-02-08 21:34:11, Error DISM DISM Package Manager: PID=3744 TID=6800 Failed while processing command cleanup-image. - CPackageManagerCLIHandler::ExecuteCmdLine(hr:0x80070005)

    2020-02-08 21:34:11, Info DISM DISM Package Manager: PID=3744 TID=6800 Further logs for online package and feature related operations can be found at %WINDIR%\logs\CBS\cbs.log - CPackageManagerCLIHandler::ExecuteCmdLine

    2020-02-08 21:34:11, Error DISM DISM.EXE: DISM Package Manager processed the command line but failed. HRESULT=80070005

    --------------------------------------------------------------------------------------

    I want to say the when I use the commands

    dism /online /cleanup-image /checkhealth

    dism /online /cleanup-image /scanhealth

    dism /online /cleanup-image /restorehealth

    this comands works successfully , but when I try dism /online /Cleanup-Image /StartComponentCleanup

    then error: 5 Access denied

    I would like know what cause this issue . and fix it

    Please help I cannot run Dism /Online /Cleanup-Image /StartComponentCleanup error code 87 :(
     
    Kentsfield, Nov 15, 2020
    #4
Thema:

I cannot run Dism /Online /Cleanup-Image /StartComponentCleanup error code 87

Loading...
  1. I cannot run Dism /Online /Cleanup-Image /StartComponentCleanup error code 87 - Similar Threads - cannot run Dism

  2. DISM /Online /Cleanup-Image /CheckHealth

    in Windows 10 Gaming
    DISM /Online /Cleanup-Image /CheckHealth: Windows 11 22H2 22621.2134 Public Versionis the Check Health option still working properly?As of late as soon as you hit enter Check Health comes back with an immediate response nothing found. However when you do Scan Health problems are found.Has anyone else seen this?...
  3. DISM /Online /Cleanup-Image /CheckHealth

    in Windows 10 Software and Apps
    DISM /Online /Cleanup-Image /CheckHealth: Windows 11 22H2 22621.2134 Public Versionis the Check Health option still working properly?As of late as soon as you hit enter Check Health comes back with an immediate response nothing found. However when you do Scan Health problems are found.Has anyone else seen this?...
  4. DISM Error: 87 the Cleanup-Image option is unknown

    in Windows 10 Installation and Upgrade
    DISM Error: 87 the Cleanup-Image option is unknown: So I'm having trouble finding and installing updates, and that has led me to an issue with DISM while trying to fix it.When i run DISM, "Dism /Online /Cleanup-Image /ScanHealth" it returns an error:87 the Cleanup-Image option is unknown.I can run "Dism /online /Cleanup-Image...
  5. DISM Error: 87 the Cleanup-Image option is unknown

    in Windows 10 Gaming
    DISM Error: 87 the Cleanup-Image option is unknown: So I'm having trouble finding and installing updates, and that has led me to an issue with DISM while trying to fix it.When i run DISM, "Dism /Online /Cleanup-Image /ScanHealth" it returns an error:87 the Cleanup-Image option is unknown.I can run "Dism /online /Cleanup-Image...
  6. DISM Error: 87 the Cleanup-Image option is unknown

    in Windows 10 Software and Apps
    DISM Error: 87 the Cleanup-Image option is unknown: So I'm having trouble finding and installing updates, and that has led me to an issue with DISM while trying to fix it.When i run DISM, "Dism /Online /Cleanup-Image /ScanHealth" it returns an error:87 the Cleanup-Image option is unknown.I can run "Dism /online /Cleanup-Image...
  7. Error 0x80029c4a at DISM /Online /Cleanup-Image /RestoreHealth

    in Windows 10 Software and Apps
    Error 0x80029c4a at DISM /Online /Cleanup-Image /RestoreHealth: Every time I try to use DISM /Online /Cleanup-Image /RestoreHealth I get Error 0x80029c4a.I dont know how to fix this.Help https://answers.microsoft.com/en-us/windows/forum/all/error-0x80029c4a-at-dism-online-cleanup-image/8d8f32db-fc1e-4cab-b53b-25bdbdb401ec
  8. Error 0x80029c4a at DISM /Online /Cleanup-Image /RestoreHealth

    in Windows 10 BSOD Crashes and Debugging
    Error 0x80029c4a at DISM /Online /Cleanup-Image /RestoreHealth: Every time I try to use DISM /Online /Cleanup-Image /RestoreHealth I get Error 0x80029c4a.I dont know how to fix this.Help https://answers.microsoft.com/en-us/windows/forum/all/error-0x80029c4a-at-dism-online-cleanup-image/8d8f32db-fc1e-4cab-b53b-25bdbdb401ec
  9. DISM /Online /Cleanup-Image /RestoreHealth

    in Windows 10 BSOD Crashes and Debugging
    DISM /Online /Cleanup-Image /RestoreHealth: When I run this command its always stuck in 43-44 % its said access denied error 5 https://answers.microsoft.com/en-us/windows/forum/all/dism-online-cleanup-image-restorehealth/cd798b7b-e035-4d1b-9f9d-3b00a17fd9ca
  10. dism /online /Cleanup-Image /StartComponentCleanup Error: 5

    in Windows 10 BSOD Crashes and Debugging
    dism /online /Cleanup-Image /StartComponentCleanup Error: 5: Hi . Im running Windows 10 Pro x64 1909 buid 10.0.18363.628 When I run the command : dism /online /Cleanup-Image /StartComponentCleanup It stuck at 20% and I get Error: 5 Access is denied. In the dism.log I see this lines ... 2020-02-08 21:34:04,...