Forum Discussion
Azure Virtual Desktop - Black Screens on logins - What we've tried so far
JPlendoThe buggy component is the App Readiness service, and this is not the first time we seem black screens and the same service responsible. Kill that service and you fly in on the desktop, but then SSO stops working so causes other problems. They need to fix it.
But its troublesome that they dont post any public articles on this.
Fix will be KB5045594
To help on a faster logon that dosent wait for App Readiness, the below reg keys works (But dosent fix the appsvc service crash)
Windows Registry Editor Version 5.00
; --------------------------------------------------------------------------------------
; #Reason: Fix App Readiness with timeout
; --------------------------------------------------------------------------------------
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer]
"AppReadinessPreShellTimeoutMs"=dword:00060000
"AppReadinessGlobalTimeoutMs"=dword:00120000
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server]
"fRunAppReadiness"=dword:00000000
; --------------------------------------------------------------------------------------
henrikmc2You mentioned KB5045594 being released as a fix. Is that only for Windows 10? Do you know if they will release anything for Windows 11?
What does that reg fix you listed do if its not helping the appreadiness service crashing? Does it allow for logins even if the service has hung?
- dit-chrisOct 10, 2024Brass ContributorHi JPlendo
So as I understand it that just says if the AppReadiness has run for 60sec at PreShell just kill it, if it runs for 120 seconds in total then again just kill it, in theory that should cut that black screen delay by simply stopping the running of the hanging process... but that will then cause issue with AppX packages deploying and SSO etc as a side effect. Another fix with the same effect is probably to just set the AppReadiness service to Disabled in services... yes you'll get much quicker login times probably but a load of stuff won't work - which might include the start menu as there is an AppX packages for that is appears!