How to Fix the Windows Virtual Desktop Black Screen on Log-On When Using FSLogix

Organizations using FSLogix as a user-profile management solution with Windows Virtual Desktop workloads might encounter issues when their users log in for the first time. Sometimes the first login results in a long-lasting black screen before the desktop and icons are displayed. This blog post explains how this issue can be addressed when it is caused by the AppReadiness service and outlines the ways in which Parallels Remote Application Server® (RAS) enhances Windows Virtual Desktop, creating a unified experience for both administrators and end users.

How Windows Virtual Desktop Uses FSLogix

FSLogix Profile Containers is the profile management solution recommended by Microsoft for providing user persistence over Windows Virtual Desktop workloads requiring a centrally stored profile. This solution stores the complete user profile onto a single Virtual Hard Disk (VHD) or Hyper-V Virtual Hard Disk (VHDX) container that is dynamically attached to the Windows Virtual Desktop session host during the user logon process.

FSLogix Profile Containers are based on the standard Server Message Block (SMB) protocol and Cloud Cache, thereby ensuring their resiliency and high availability. Also, Microsoft Azure includes different storage solutions that can be used to store user profiles, including Azure Files or Azure NetApp Files.

Reasons for the Black Screen When Using Windows Virtual Desktop with FSLogix

Although there can be multiple possible causes for black screens, it has been found that the AppReadiness service potentially causes this behavior when Windows Virtual Desktop is used with FSLogix Profile Containers. For instance, when users log in for the first time to a session host, a black screen appears, lasting for five minutes before the desktop is completely loaded and icons are displayed:

Figure 1 - How to Fix the Windows Virtual Desktop Black Screen

In addition, the system’s Event Viewer logs the following error message with each black screen:

"A timeout (30000 milliseconds) was reached while waiting for a transaction response from the AppReadiness service"

Different users experiencing this issue have reported that disabling the AppReadiness service solves the problem. However, this workaround may end up causing other issues and is not an adequate long-term solution.

Fixing the Black Screen on Logon When Using FSLogix with WVD

In September 2020, Microsoft released the optional KB4571744 update which, among other improvements and fixes, addressed the issue of the black screen displayed to Windows Virtual Desktop users when they attempted to sign in to a session host. Since then, this optional update has been superseded by additional security updates:

Figure 2 - How to Fix the Windows Virtual Desktop Black Screen

This means that Windows Virtual Desktop session hosts patched with the latest security updates will not encounter this problem.

As well, in the event a black screen is tied to the AppReadiness service, the following registry entries can be set to change the initial sign-in timeout window to 30 seconds (remember to back up the existing registry keys before applying any changes):

HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AppReadinessPreShellTimeoutMs
Data Type: DWORD
Value:0x7530
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\FirstLogonTimeout
Data Type: DWORD
Value:0x1e
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\DelayedDesktopSwitchTimeout
Data Type: DWORD
Value:0x1e

To summarize, if your organization is experiencing a black screen problem, the following options are available:

Figure 3- How to Fix the Windows Virtual Desktop Black Screen

Parallels RAS Enhances Windows Virtual Desktop

Parallels RAS enriches and extends Windows Virtual Desktop capabilities by providing enterprises with unified workload and resource management. Some of the main benefits of using Parallels RAS with Windows Virtual Desktop are described below:

For further details, please view our joint solution brief with Microsoft.

If you have any questions, please get in touch.