Forum Discussion
Azure Virtual Desktop - Black Screens on logins - What we've tried so far
Microsoft has advised that the fix will be released in the October patch, meanwhile a KIR (Known Issue Rollback) has been release to fix this Appx Crash issue.
Please download this KIR and follow instructions here.
This will install a new computer Local Group Policy which looks like this,
...which then need to be set as disabled, please reboot and you'll see that the Appx Crash will stop.
This has been the solution from Microsoft to deal with the issue until next windows patch release.
Give it a try and let me know if it works.
- djordan1910Oct 01, 2024Copper Contributor
So far so good... we just updated all the hosts in one of the hostpools. The black screens *seem* to be resolved. I'll update after a full day of usage tomorrow. Thanks for the assist!
- paulcruwysOct 01, 2024Copper Contributor
djordan1910 interested to hear feedback before we apply and get this headache closed down
- paulosilva_PIOct 02, 2024Copper Contributor
Just an update on the microsoft suggested fix, I'm now into the first 24 hours following the KIR being applied and no issues, no black screens, no slow logins... the Appx crashes have stopped so it seems like this has resolved the issue for now, I expect this to be corrected on the October patch and hopefully nothing else gets broken in the process.
We have also agreed internally to pushback windows patching 3 weeks, that way by the time we patch we'll less prone to install updates with bugs.
Glad I could help some of you.
- dit-chrisOct 01, 2024Brass ContributorDitto... crossing fingers for tomorrow being a better day as ended up with 80% of sessions hosts with Outlook not working today once they got past the black screens and resorted to just getting people using OWA etc in a browser as a workaround... far from ideal but no one really engineers for that level of redundancy to be able to lose 4/5th of your session hosts - and the 1/5th I think was not impacted and working by luck rather than any judgement.
- digitaluppercutOct 02, 2024Copper ContributorHello everyone. We too have been struggling with this issues. I have a feeling that this might also be related to storage issues. I just can't believe that everyone is effected because if this was true we would hear thousands of people complaining. Just out of curiosity who is on what data centers? We are on West2
- KevHalOct 02, 2024Iron Contributor
Thanks for this, I asked Microsoft support rep for an update and he still said wait until October patches, I then forwarded him this so will see what he says. Guess they don't talk to each other.
All my AVD hostpools have the Appx issue, some pools seem to be getting through it regardless of the appx problem whilst others just crash and burn, I think ts just pot luck whether your pool is affected or not.
I have applied this fix to two of the most affected pools and will see what happens tomorrow, thanks paulosilva_PI - tristian1250Oct 02, 2024Copper ContributorDo you know if there is a similar KIR for Win11 hosts? Dealing with the exact same thing.
- jlou65535Oct 02, 2024Iron Contributor
Look likes Microsoft should fix it soon :
Microsoft has identified a bug affecting Azure Virtual Desktop. Users are now experiencing intermittent black screens for 30 seconds to 3 minutes during sign-in.
This issue is linked to the patch update KB5043064 (OS Builds 19044.4894 and 19045.4894), installed on September 10, 2024
After reviewing application logs, we found that the AppXSvc service is crashing due to an uninitialized m_targetUserSidString in the OSIntegrationManagerHost::Initialize. (event ID 1000)
Per Microsoft, a permanent fix is pending and is most likely to be fixed with October patch.
Here are some workarounds suggested by Microsoft :
Uninstall the problematic updates: Go to Settings → Windows Update → Update History → Uninstall Updates. Select KB5043064 then click on Uninstall and reboot your system.- AdamMcOct 11, 2024Copper Contributor
jlou65535 it's Funny that he suggest it's just Azure Virtual Desktops. Check the logs on any win10 device with Sept Cumulative update and it has the same errors. Them attempt to do any Appx related commands and find yourself Facing RPC Errors. I uninstalled Sept Cumulative update as a test and it cleared up the app crashed in event viewer and restored Appx. I also tried installing Oct CU and the fix is not included yet.
- chrissmith585Oct 05, 2024Copper ContributorThank you, we've been suffering from these issues for WEEKS with no clue what was the root cause.
We've applied the KIR and we will see how our Monday morning rush hour goes! - JPlendoOct 06, 2024Brass ContributorSorry for delay in replying....does that KIR work with Windows 11? I see it says Windows 10 in the download.
- AnAverageHumanOct 10, 2024Copper ContributorWe have a couple hundred Win10 multisession AVD hosts and ~1000 users daily. Black screens were relatively intermittent compared to some of the reports here in this thread but our support team did have to deal with the few that appeared.
Tuesday this week, updated the VM we use for creating base images and included the KIR via local policy.
Rebuilt all shared host pools from updated image Tuesday evening.
Reports Wednesday were there were zero black screen tickets or calls.
Will continue to be patient for the actual fix but this mitigation seems to have made a positive impact.
Thanks for the links to KIR download and instructions paulosilva_PI !