Windows 10: Error 21 "The device is not ready" when running "DISM /Online /Cleanup-Image...

Discus and support Error 21 "The device is not ready" when running "DISM /Online /Cleanup-Image... in Windows 10 BSOD Crashes and Debugging to solve the problem; Hi Everyone, whenever I run DISM /Online /Cleanup-Image /ScanHealth It says the component store is repairable. When I run "DISM /Online /Cleanup-Image... Discussion in 'Windows 10 BSOD Crashes and Debugging' started by TechDude34, May 28, 2020.

  1. Error 21 "The device is not ready" when running "DISM /Online /Cleanup-Image...


    Hi Everyone, whenever I run DISM /Online /Cleanup-Image /ScanHealth It says the component store is repairable. When I run "DISM /Online /Cleanup-Image /RestoreHealth" from command prompt to fix the component store, I get an error message that says "Error: 21 The device is not ready." When I run SFC /Scannow it "windows has found corrupt files and was able to fix some of them restart your computer to finish the repair. When I restart my computer and run Sfc /scannow against I still get the same message. I have attached some screenshots below. Is there anything else I can try to fix these issues with my computer. Thank you, hope you guys can help me.


    Error 21 "The device is not ready"  when running "DISM /Online /Cleanup-Image... ee4cee03-4a88-4c68-8e4b-d0e0944ee37e?upload=true.png

    :)
     
    TechDude34, May 28, 2020
    #1

  2. 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, May 28, 2020
    #2
  3. 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:Error 21 "The device is not ready"  when running "DISM /Online /Cleanup-Image... :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:Error 21 "The device is not ready"  when running "DISM /Online /Cleanup-Image... :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 Error 21 "The device is not ready"  when running "DISM /Online /Cleanup-Image... :(
     
    Kentsfield, May 28, 2020
    #3
  4. Error 21 "The device is not ready" when running "DISM /Online /Cleanup-Image...

    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, May 28, 2020
    #4
Thema:

Error 21 "The device is not ready" when running "DISM /Online /Cleanup-Image...

Loading...
  1. Error 21 "The device is not ready" when running "DISM /Online /Cleanup-Image... - Similar Threads - Error device ready

  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 /online /cleanup-image /restorehealth command error.

    in Windows 10 Software and Apps
    dism /online /cleanup-image /restorehealth command error.: While i try the dism /online /cleanup-image /restorehealth on CMDadmin i get the following error:[===========================55.2% ] Error: 605 The specified buffer contains ill-formed data. The DISM log file can be found at C:\WINDOWS\Logs\DISM\dism.logAlso i get this...
  5. dism /online /cleanup-image /restorehealth command error.

    in Windows 10 Installation and Upgrade
    dism /online /cleanup-image /restorehealth command error.: While i try the dism /online /cleanup-image /restorehealth on CMDadmin i get the following error:[===========================55.2% ] Error: 605 The specified buffer contains ill-formed data. The DISM log file can be found at C:\WINDOWS\Logs\DISM\dism.logAlso i get this...
  6. Error 0x80029c4a at DISM /Online /Cleanup-Image /RestoreHealth

    in Windows 10 Gaming
    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
  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,...