
Fslogix is a software solution that provides a scalable and secure way to deliver and manage applications on Azure. It's a game-changer for companies looking to modernize their desktop infrastructure.
Fslogix works by storing applications in a centralized repository, making it easy to deploy and update applications across the organization. This eliminates the need for physical media or manual installation.
With Fslogix, users can access their applications from any device, at any time, as long as they have a connection to the Azure cloud. This provides a seamless and consistent user experience.
Azure Setup
You can deploy and configure FSLogix in Azure by using an automated PowerShell script. This script, available on GitHub, automatically downloads and configures FSLogix into your session host for you.
To use the script, you'll need to modify it to include the correct Azure NetApp Files SMB mount path. This involves copying a path from the Azure NetApp Files volume and pasting it into a variable called $ANFSMBPath in the script.
The script is a modified version of Dean Cefola's work, a Senior Microsoft FastTrack engineer, and is a great resource for automating the deployment process.
Azure NetApp Files
Azure NetApp Files is a game-changer for Windows Virtual Desktop deployments. It offers enterprise shared file services that allow you to deploy SMB (Windows) file shares directly onto your private VNET.
With Azure NetApp Files, you can easily support FSLogix profile containers and shared files for WVD. This is a recommended deployment methodology for Windows Virtual Desktop.
Azure NetApp Files allows you to deploy highly available, performant, and scalable storage to support your users. It also natively supports Active Directory and NTFS permissions.
This storage offering is designed to support the needs of WVD, making it a great choice for those looking to deploy highly available storage.
Curious to learn more? Check out: Azure Data Storage
Deploy Storage for Containers and Shared Data
Deploying storage for containers and shared data is a crucial step in setting up Azure, and I'm here to guide you through it.
Microsoft recommends using Azure NetApp Files for this purpose, as it offers enterprise shared file services that support SMB (Windows) file shares directly onto your private VNET.
Azure NetApp Files can easily support FSLogix profile containers and shared files for Windows Virtual Desktop.
FSLogix is a powerful technology that makes handling remote user profile data simpler than ever, and it's actually a recommended deployment methodology for Windows Virtual Desktop.
FSLogix profile containers are high performance and resolve performance issues that have historically blocked cached exchange mode.
Here are some benefits of using FSLogix:
- Performance: FSLogix profile containers are high performance and resolve performance issues that have historically blocked cached exchange mode.
- OneDrive: Without FSLogix profile containers, OneDrive for Business is not supported in non-persistent RDSH or VDI environments.
- Additional folders: FSLogix provides the ability to extend user profiles to include additional folders.
To deploy FSLogix, you'll need to configure it with Azure NetApp Files. This involves modifying the PowerShell script to include the mount path for Azure NetApp Files.
The script is available on GitHub, and you'll need to add/edit the mount path for Azure NetApp Files to the variable called $ANFSMBPath.
Once you've done this, you can copy the path shown in the mount instructions of the Azure NetApp Files volume and paste it into the $ANFSMBPath variable in the PowerShell script.
Finally, you'll need to configure the registry settings for FSLogix, which involves setting the following values:
- HKLM\SOFTWARE\FSLogix\Profiles: Enabled = 1
- HKLM\SOFTWARE\FSLogix\Profiles: VolumeType = vhdx
- HKLM\SOFTWARE\FSLogix\Profiles: CCDLocations = type=azure,connectionString="YOURSTRING"
Remember to replace "YOURSTRING" with your actual connection string.
Deploy and Configure
Deploying and configuring FSLogix is a crucial step in setting up Azure. You can use an automated deployment script to download and configure FSLogix into your session host.
The script is available on GitHub at https://github.com/kirkryan/Azure-WVD/blob/master/PowerShell/New-WVDSessionHost.ps1. To use it, simply add or edit the mount path for Azure NetApp Files to the variable called $ANFSMBPath.
To configure FSLogix, you can also install the FSlogix agent from the official download link: https://aka.ms/fslogix_download. Then, create a new entry called VHDLocations (Type: REG_MULTI_SZ) in the registry editor and set the value to the mount path of the ANF volume.
Alternatively, you can use the registry configurations from the video, which include setting Enabled to 1, VolumeType to vhdx, and CCDLocations to type=azure,connectionString="YOURSTRING".
If you're using the Windows multi-session + Microsoft 365 Apps image from the marketplace, the FSLogix client is already installed. To push the FSLogix configurations, you can use local policies or the registry editor.
Here are the basic registry configurations required for FSLogix:
To configure FSLogix to use the system account, create a new DWORD value called AccessNetworkAsComputerObject and set it to 1 in the registry key HKLM:\SOFTWARE\FSLogix\Profiles. This will allow FSLogix to access the share using the system account.
Configuration Options
FSLogix configurations can be managed through the registry. The HKLM\SOFTWARE\FSLogix\Profiles path is used to store various settings. Enabled is a DWORD value that can be set to 1 to enable FSLogix.
The VolumeType can be set to vhdx, which is a type of virtual hard disk. CCDLocations is a REG_SZ value that can be set to type=azure,connectionString="YOURSTRING".
Alternatively, you can use the registry editor to push FSLogix configurations to host VMs. This can be done by creating a share on your storage account and configuring FSLogix to use the share.
Profile Containers
FSLogix profile containers are a game-changer for VDI environments. They address many user profile challenges, including performance issues that have historically blocked cached exchange mode.
FSLogix profile containers are high performance, which means they can handle large amounts of user data without slowing down the system. This is a significant improvement over previous solutions.
One of the key benefits of FSLogix profile containers is that they support OneDrive for Business in non-persistent RDSH or VDI environments. Without them, OneDrive is not supported in these environments.
You might like: What Are Containers in Azure
FSLogix profile containers also provide the ability to extend user profiles to include additional folders. This is useful for organizations that need to store large amounts of data, such as documents or videos.
Here are some key benefits of FSLogix profile containers:
- High performance: FSLogix profile containers are designed to handle large amounts of user data without slowing down the system.
- OneDrive support: FSLogix profile containers support OneDrive for Business in non-persistent RDSH or VDI environments.
- Additional folders: FSLogix profile containers provide the ability to extend user profiles to include additional folders.
Alternative Configuration Method
If you encounter issues running the PowerShell script, you can install the FSlogix agent from https://aka.ms/fslogix_download. This is a viable alternative configuration method for FSLogix.
To use this method, you'll need to install the agent and then create a new entry in the registry editor called VHDLocations. This entry should be set to the mount path of the ANF volume.
You'll need to repeat this step for each session host (VM) and can easily automate it through GPO or other alternative methods.
Registry Configurations from Video
You can configure FSLogix by modifying the registry on your host VMs. The registry configurations from the video are as follows:
The registry key HKLM\SOFTWARE\FSLogix\Profiles is where you need to make changes.

