Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom Image Template for AVD fails because of Windows Update #793

Open
cjr-githu opened this issue Jul 22, 2024 · 6 comments
Open

Custom Image Template for AVD fails because of Windows Update #793

cjr-githu opened this issue Jul 22, 2024 · 6 comments

Comments

@cjr-githu
Copy link

See attached output log. Is anyone else running into issues deploying an image using the built-in custom image template in AVD?

We are seeing this same issue in mutilple tenants.

customization_output.log

Is doesn't matter whether you choose the windows update script or not. Just selecting any script fails with the same windows update error.

This was using the Windows 11 Enterprise 22H2 + M365 Apps market place image. Choosing the newer 23H2 gives the same error message. It also doesn't matter if you start the image creation from scratch or use an existing image.

I am also using the option of creating a temporary vnet for deployment instead of using an existing vnet just to avoid issues with network access blocks. Everything worked fine until this new patch tuesday cycle.

@rcAlexterNeuzen
Copy link

@cjr-githu
Copy link
Author

Oh wow, thanks for the info Alex, did you follow a specific procedure to fix the issue?

Its an error because of a windows update rgl/packer-plugin-windows-update#144

I have the same error: https://learn.microsoft.com/en-us/windows/release-health/status-windows-11-23h2#3351msgdesc

@rcAlexterNeuzen
Copy link

Oh wow, thanks for the info Alex, did you follow a specific procedure to fix the issue?

Its an error because of a windows update rgl/packer-plugin-windows-update#144
I have the same error: https://learn.microsoft.com/en-us/windows/release-health/status-windows-11-23h2#3351msgdesc

no i didn't solve it yet. I'm hoping there will be a recall of the windows update or something ... until then I will probably update manually a custom image..

@ewanmalone
Copy link

yes same issue here. annoyingly it happens even if I don't set windows update to run in the scripts.

@cjr-githu
Copy link
Author

yes same issue here. annoyingly it happens even if I don't set windows update to run in the scripts.

That is correct, I have a ticket open with MS to try and figure this out because the KIR option won't work here to roll it back.

@cjr-githu
Copy link
Author

For anyone still running into issues with this, Microsoft has released a patch for this. It is not available yet in the marketplace image.

The patch is KB5040527 and is located at https://support.microsoft.com/en-us/topic/july-25-2024-kb5040527-os-builds-22621-3958-and-22631-3958-preview-de3e1e24-0c07-4210-9777-8e03a1446bae

For use within the custom image template, I created the script below to be used within the own script section of the deployment.
I used a storage account with blob to upload script there.
Make sure to move the script all the way at the top of the script section and add a restart as well.

KB5040527_Install.txt (Rename the extension to .ps1)

If aynyone as questions let me know

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants