Current and Future Clients/Partners are Welcome.
Multi-share Configuration for VHD ProfileDisks
In this situation the customer had a need to ensure that users logging into a virtual desktop pool used a specific file share for the VHD Profile Disk. The customer had 3 pools and three file servers; each pool had its own file server. The customer wanted to have each pool go to it's own file server, but not make a change to client settings file or base image.
This method uses an enforced GPO to set a system variable, and the ProfileUnity Client Settings are configured to use the variable.
The GPO utilizes Item Level to detect the computer name and set the system variable. This section details the GPO creation process. This GPO is created at the highest level of VDI objects and should be enforced to be able to bypass any GPO blocking downstream.
- Create a GPO according to the organizational standards.
- Set the GPO to enforced
- Edit the GPO to set the environment variable.
- Create a New > Environment Variable
- On the General tab, create a System Variable for each environment
- On the Common tab, select Item-level targeting and click Targeting
- Select Computer Name from the New Item drop down
- In the Targeting editor, enter the base computer name for the virtual desktop pool in the Computer Name box, ensure there is an asterisk to ensure that all computers with that base name set the system variable. Click OK to save
- Repeat steps 4 through 7 for each file server and base computer name combination
Client Settings Configuration
The client settings configuration needs to be set to utilize only one entry. Once updated, the client settings file needs deployed, and the client settings updated on the base image.
Once this is updated, redeploy the Client Settings file, ensuring the path is correct and the Overwrite files if they exist option is selected.
Update the configuration of the base image by running the Lwl.ProfileUnity.Client.Startup executable as an administrator
Testing the Solution
Log into a client desktop that has been deployed by the VDI Broker and is available to for general user usage. Upon logon, open a command window and confirm that the system variable is available and set.
The system variable should be available and set to the proper value based on the computer name.
Next, confirm that ProfileUnity mounted the correct disk, open the LwlLogonNotifier.log file under C:\Windows\Temp\ProfileUnity and ensure that the proper path to the VHD is logged.
The registry can also be confirmed, HKLM\Software\WOW6432Node\Liquidware Labs\ProfileDisk\[USER_SID]\ProfileVhdPath.