Enabled | DWORD | 1 enables FSLogix profile service.
VolumeType | REG_SZ | vhdx sets the volume type to vhdx.
CCDLocations | REG_SZ | type=azure,connectionString="YOURSTRING" configures the connection string for Azure.
Here are the registry key configurations required:
These registry configurations are required to enable FSLogix profile service and configure the volume type and connection string for Azure.
Frequently Asked Questions
What type of storage is FSLogix?
FSLogix containers can be stored on file shares that support SMB protocol or Azure Storage Account Blob. This flexibility allows for scalable and secure storage options.
Does FSLogix support Azure AD?
FSLogix supports Azure AD configurations, including non-traditional setups, for seamless integration
Sources
- https://learn.microsoft.com/en-us/azure/virtual-desktop/fslogix-profile-containers
- https://bluexp.netapp.com/blog/ma-anf-blg-windows-virtual-desktop-fslogix
- https://www.techtarget.com/searchvirtualdesktop/video/How-to-save-FSLogix-profile-containers-to-Azure-Blob-Storage
- https://www.terminalworks.com/blog/post/2022/12/23/azure-virtual-desktop-configuring-fslogix-user-profiles-for-azure-ad-joined-vms-using-azure-files
- https://blog.itprocloud.de/Using-FSLogix-file-shares-with-Azure-AD-cloud-identities-in-Azure-Virtual-Desktop-AVD/
Featured Images: pexels.com