FSLogix and home share for personal disk

2 min read
FSLogix and home share for personal disk
Wouldn't it be nice to have personal disks stored in the user home share? You can!
💡
When I use %Homeshare% environment variable as the path to the VHD file, I get a failure in the logs: Error 1064, Unable to find parent path of ""
HOMESHARE environment variable not compatible with FSLogix?

Setup

FSLogix is great from managing user profiles and settings when publishing a Citrix or Horizon virtual desktop. In the past I’ve setup vSANs with specific unc paths to call out and store personal disks.

Recently when working with a client they asked if the users home share could be used as the location to store these personal disks. They had multiple domains and somewhere around seven or eight different home share paths.

Home share variable doesn’t work

Now as the quote above suggest this can not be done. Yes, this person is right you cannot use the variable %homeshare% but you can use %username%. This will require you to know all possible root paths that home shares can be found in, which though an extra step does accomplish the desired goal.

FSLogix group policy

First thing to do is gather all possible home share locations:

\\domain1\pathA\%username%
\\domain1\pathB\%username%
\\domain2\pathA\%username%
\\domain2\pathB\%username%
\\domain2\pathC\%username%
\\domain3\pathA\%username%

Let’s head to the FSLogix group policy settings and put these paths into use.

Location

Computer Configuration > Policies > Administrative Templates > FSLogix > Profile Containers

Setting

VHD Location, enter the following

\\domain1\pathA\%username%;\\domain1\pathB\%username%;\\domain2\pathA\%username%;\\domain2\pathB\%username%;\\domain2\pathC\%username%;\\domain3\pathA\%username%

Conclusion

You can have your cake and eat it to. No new storage solution or location be needed. Users will continue to store all of their personal information, now including their personal disk, in their home share.

This will simplify end user support and provide for a great virtual desktop experience with user settings following them and not missing a beat.

Virtualize Brief


Follow