Solved dism online cleanup-image restorehealth stuck at 40%

Ursula

New Member
Messages
6
Hi guys! It's my first time in a forum like this so please bear with me.
I have a laptop with Windows 8.1 x64. It has had some weird issues recently (it shuts down if over-exited by anything more intense than Mozilla and Word) but I was able to work around them until a BSOD happened a few days ago. Ever since, it would hang at random times and the only way out is by forcing a shut-down with the power button. I was unable to perform a system restore (it starts, theoretically, according to the control panel, but NOTHING happens). I checked extensively for viruses, using Norton, SuperAntiSpyware, MalwareBytes and Microsoft Support Emergency Report Tool. Norton did find several viruses and took care of them, but my coputer still hangs randomly.
I performed SFC /scannow but it was unable to fix everything, so I tried these ones next:
Dism /Online /Cleanup-Image /StartComponentCleanup
Dism /Online /Cleanup-Image /RestoreHealth
And it gets stuck at 40% for ever! Please help, I'm at my wits' end! :confused:
Thank you! :-)

(btw, I cannot re-install windows or anything like that right now. I am far away from home, I don't have adequate memory for a backup, and I don't have the windows installtion CDs with me)
 
Just try rebooting then re do it.
Sometimes it takes a few tries to get everything with SFC, and you always need to reboot, so it can repair stuff that is in use by the system.

Here is a better version to use:

fsutil resource setautoreset true c:\&fsutil usn deletejournal /d /n c:&Dism.exe /online /Cleanup-Image /StartComponentCleanup&sfc /scannow&Dism.exe /Online /Cleanup-Image /RestoreHealth&sfc /scannow&Dism.exe /Online /Cleanup-Image /StartComponentCleanup /ResetBase&pause
 
Hi Cliff S, thank you for your help :-)
I've already rebooted and re-run sfc and dism several times, and dism always pops up some sort of error. The last time I thought I had solved everything but it got stuck at 40%.
Anyway, I did reboot and re-ran:
Dism /Online /Cleanup-Image /StartComponentCleanup
Dism /Online /Cleanup-Image /RestoreHealth
After 45minutes I got the error 0x80240021, and a note saying that no operation was performed.
Here is the link to the dism log file: Dropbox - 2017-08-06 dism.log

I'll try the batch you sent me now :-)
 
Good news! The second time I used your batch it worked perfectly!! No more errors of any kind, all files cleared etc.
Bad news: my computer still hangs and the system restore still doesn't work. I've tried everything I could, I give up.

Thanks anyway! :-)
 
Good news! The second time I used your batch it worked perfectly!! No more errors of any kind, all files cleared etc.
Bad news: my computer still hangs and the system restore still doesn't work. I've tried everything I could, I give up.

Thanks anyway! :-)
Sorry for the late reply Ursula, have you already tried a repair install?
Repair Install Windows 8

On Windows 8.1 and Windows 10, I have found it can fix just about any problem, Windows related(as long as a 3rd party program isn't the culprit).
 
Hi!! Sorry for the late reply :( That sounds GREAT!!!! I'm going to try it first chance I get... Do you think it will fix a driver problem? I've noticed that I get a brown (or blue) screen of death when I try playing a game, and it is accompanied by a "video tdr failure" message... I read somewhere that this could be related to the graphics device driver... Should I start a separate thread for that??
 
Back
Top