ChrisTitusTech / winutil

Chris Titus Tech's Windows Utility - Install Programs, Tweaks, Fixes, and Updates
MIT License
24.59k stars 1.49k forks source link

Windows Update error 0x800f0922 #3024

Closed GalacticPrez closed 2 days ago

GalacticPrez commented 1 week ago

Describe the bug

After using the MemsTechTips unattended.xml answer file - which includes your tool after install - on a Win10Pro x64 install ... I just ran the following on the Tweaks tab:

  1. Disable Consumer Features
  2. Disable Telemetry
  3. Disable GameDVR
  4. Disable Location Tracking
  5. Disable Wifi-Sense
  6. Change Windows Terminal default: PowerShell 5 -> PowerShell 7
  7. Disable Powershell 7 Telemetry
  8. Set Services to Manual
  9. Disable Background Apps
  10. Disable Microsoft Copilot
  11. Disable Intel MM (vPro LMS)
  12. Set Classic Right-Click Menu
  13. Remove Microsoft Edge

Then on the Updates tab I set "Security (Recommended) Settings.

Is there any reason anything there should stop Windows from updating with that error?

image

Some of the updates must have installed successfully and only a few were reversed after the failure, so when I hit "retry", one very quickly installed and disappeared (too quickly for me to see what it was), and then these two remained:

image

As per advice to someone else with the same problem on Reddit (but different cause and other aspects), I looked at C:\Windows\Logs\CBS\CBS.log and searched for that error code (0x800f0922), but I couldn't see any failures around it, and while I wasn't sure what I was looking for, the log file wasn't very long and nothing stuck out at me ... but now having hit retry, the file is much longer, and there are now some errors listed:

2024-11-09 01:19:59, Info CBS InternalOpenPackage failed for Package_for_KB3025096~31bf3856ad364e35~amd64~~6.4.1.0 [HRESULT = 0x800f0805 - CBS_E_INVALID_PACKAGE] 2024-11-09 01:19:59, Info CBS Failed to internally open package. [HRESULT = 0x800f0805 - CBS_E_INVALID_PACKAGE] 2024-11-09 01:19:59, Info CBS Failed to create open package. [HRESULT = 0x800f0805 - CBS_E_INVALID_PACKAGE] 2024-11-09 01:19:59, Info CBS Failed to OpenPackage using worker session [HRESULT = 0x800f0805]

2024-11-09 01:19:59, Info CBS InternalOpenPackage failed for Package_for_KB3025096~31bf3856ad364e35~x86~~6.4.1.0 [HRESULT = 0x800f0805 - CBS_E_INVALID_PACKAGE] 2024-11-09 01:19:59, Info CBS Failed to internally open package. [HRESULT = 0x800f0805 - CBS_E_INVALID_PACKAGE] 2024-11-09 01:19:59, Info CBS Failed to create open package. [HRESULT = 0x800f0805 - CBS_E_INVALID_PACKAGE] 2024-11-09 01:19:59, Info CBS Failed to OpenPackage using worker session [HRESULT = 0x800f0805]

2024-11-09 01:20:09, Info DPX File could not be expanded, Source=TOC.xml, Target=, status=0x80070002 2024-11-09 01:20:09, Info DPX ProvideRequestedDataByFile failed, Response file Name: \?\C:\Windows\SoftwareDistribution\Download\44ecc1c7d5e1a5d8df59b6c0cc3f12f0\Windows10.0-KB5033052-x64.cab

... and it looks like some of what I am looking at is the fact that it is retrying, but I have no idea about this stuff and this file is extremely long ... did I write enough to identify the issue or is there something I should search for?

GalacticPrez commented 1 week ago

UPDATE: after the retry and reboot, they installed successfully ... so this issue seems to be perhaps due to the tweaks interfering in some way with the order of precedence of update operations perhaps??

zmileski commented 1 week ago

Winutil does not cause this issue.

GalacticPrez commented 6 days ago

Winutil does not cause this issue.

Yeah I did get it running eventually, and it works beautifully, but I had to go back to the manufacturers windows install disk, convert that to an ISO, create a bootable USB, and then add the unattended etc to that ... for some reason, the ones from Microsoft directly didn't work and kept getting stuck in various ways, it is possible it is something relating to the customisations this manufacturer does to their laptops ... so all solved.

MyDrift-user commented 2 days ago

This seems to be solved, gonna close it out.

/close