Microsoft fixes bug causing Windows Update automation issues

Microsoft fixes bug causing Windows Update automation issues

July 14, 2024 at 11:37AM

Microsoft has fixed the issue caused by the June 2024 KB5039302 preview update, which affected Windows 11 systems, primarily in enterprise environments. Home users are unlikely to be impacted. The fix was deployed through Known Issue Rollback and will also be included in a future update. Enterprise admins must set up a KIR Group Policy to resolve the bug.

Based on the meeting notes, the main points to take away are:

– Microsoft has resolved a known issue caused by the June 2024 KB5039302 preview update, which caused problems when using Windows Update automation scripts on Windows 11 systems in enterprise environments.
– This issue specifically impacts client platforms such as Windows 11 23H2 and Windows 11 22H2 in enterprise environments. Home customers using Home or Pro editions managed via Windows Automatic Updates are unlikely to be affected.
– Microsoft explained that the issue could result in empty search results and error code 0x8002802B (TYPE_E_ELEMENTNOTFOUND) when using Windows Update Agent API (WUA) from scripts like PowerShell or VBScript.
– The resolution involved implementing the Known Issue Rollback (KIR), a Windows feature that reverses flawed non-security updates delivered via Windows Update, and Microsoft is working to include the fix in a future update.
– Admins of affected Windows enterprise-managed devices can resolve this bug by installing and setting up the KIR Group Policy targeting the impacted Windows versions. This can be accessed and deployed through the Local Computer Policy or the Domain policy on the domain controller using the Group Policy Editor.
– The Group Policy will temporarily disable the change causing the script issue and devices will need to be restarted to apply the group policy setting.
– Customers can expedite the process by restarting affected Windows 11 devices, and KIR fixes usually take up to 24 hours to roll out to all affected devices.
– Microsoft provides detailed information on deploying and configuring KIR Group Policies on their support website.
– Additionally, on Wednesday, Microsoft fixed a known issue causing Windows 11 restart loops and taskbar problems triggered by the same KB5039302 preview update.

These points encapsulate the key information from the meeting notes. Let me know if you need any further clarification or if there is anything else I can assist you with.

Full Article