2022 Server getting 0x8024200b errors with Windows Updates

Status
Not open for further replies.

BroncoMarc

Well-known member
Joined
Aug 2, 2023
Posts
77
Server has not successfully installed a CU in a while. It looks like it's been giving 0x8024200b each month when the patches ran.

I've tried resetting the SoftwareDistribution folder and CatRoot.
I've tried disabling antivirus.
Tried installing CU update from a downloaded MSU file.
Patches still fail.

SFC didn't show any errors
DISM doesn't show any errors
SFCFix did not show any errors.
Component Scanner hung the first time checking Manifests, but completed the 2nd time saying no corruptions found.

Thanks,
- Marc
 

Attachments

Hi,

Sorry for the delay, for some reason I've missed your previous post.

Please do the following.

Download
6530fbb0f4101-56f31e53c97da-SFCFix.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.
650c22f99662d-6190d993a26f3-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.

Afterwards attempt to update. If it fails attach a new copy of the CBS logs.
 

Attachments

Please attempt to update again with Process Monitor running.

Capture Process Monitor Trace
1. Download and run Process Monitor. Leave this running while you perform the next steps.
2. Try updating the system just like you have in the past.
3. Stop Process Monitor as soon as it fails. You can simply do this by clicking the capture icon (CTRL +E) on the toolbar as shown below.

Process-Monitor.png


4. Select the File menu...Save... and save the file to your desktop. This is likely the default location. The name (unless changed) will be LogFile.PML. This is fine.
5. Zip up the LogFile.PML and upload it to WeTransfer | Send Large Files Fast - Up To 2GB Free and provide the link.
6. Upload also the latest CBS log for the time stamps.
 
Process Monitor hangs when I do this. I tried twice. I let it sit for the weekend to see if it would start responding and it is still hung up.
 
How many free space space is availabe on the systemdrive of this server?
 
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
 
Well, this is fun. :-)

Deployment Image Servicing and Management tool
Version: 10.0.20348.681

Image Version: 10.0.20348.1970

[===========================52.6% ]
Error: 2

The system cannot find the file specified.

The DISM log file can be found at C:\Windows\Logs\DISM\dism.log
 

Attachments

Here's the next fix.

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 SFCFixScript.txt and save it to your desktop.
  • Drag the SFCFixScript.txt file over the SFCFix.exe executable and release it.
650ef5dbdfd06-62151e1bebac4-SFCFix-Txt-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

Can I run SFCFix from powershell? The GUI is hung up right now. I'm going to reboot the server tonight for this.
 
Yes, you can run SFCFix from command line when SFCFix.exe and SFCFixScript are in the same location.
Code:
...\> SFCFix.exe SFCFixScript.txt
 
SFCFix gave errors. I didn't get a screenshot of it and I don't see an output file from it. It could be that I am running it from a system context command prompt.

I re-ran it and got this
Welcome to SFCFix by niemiro and sysnative.com.

Checking for updates . . .
No new update is available at this time.

Processing directive 1 of 1 (RegistryScript::)
Failed to process all directives successfully.

DISM failed at the same place.
 

Attachments

When you use PowerShell, please run the CMD command first and navigate to directory where bot files (SFCFix.exe / SCFixScript.txt) are saved.

Otherwise perform the following steps:
1. Load the COMPONENTS hive into the registry with the following command: reg load HKLM\COMPONENTS C:\WINDOWS\SYSTEM32\CONFIG\COMPONENTS
2. Unzip the attachement Regfix.zip and merge the reg-file into the registry.
3. Run DISM again: DISM /online /cleanup-image /RestoreHealth
 

Attachments

Thanks for the workaround. The reg file imported successfully.

I ran DSIM again and it failed at the same place.
 

Attachments

Please reboot the server first, then run DISM again but do not try to update yet if DISM completed successfully.
 
Status
Not open for further replies.
Back
Top