[SOLVED] Windows Update, sfc & dism not working, Windows 10 22H2 x64 (10.0.19045.4412)

dirt-poet

Member
Joined
Aug 27, 2024
Posts
7
Windows update has stopped working with the error code 0x80004002

The current version is Windows 10 Education 22H2 Build 19045.4412 64bit

The last successful update with KB5037768 on 5/22/2024

I have tried most of the suggestions for resolving this error without result.

For instance, those suggested here

4 Ways to Fix Windows Update Error 0x80004002

Chkdsk says that I don’t need to scan the C: drive ( I have fairly recently done a full scan. It takes a long time and everything was fine, it is an SSD)

sfc /verifyonly run as an administrator returns with “Windows Resource Protection could not start the repair service.”

Trustedinstaller service is running. As is the Windows Modules Installer Service, antimalware programs are off. And I have also tried after booting into safemode.

Most worryingly, running Dism /Online /Cleanup-Image /CheckHealth from the administrator Power shell (and also the command window) results in the following:

“Deployment Image Servicing and Management tool

Version: 10.0.19041.3636

Image Version: 10.0.19045.4412

The component store cannot be repaired.

The operation completed successfully.”

Indicating some file corruption. I have also gotten the 0x80004002 error here.

I tried downloading a new iso (appropriate to my windows version) and dism failed to run successfully with that as well.
 

Attachments

Hi,

I am checking to see if you still need help with this thread. If so please do the following first.

Download the
577bf0efb8088-FRST.png
Farbar Recovery Scan Tool and save it to your Desktop:

Download the 64 bit version: - Farbar Recovery Scan Tool Link
  • Download the attachment fixlist.txt and save it to your desktop.
  • Right-click on FRST.exe and select "Run as administrator".
  • Press the Fix button.
  • If for some reason the tool needs a restart, please make sure you let the system restart normally.
  • When finished, a log called Fixlog.txt will appear in the same directory the tool is run from.
  • Post the logfile Fixlog.txt as attachment in your next reply.
 

Attachments

Thanks for getting back to me. I had sort of given up when I didn't see a reply for a couple weeks. Then I was away for a month but this problem is still persisting. My IT department was stumped and wanted me to do a full reinstall but that is fairly painful.

I was about ready to try a repair install, others with similar symptoms indicated that that stalled out for them so I was a bit reluctant, but now I'll hold off and see if there are any clues here. Fortunately the machine is otherwise functional.
 

Attachments

Last edited:
Hi,

Step 1. Download
67139f7e69a58-SFCFix-ico.PNG
SFCFix and save it to your desktop.

Warning: This fix was written specifically for this system. Do not run this fix on another system.
  • Save any work you have open, and close all programs.
  • Download the attachment SFCFix.zip and save it to your desktop.
  • Drag the SFCFix.zip file over the SFCFix.exe executable and release it.
67139f52b3c1e-SFCFix-Zip-Eng.gif

  • SFCFix will launch, let it complete.
  • Once done, a file will appear on your desktop, called SFCFix.txt.
  • Post the logfile (SFCFix.txt) as attachment in your next reply.


Step 2. Run the following DISM command and post the result. If it fails attach a new copy of the CBS log.
Code:
DISM /online /cleanup-image /RestoreHealth
 

Attachments

Thanks, here is the SFCFix.txt file that was produced. The DSIM command failed with the usual error. The CBS.log file was enormous so I just attached the part from the recent attempt. I can send the whole thing if needed.

Thanks again,
Ken
 

Attachments

Hi,

Yes, please attach the complete logs.

Upload a copy of the CBS folder
  • Open Windows Explorer and browse to the C:\Windows\Logs folder.
  • Right-click on the CBS folder and choose Send to > Compressed (zipped) folder.
  • Now the message will appear, "Windows cannot create the Compressed (zipped) Folder here. Do you want it to be placed on the desktop instead?"
  • Click on the Yes button here.
653a64385d891-618e949e09fef-CBS-Folder.png

  • Attach the file CBS.zip to your next reply. If the file is too large to attach, upload the CBS.zip file to www.wetransfer.com and post the link in your next reply.
 
Hi,

Please run the System File Checker and post the result. If it fails attach a new copy of the CBS log.
Code:
SFC /Scannow
 
C:\WINDOWS\system32>SFC /Scannow

Beginning system scan. This process will take some time.

Beginning verification phase of system scan.
Verification 100% complete.

Windows Resource Protection did not find any integrity violations.

Well this is progress, it didn't use to run.
 
Hi,

Great, please run the following DISM command and post the result. If it fails attach a new copy of the CBS log.
Code:
DISM /online /cleanup-image /RestoreHealth
 
Progress, that worked.

C:\WINDOWS\system32>DISM /online /cleanup-image /RestoreHealth

Deployment Image Servicing and Management tool
Version: 10.0.19041.3636

Image Version: 10.0.19045.4412

[==========================100.0%==========================] The restore operation completed successfully.
The operation completed successfully.

Ken
 
Great, please attempt to update. If it fails attach a new copy of the CBS logs.
 
Hi,

You're welcome. Glad to hear this system is up-to-date, the issue was the corrupted Servicing Stack.
I will mark this thread as solved.
 

Has Sysnative Forums helped you? Please consider donating to help us support the site!

Back
Top