Since the release of AVD into General Availability in October 2019, we have identified and implemented a number of optimizations that improve system stability and performance. These recommended settings are automatically integrated into all new deployments. We strongly encourage our partners to get familiarized with these settings and evaluate applying them to their current deployments.
Follow the steps below to apply the most relevant FSLogix registry optimizations. You can learn more about FSLogix, how it works and how to troubleshoot it in our Nerdio Academy FSLogix article.
Step by Step Instructions for AVD Desktop Pool Template VM
Step by Step Instructions for Golden Image
Step-by-Step Instructions for AVD Desktop Pool Template VM
There are three registry entries that should be added to a host pool in a AVD environment
Steps to take
- From the NAP, boot up the template by going in to Servers > select Manage Hosts button for the pool > select Power on to modify in the Template section
- Record the IP for the template host and wait for the template to finish powering on
- Login to FS01 as a domain administrator
- Once logged in to FS01, RDP to the IP of the template host using the same set of domain admin credentials
- From the template desktop, select the Windows key/start button and type regedit
- The registry path where values need to be added:
- HKLM\SOFTWARE\FSLogix\Profiles
- In the editor, right click and add new DWORD entries for each of the following and set the value to 1
- DeleteLocalProfileWhenVHDShouldApply
- PreventLoginWithFailure
- PreventLoginWithTempProfile
- Verify that the VHDLocations and RedirXMLSourceFolder contains the fully qualified domain name (FQDN) for FS01 (fs01.nerdio.int in the example above). NOTE: If you've replaced the default nerdio.int AD domain name with your own, be sure to make the proper changes above in the VHDLocations and RedirXMLSourceFolder registry entries.
- Sign out of the template session
- Via the NAP, go to Servers > on the pool host select Manage Hosts button > in the template section select "Power off and set as image" button to commit changes
- Once powered off a new host can be added to the pool or updating existing host(s) can be performed to implement the above changes
Step-by-Step Instructions for Golden Image
There are three registry entries that should be added to a host pool in an AVD environment
Steps to take
- From the NAP, boot up the Golden image by going in to Servers > in the Golden Image section select the Power on button
- Record the IP for the Golden Image and wait for the virtual machine to finish powering on
- Login to FS01 as a domain administrator
- Once logged in to FS01, RDP to the IP of the Golden Image using the same set of domain admin credentials
- From the Gold Image desktop, select the Windows key/start button and type regedit
- The registry path where values need to be added:
- HKLM\SOFTWARE\FSLogix\Profiles
- In the editor, right click and add new DWORD entries for each of the following and set the value to 1
- DeleteLocalProfileWhenVHDShouldApply
- PreventLoginWithFailure
- PreventLoginWithTempProfile
- Verify that the VHDLocations and RedirXMLSourceFolder contains the fully qualified domain name (FQDN) for FS01 (fs01.nerdio.int in the example above). NOTE: If you've replaced the default nerdio.int AD domain name with your own, be sure to make the proper changes above in the VHDLocations and RedirXMLSourceFolder registry entries.
- Sign out of the Golden Image session
- Via the NAP, go to Servers > in the Golden Image section choose Power off to commit changes
- The Golden Image will now be available for use in creating new host pools or personal desktops
Definition and Descriptions
DeleteLocalProfileWhenVHDShouldApply
Type DWORD
Default Value - 0
Nerdio Recommended Value - 1
Data values and use 0: no deletion. 1: delete local profile if exists and matches the profile being loaded from VHD.
PreventLoginWithFailure
Type DWORD
Default Value - 0
Nerdio Recommended Value - 1
Data values and use If set to 1 Profile Container will load FRXShell if there's a failure attaching to, or using an existing profile VHD(X). The user will receive the FRXShell prompt - default prompt to call support, and the users only option will be to sign out.
PreventLoginWithTempProfile
Type DWORD
Default Value - 0
Nerdio Recommended Value - 1
Data values and use If set to 1 Profile Container will load FRXShell if it's determined a temp profile has been created. The user will receive the FRXShell prompt - default prompt to call support, and the users only option will be to sign out.
Source Information - https://docs.microsoft.com/en-us/fslogix/profile-container-configuration-reference
Comments (0 comments)