[SOLVED] Windows Server 2022 Standard not installing KB5031364 with error 0x800f0905

farazhkhan

Member
Joined
Oct 14, 2023
Posts
13
Hi,

I'm trying to install update KB5031364 on Windows Server 2022 Standard and getting the error 0x800f0905. I've tried almost every solution I could find including restarting the Windows, MS Windows update troubleshoot, sfc /scannow and DISM /Online /Cleanup-Image /RestoreHealth, install update manually but nothing seems to work and keep getting error 0x800f0905. Attached are CBS.zip and ComponentsScanner.txt for review.

Regards,
Faraz
 

Attachments

  • Click Search button and type Command Prompt
  • From the results, right click on the Command Prompt icon, and select Run as administrator
  • A Command Window will open.
  • Copy paste the command below into it, then press Enter
  • DISM /Online /Get-CurrentEdition

Please let me know the result.
 
This is the result

Code:
C:\Users\Administrator>DISM /Online /Get-CurrentEdition


Deployment Image Servicing and Management tool
Version: 10.0.20348.681


Image Version: 10.0.20348.1850


Current edition is:


Current Edition : ServerStandard


The operation completed successfully.
 
OK thanks.

Can you please do the following for me ...

  • Click on the Start button and in the search box, type regedit
    • When you see regedit on the list, right-click on it and select Run as administrator
  • When regedit opens, using the left pane, navigate to the following registry key and select it by clicking on it once.

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing

  • Once selected, click File > Export....
    • Change the Save as type: to Registry Hive Files (.)
    • Name this file ComponentBasedServicing (with no file extension) and save it to your Desktop.
  • Right-click on the saved file and choose Send To -> Compressed (zipped) Folder.
  • Attach the .ZIP file to your next post.
  • If the file is too large to upload here, please upload to a file sharing service.
  • Examples of services to upload to are WeTransfer and TransferKit and SendFileOnline
 
Here is the attachment in zip of HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing in Registry Hive Files (.) file type.
 

Attachments

Thanks.

  • Click on the Search button and type Cmd
  • From the search results choose Command Prompt then Run as Administrator
  • When prompted by UAC allow the prompt.
  • When the Command Prompt Window opens, copy and paste the following command into it, then press Enter
wusa /uninstall /KB:5031364
  • Let me know if it says it was successful or if there are any errors.
 
Last edited:
Yes that's what I expected, I believe it's there, but only partially installed, in which case we first need to find out whether that is the case by searching for "orphans".

So please do the following ....

  • Click Search and type CMD
  • Right click the CMD App from the search results and select Run as Administrator
  • With the App open ...
    • Copy/Paste the following Command into it ...
    • reg load HKLM\COMPONENTS C:\WINDOWS\SYSTEM32\CONFIG\COMPONENTS
      • This loads your COMPONENT hive.
    • You can now close the Command window.
  • Next ...
  • Download Farbar Recovery Scan Tool and save it to your Desktop
    • Note: Your antivirus program may report FRST incorrectly as an infection. If so, disable the real-time protection when downloading and running FRST
  • Right-click on FRST64.exe and choose Run as administrator
    • Copy and paste ... KB5031364 ... into the Search box.
    • Click the Search Registry button.
    • When the scan is complete ...
      • A log will open on your Desktop ... SearchReg.txt
    • Attach the file ... SearchReg.txt ... to your next reply.
  • You may close any remaining open windows now.
 
Strange, nothing found, which is not what I was expecting.

Seems I need to re-examine your initial logs, and what they were telling me. May have to consult with my colleagues, in which case there may be some delay before I get back to you. I'll notify you if the delay is looking like being a long one.

In the meantime, can you please do the following for me ....

  • Click Search button and type Command Prompt
  • From the results, right click on the Command Prompt icon, and select Run as administrator
  • A Command Window will open.
  • Copy paste the command below into it, then press Enter
  • Dism /Online /Cleanup-Image /RestoreHealth
  • Once DISM has finished running ...
    • Please attach your latest ... C:\Windows\Logs\CBS\cbs.log ... to your next reply.
  • If the file is too large, upload it to a file sharing service, and post me the link.
  • Examples of services to upload to are WeTransfer and TransferKit and SendFileOnline

.... so I can see whether the new CBS.log tells me something that the earlier logs didn't.
 
Thanks for your keen interest in resolving this issue Gary, really appreciate that.

Attached is the latest cbs.log file as requested.
 

Attachments

Thanks. Looking over your latest log now.
 
Latest CBS.log isn't really telling me anything new since it's not really flagging anything.

So, let's try a different approach to finding out what's going on ....

  • Download and run Process Monitor
    • Leave this running while you perform the next steps.
  • Try updating the system just like you have in the past.
  • Stop Process Monitor as soon as it fails.
    • You can simply do this by clicking the "Square" icon on the toolbar (third one from the left) or by hitting Ctrl+E
  • Select the File menu ... Save ... and save the file to your Desktop.
    • The name will be LogFile.PML.
  • Zip the file, and upload to a file sharing service.
  • Provide the link to LogFile.PML
  • Examples of services to upload to are WeTransfer and TransferKit and SendFileOnline

Also attach a copy of your ... C:\Windows\Logs\CBS\CBS.log ... with your reply.
 
For some reason I didn't get the usual e-mail notification that you'd replied, so didn't know that you had.

Looking over your logs now.

Logfile.pml files are always large, so it may be some time before I get back to you. Probably tomorrow at the earliest.


CBS.log looks a little "short", so info I need may be on one of the persist logs. so please can you post me your whole CBS folder ....


  • Open Windows Explorer and browse to the ... C:\Windows\Logs\CBS ... folder.
  • Right click on it, and select ... Send to > Compressed (zipped) folder
  • A message will appear stating, "Windows cannot create the Compressed (zipped) Folder here. Do you want it to be placed on the desktop instead?"
    • Answer Y to create a folder CBS.zip on your Desktop.
  • Please attach it to your next post.
    • If the file is too large, please upload it to a file sharing service and provide the link to it in your next reply.
    • Examples of services to upload to are WeTransfer and TransferKit and SendFileOnline
 
Last edited:
Sorry still not getting e-mail notifications when you reply. Also has a power outage this morning where I live, so have been unable to get online. Looking over your latest CBS.logs now.

There were a few irregularities in your LogFile.PML that I need to consult on, so may be a while before I get back to you. If the delay is going to be more than a couple of days, I'll notify you in this topic.
 
Thanks. Take your time. By the way, I too sometimes don't receive email notifications. It seems that sometimes it doesn't send notification emails.
 
Sorry to be so late getting back to you, the forum is very busy at the moment, and some of the more experienced helpers are not present due to personal and professional commitments, so getting advice is slower than usual.

Your problem is a relatively new one to us, and the error code you're getting seems to have a number of different causes, sadly yours does not seem to be being generated by any of the reasons I'm familiar with.

After discussion with one of my colleagues we do have a possible avenue to explore, but as it's not one that's familiar to me, it's going to take me a while to write up a suitable set of instructions (and have them checked), before I can post back to you.

I will try to expedite things as promptly as I can.
 

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

Back
Top