Hello Justin,
Thank you for your question and for reaching out with your question today.
Setting up user profile disks for Generation 2 virtual machines in an RDS environment requires some additional steps compared to Generation 1 VMs. Here are a few considerations to help troubleshoot and resolve the issue:
- Generation 2 VM Requirements: Ensure that the Generation 2 virtual machines meet the necessary requirements, including having a UEFI firmware and using VHDX disk format. Verify that the virtual machines are properly configured as Generation 2 and have the appropriate settings in the virtual machine configuration.
- VHDX Disk Format: Confirm that the user profile disks are created in the VHDX disk format, as Generation 2 VMs require VHDX for their virtual disks. Double-check the configuration of the user profile disk creation process to ensure that it is creating VHDX disks.
- Disk Permissions: Verify that the user account running the RDS session host has the necessary permissions to access and create the user profile disks. Check the permissions on the location where the user profile disks are stored, both at the file system level and the share level if applicable.
- Disk Size and Quotas: Make sure that the user profile disks have enough allocated size to accommodate the user profiles. Check the disk quotas on the file system hosting the user profile disks and ensure that they are not limiting the disk space usage.
- Disk Template: Check the user profile disk template (UVHD template) to ensure it is compatible with Generation 2 VMs. Verify that the template is correctly created and referenced in the RDS environment configuration.
- Disk Template and User Profiles: Confirm that the user profiles are properly created based on the disk template. Ensure that the profiles are not getting stuck in a temporary profile state due to issues with the template or disk permissions.
- UPD Template Registry Setting: In the registry of the RDS session host, navigate to
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
. Check if theUvhdTemplate
registry entry is present and correctly configured with the path to the user profile disk template. - Group Policy Settings: Review the Group Policy settings related to user profile disks and Generation 2 VMs. Check if there are any policies specific to Generation 2 VMs that may impact the creation or usage of user profile disks.
I used AI provided by ChatGPT to formulate part of this response. I have verified that the information is accurate before sharing it with you.
If the reply was helpful, please don’t forget to upvote or accept as answer.
Best regards.