Search
StarWind is a hyperconverged (HCI) vendor with focus on Enterprise ROBO, SMB & Edge

FSLogix configuration in VMware Horizon

  • February 6, 2024
  • 9 min read
Cloud and Virtualization Architect. Paolo is a System Engineer, VCP-DCV, vExpert, VMCE, Veeam Vanguard, and author of the virtualization blog nolabnoparty.com
Cloud and Virtualization Architect. Paolo is a System Engineer, VCP-DCV, vExpert, VMCE, Veeam Vanguard, and author of the virtualization blog nolabnoparty.com


FSLogix configuration in VMware Horizon

The FSLogix configuration in VMware Horizon environment allows to provide a persistent area to machines such as Instant Clones.

FSLogix is a Microsoft tool used to manage user profiles. User profiles are offloaded to a VHD(X) file stored in a centralized share repository and attached to the VDI during the logon process.

FSLogix can be used to retain application configuration data in the profile but cannot hold user-installed applications. To satisfy both requirements, writable volumes included in the VMware App Volumes solution can be used in your VDI environment.

You can also use both App Volumes and FSLogix at the same time to store user-installed applications on the writable volume and application customizations in the FSLogix Profile Container.

FSLogix configuration in VMware Horizon

To proceed with the configuration of FSLogix in VMware Horizon, we need the following prerequistes:

  • A Windows File Server used to store the FSLogix Profiles.
  • The FSLogix application (download the software here).

Configure network shares

From the File Server, create the following folders tree:

  • FSLogix
    – Profiles
    – Logs

From the File Server, create the following folders tree

Right click the Profiles folder and select Properties.

Right click the Profiles folder and select Properties

Share

Assign the following permissions:

Share name > Profiles$

  • Administrators > Full
  • Authenticated Users > Change and Read

Authenticated Users

Security

In Security tab, click Advanced and click Disable inheritance to remove existing permissions.

In Security tab, click Advanced and click Disable inheritance

Click Add to add required permissions.

Click Add to add required permissions

Configure the following permissions:

  • Adminstrators > Full control > This folder, subfolders, and files
  • G_HorizonUsers > Modify > This folder only
  • CREATOR OWNER > Modify > Subfolders and files only

Click OK when done.

Configure the following permissions

Now right click the Logs folder and select Properties.

Right click the Logs folder and select Properties

Share

Assign the following permissions:

Share name > Logs$

  • Administrators > Full
  • Authenticated Users > Change and Read

Assign the following permissions

Security

  • Administrators > Full control > This folder, subfolders, and files
  • Domain Computers > Modify > This folder, subfolders, and files

Security

Configure the GPO for FSLogix

Next step of the FSLogix configuration is the creation of the GPO in Acitive Directory.

From the FSLogix_Apps_2.9.8612.60056.zip file, extract the two FSLogix’s Active Directory templates.

Configure the GPO for FSLogix

Now login to the Domain Controller and copy the two templates to C:\Windows\SYSVOL\sysvol\<domain>\Policies\PolicyDefinitions.

  • fslogix.admx > ..\policydefinitions
  • fslogix.adml > ..\policydefinitions\en-US

Now login to the Domain Controller and copy the two templates

From the Domain Controller open the Group Policy Management and create a new Policy. Right click the Group Policy Object and select New.

From the Domain Controller open the Group Policy Management and create a new Policy

Give the policy a Name and click OK.

Give the policy a Name and click OK

Right click the just configured GPO and select Edit to configure the FSlogix settings.

Select Edit to configure the FSlogix settings

Computer Configuration

Go to Policies > Administrative Templates > FSLogix > Profile Containers and configure the following policy:

  • Enabled: Enabled

Configure the following policy

  • VHD location: Enabled – specify the path to the FSLogix Profiles share previously created.

Specify the path to the FSLogix Profiles share previously created

Go to Policies > Administrative Templates > FSLogix > Logging and configure the following policy:

  • Enable: Enabled, Options: Specific Logs only

Enabled, Options: Specific Logs only

  • Log Directory: Enabled – specify the path to the FSLogix Logs share previously created.

Specify the path to the FSLogix Logs share previously created

Right click the OU where VDIs are created and select Link an Existing GPO.

wp-image-24461

Select the just created GPO and click OK.

wp-image-24462

The GPO has been applied to the OU.

wp-image-24463

Installing the FSLogix Agent

Once the FSLogix configuration in the VDI environment has been configured, from the FSLogix_Apps_2.9.8612.60056.zip file, extract the FSLogixAppsSetup.exe agent.

wp-image-24464

Copy the Agent to the Golden Image and run the installer. Accept the EULA and click Install.

wp-image-24465

The Agent is being installed in the Golden Image.

wp-image-24466

Click Close to exit the installer.

wp-image-24467

Make sure the Agent has been installed in the Golden Image.

wp-image-24468

Test FSLogix

After completing the FSLogix configuration, it’s time to test if everything works as expected.

Login to a VMware Horizon VDI.

wp-image-24469

Select the Pool configured with FSLogix to access the VDI.

wp-image-24470

During the login process the FSLogix service is being enabled.

A blue background with white text Description automatically generated

Once the login completes, the FSLogix Profile is created in the configured share in the File Server.

A screenshot of a desktop Description automatically generated

Go to the File Server and verify if the virtual hard disk (VHD file) was created.

wp-image-24473

FSLogix creates in the File Server also some logs if enabled in the GPO.

wp-image-24474

Open for example Microsoft Word and enter the credentials to register and configure the application.

wp-image-24475

The application has been configured with the specified user.

A screenshot of a computer Description automatically generated

Logoff from the VDI and login once again. Run Microsoft Word once again.

A blue background with white text Description automatically generated

Since FSLogix provides a persistent area for the Instant Clones, if everything works as expected, credentials and configuration should be retained and no additional configuration will be requested.

A screenshot of a computer Description automatically generated

FSLogix works as expected and can be used in those scenarios where Office 365 is installed in your Golden Images and you want that credentials and configurations are retained.

Keep in mind FSlogix can be also used in combination with VMware App Volumes.

Hey! Found Paolo’s article helpful? Looking to deploy a new, easy-to-manage, and cost-effective hyperconverged infrastructure?
Alex Bykovskyi
Alex Bykovskyi StarWind Virtual HCI Appliance Product Manager
Well, we can help you with this one! Building a new hyperconverged environment is a breeze with StarWind Virtual HCI Appliance (VHCA). It’s a complete hyperconverged infrastructure solution that combines hypervisor (vSphere, Hyper-V, Proxmox, or our custom version of KVM), software-defined storage (StarWind VSAN), and streamlined management tools. Interested in diving deeper into VHCA’s capabilities and features? Book your StarWind Virtual HCI Appliance demo today!