VelvetMonkey
New member
- Jul 27, 2024
- 3
My windows update suddenly stopped working several months ago, and in trying to investigate and fix the issue I have discovered that this also extends to sfc and dism operations.
This amazing forum appeared in my googling, as my symptoms and error messages and log file contents appear virtually identical to a previous post which was solved (here, and in fact to many similar posts).
When I run sfc / scannow I get:
When I run dism /Online /Cleanup-Image /RestoreHealth I get:
Following the error logs I end up with the following in CBS.log
Suspecting some form of corruption in dism and related libraries, I tried booting from the latest Win10 bootable USB installation media, <shift>F10 to open a cmd window, and running a version dism from the 'clean' USB source, specifying /Image to be my PCs C: drive, and /Source to be the .esd or the .wim file from the installation media. This didn't work either, as dism then complained it didn't recognise the /cleanup-image switch (despite /? suggesting it was valid)
Hoping you'll be able to suggest a fix for this. I'm not over-keen on doing a fresh install and then finding and re-installing all the s/w, data, and updates that would lose.
This amazing forum appeared in my googling, as my symptoms and error messages and log file contents appear virtually identical to a previous post which was solved (here, and in fact to many similar posts).
When I run sfc / scannow I get:
C:\Windows\system32>sfc /scannow
Windows Resource Protection could not start the repair service.
When I run dism /Online /Cleanup-Image /RestoreHealth I get:
C:\Windows\system32>dism /Online /Cleanup-Image /restoreHealth
Deployment Image Servicing and Management tool
Version: 10.0.19041.844
Image Version: 10.0.19045.2965
Error: 193
%1 is not a valid Win32 application.
The DISM log file can be found at C:\Windows\Logs\DISM\dism.log
Following the error logs I end up with the following in CBS.log
Failed to load Core DLL from path: C:\Windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.19041.3025_none_7e36ee127c6f13fc\\cbscore.dll [HRESULT = 0x800700c1 - ERROR_BAD_EXE_FORMAT]
Suspecting some form of corruption in dism and related libraries, I tried booting from the latest Win10 bootable USB installation media, <shift>F10 to open a cmd window, and running a version dism from the 'clean' USB source, specifying /Image to be my PCs C: drive, and /Source to be the .esd or the .wim file from the installation media. This didn't work either, as dism then complained it didn't recognise the /cleanup-image switch (despite /? suggesting it was valid)
Hoping you'll be able to suggest a fix for this. I'm not over-keen on doing a fresh install and then finding and re-installing all the s/w, data, and updates that would lose.