[SOLVED] Windows server 2022 failed to install KB5028171 with error 0x800f0905

erwin

Member
Joined
Jul 21, 2023
Posts
19
Two of my Windows 2022 Server VM's failed to install KB5028171 with error 0x800f0905.

I wasn't able to fix it. Windows update troubleshooter, SFC /scannow and SFCFix didn't find/solve the problem.

It looks quite simiar to this thread:
[SOLVED] - Server 2022 not installing KB5026370 with error 0x800f0905


Attached the CBS directory(zipped), dism.log(zipped) and ComponentBasedServicing hive(zipped)


What to do?


DISM /Online /Get-CurrentEdition

Deployment Image Servicing and Management tool
Version: 10.0.20348.681

Image Version: 10.0.20348.1787

Current edition is:

Current Edition : ServerStandard

The operation completed successfully.
 

Attachments

Last edited:
Hi and welcome to Sysnative,

Download
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.
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 reboot the server and attempt to update again. If it fails attach a new copy of the CBS logs.
 

Attachments

Thanks for your reply!

Unfortunately the problem is still there. Attached the log from SFCFix.
I don't know it it is helpfull but I ran SFC scan, DISM and component scanner again and attached the CBS log files.


I do have the same problem with the same windows update on two different Windows 2022 VM's. Can I use the fix on both systems or is it specific to only this system?
 

Attachments

Hi,

I've copied the post for the other server to a new thread, this because the issue might be differ and to avoid any confusion.

In the meantime I'll need to update a VM to provide the next fix for this server, so this can take some time.
 
Here's the next fix.

Download
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.
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 reboot the server and attempt to update again. If it fails attach a new copy of the CBS logs.
 

Attachments

Unfortunately it didn't solve the problem. See attached SFCFix text file.

I checked the update history and I noticed it fails on KB5029250 and not on KB5028171. Don't know why I wrote KB5028171 in my first post...
 

Attachments

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
 
Deployment Image Servicing and Management tool
Version: 10.0.20348.681

Image Version: 10.0.20348.1787

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

Still fails to install KB5029250 with error 0x800f0905.
Attached the CBS and DISM log.
 

Attachments

Export CBS (Component Based Servicing) hive
  • Click on the Start button and 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.
    Code:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing
  • Once selected, click File > Export....
  • Change the Save as type: to Registry Hive Files (*.*).

    622dbef75cd3a-Export-CBS-hive.png

  • Name this file ComponentBasedServicing (with no file extension) and save it to your Desktop.
  • Right-click on the saved file and choose Send > Compressed (zipped) Folder.
  • Attach the .ZIP file to your next post.
  • If the file is too large to upload here, upload the file to www.wetransfer.com and post the link in your next reply.
 
Please open an elevated command prompt and run the following commands en provide the file UpdateList.txt in your next post.
Code:
wmic qfe list brief /format:texttablewsys > "%userprofile%\Desktop\UpdateList.txt"
DISM /online /get-packages /format:table >> "%userprofile%\Desktop\UpdateList.txt"
 
Follow these instructions to remove an update.
  • Open the Start menu of Windows and type the command CMD
  • When you see Command Prompt on the list, right-click on it and select Run as administrator.
  • When command prompt opens, copy and paste the following command into it, then press enter.
Code:
wusa /uninstall /KB:5027225
  • Let me know if it says it was successful or you get the message: The update KB5027225 is not installed on this computer.
 
Please try to update again with Process Monitor running, attach this trace and a new copy of the CBS log to your next post.

Step#1 - 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 square (CTRL +E) on the toolbar as shown below.



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 & Share Photos Online - Up to 2GB Free and provide the link.
 
I am not sure what you ment with 'try again'. Try again to install the updates through Windows update or to run 'wusa /uninstall /KB:5027225'.
I did both:

- Logfile installation through windows update.
- Logfile wusa /uninstall /KB:5027225

I have send you a link in a PM with two proces monitor trace files.
 
Hi,

Could you please attach the latest CBS logs, then I can use the timestamp to filter the Process Monitor trace.
 

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

Back
Top