AVD Session Host Optimization

Gareth Coleman 31 Reputation points
2021-12-14T15:35:04.037+00:00

Hi Everyone,

After a bit of advise if at all possible. I have deployed AVD for a customer a few moths ago and when doing a feedback session I am getting complaints about it taking to long to sign in. When I log in myself it takes on average between 50 seconds to a minute from clicking the icon on the Remote Desktop App to having AVD fully loaded, which I didn't think to bad.

User profiles are handled via FSLogix with containers hosted in Azure File Share and the DC authorised to use SMB and NTFS to Az Files

At login there are a few GPO's pulled from a DC to map drives (these point to Azure File Shares and depending on the user ), Map a printer and the define Remote Session Environment (Session Time Out and Auto Log-Off). These take about 20 Seconds to go through.

You then get the 'Preparing Windows' screen which hangs around for 10 seconds or so and then the screen goes completely black for between 20 - 30 seconds before the desktop shows up.

I have checked the metrics to see if there is a bottle neck anywhere and everything seems fine.

I have looked at using the Windows 10 for AVD Optimization tool (from the VDI Team on GitHUB) however a couple of the test machines I have tried it on, no matter what I set the AppX config json to, it always just removes everything (including apps clients need) so I have to go and reinstall it all again.

My first question is what is correct config set I should be using for Windows 10 Multi Session 21H2 (as 21H2 folder is meant for Windows 11).

My second question is if anyone has experienced the same issue and whether this is to be expected or whether there is a fix for it.

The clients previous system was an Azure hosted RDS Server with everything hosted from the one machine (profiles, data etc)

Many thanks in advance
Gareth

Azure Virtual Desktop
Azure Virtual Desktop
A Microsoft desktop and app virtualization service that runs on Azure. Previously known as Windows Virtual Desktop.
1,835 questions
Windows for business Windows Client for IT Pros User experience FSLogix
Windows for business Windows Client for IT Pros User experience Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Alan Kinane 16,951 Reputation points MVP Volunteer Moderator
    2021-12-14T19:43:43.567+00:00

    There's a lot to consider here but I suspect it might be down to your GPOs. You mentioned 20 seconds but if you disable these is it really just 20 seconds faster?

    Where is the DC hosted, in Azure? Same region? These mapped printers, where are they located?

    DNS servers, where are they located?

    Might be obvious but what spec are the session host VMs and are you using Premium SSD disks for the OS? Are you using Premium tier for Azure files?

    Anti-Virus configured correctly? Exclusions in place for FSLogix?

    This is worth a read through: https://learn.microsoft.com/en-us/azure/architecture/example-scenario/wvd/windows-virtual-desktop-fslogix

    I would install AVD Insights also as this can give you metrics on profile load times etc. Best approach is to eliminate the possible causes systematically, for example try using local profiles for a user and see if it makes much difference?


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.