April 26, 20233 yr The references below told me how. I had some windows errors. This fixed it. In windows search type: CMD Right click on it and chose run as administrator. The following three CMDs should be run in order. First check. Then scan. Then restore. DISM /Online /Cleanup-Image /CheckHealth DISM /Online /Cleanup-Image /ScanHealth Dism /Online /Cleanup-Image /RestoreHealth A very common problem is when running the 3rd CMD (RestoreHealth) it never finishes and gets stuck somewhere short of 100%. If that happens (it did to me) leave that black CMD window open and running, but open a second CMD window (as administrator). And run this: sfc /scannow If it finds errors, then it will try to fix them (corrupted files). You can run this command again until it shows no errors. Now close both CMD windows (it should not hurt that an action is stuck and not finished, you can still close these CMD windows according to the references below). Restart Windows Run this again: Dism /Online /Cleanup-Image /RestoreHealth It should now finish and not get stuck, hopefully. If it still is stuck then you may have to reinstall windows. I had problems. The 3rd CMD got stuck at 62.3% (a common percentage it gets stuck at). So I ran sfc /scannow in a new CMD window. All my problems in Windows 11 went away! And I did not have to reinstall Windows. https://answers.microsoft.com/en-us/windows/forum/all/windows-10-performance-and-install-integrity/75529fd4-fac7-4653-893a-dd8cd4b4db00 https://answers.microsoft.com/en-us/windows/forum/all/dismexe-online-cleanup-image-restorehealth-stuck/e782802e-805d-416a-b2d2-3f33e43e1284 https://www.minitool.com/data-recovery/fix-dism-online-cleanup-image-restorehealth-stuck.html --------------- Here's what the first CMD window looked like after running the second time when it wasn't stuck: Microsoft Windows [Version 10.0.22621.1265] (c) Microsoft Corporation. All rights reserved. C:\Windows\System32>DISM /Online /Cleanup-Image /CheckHealth Deployment Image Servicing and Management tool Version: 10.0.22621.1 Image Version: 10.0.22621.1265 No component store corruption detected. The operation completed successfully. C:\Windows\System32> DISM /Online /Cleanup-Image /ScanHealth Deployment Image Servicing and Management tool Version: 10.0.22621.1 Image Version: 10.0.22621.1265 [==========================100.0%==========================] No component store corruption detected. The operation completed successfully. C:\Windows\System32>Dism /Online /Cleanup-Image /RestoreHealth Deployment Image Servicing and Management tool Version: 10.0.22621.1 Image Version: 10.0.22621.1265 [==========================100.0%==========================] The restore operation completed successfully. The operation completed successfully. C:\Windows\System32> 5800X3D, RTX4070, 600 Watt, one or two 1440p 32" screens, 64 GB RAM, 4 TB PCle 3 NVMe, Warthog throttle, VKB NXT EVO stick, Honeycomb Alpha yoke, CH quad, 3 Logitech panels, 2 StreamDecks, Desktop Aviator Trim Panel. Crystal Light VR.
Archived
This topic is now archived and is closed to further replies.