Jump to content

Deployment Guide: Citrix Profile Management Containers

  • Contributed By: Steve Beals Special Thanks To: Steven Gallagher, Jian Song, Liang Yang

Overview

The Citrix Profile Management Profile Container is a VHDX-based profile solution that allows you to store the profile folders of your choice or the entire user profile on the VHDX profile disk. A VHDX file is created per user on your profile storage share and mounted to the VDA session when the users log on. This resolves any issues with slow logons and improves the logon experience. Once the users have logged into their virtual application, their profile folders are available immediately.

The Citrix Profile Container has the following architecture:

image.png

Prerequisites

Before configuring your environment's profile containers, verify that you meet all Citrix Profile Management system requirements. For more information, see System Requirements.

  • Either a supported Windows Desktop or Server OS virtual machine.
  • Citrix Virtual Delivery Agent (VDA) downloaded (Either LTSR 2203 or later or Current Release is acceptable).

Create the User Store

The user store is a central network location that stores the Citrix user profile containers. Either a Server Message Block (SMB) or Common Internet Files System (CIFS) file share can be used for the user store.

  • Create your SMB or CIFS file share based on your organization's best practices and network location.
  • Set the following Share permissions to the file share created:

image.png

  • Set the NTFS permissions for the user store:

image.png

  • The Special Users permissions must be set as follows:

image.png

Install Profile Management

Citrix Profile Management can be installed during the Virtual Delivery Agent (VDA) installation. However, if you already have VDAs deployed without Profile Management, you can install the Profile Management .msi on your updated master image. For this deployment guide, Profile Management is installed during the VDA installation.

  1. Mount the Virtual Apps and Desktops ISO and launch Autoselect.

image.png

  1. Select the option that fits your deployment.

image.png

  1. Click Virtual Delivery Agent for Windows Multi-session OS or single-session OS if that is the case.

image.png

  1. Select the appropriate environment configuration for your deployment and click Next.

image.png

  1. Click Next.

image.png

  1. Select Citrix Profile Management and Citrix Profile Management WMIplug-in and click Next. Ensure to select any other component options you require for your deployment.

image.png

  1. Add your Delivery Controllers and click Next.

image.png

  1. Select applicable options for your deployment. Click Next.

image.png

  1. Select Automatically and click Next.

image.png

  1. Click Install.

image.png

  1. The Virtual Delivery Agent installs.image.png
  2. Click Next.

image.png

  1. Select Restart machine and click Finish.

image.png

 

  1. Once the VDA has restarted, validate that the Citrix Profile Management Service is running on the VDA by opening services.msc.

image.png

 

Create Machine Catalog and Delivery Group

You can create a machine catalog and delivery group for the virtual machines using either Citrix DaaS or Citrix Virtual Apps and Desktops. We use Citrix DaaS for our deployment and run through this process.

  1. Connect to Citrix DaaS Studio and select Machine Catalogs.

image.png

 

  1. Click Create Machine Catalog.

image.png

 

  1. Select the Machine Type. This must match the virtual machine operating system where you installed the VDA.

image.png

 

  1. Choose how you want to deploy your machines. This POC guide has Machines that are not powered managed and deployed through Other service or technology within our Azure subscription. Click Next.

 

 image.png

  1. Click Add machines, and we choose the VDA we created earlier.

image.png

 

  1. Select the VDA we created earlier and click Done.

image.png

 

  1. Choose your minimum functional level for this catalog, and click Next.

image.png

 

 

 

 

  1. Click Next on the Scopes blade.

image.png

 

  1. Click Next on the WEM (Optional) blade.

 

 image.png

  1. Click Next on the VDA Upgrade (Optional) blade.

 

 image.png

  1. Enter a Machine Catalog name. Review—and click Finish.

image.png

 

  1. This will now create your machine catalog.

image.png

 

  1. Once completed, you see that your machine catalog appears in the Citrix DaaS Studio.

image.png

 

  1. From the left side menu, click Delivery Groups to start creating your delivery group.

image.png

  1. Click Create Delivery Group.

image.png

  1. In the Create Delivery Group dialog that opens, Select the catalog you created earlier and choose the number of machines from the machine catalog that will be assigned to this delivery group. Click Next.

image.png

  1. Assign users at this stage. Click Next.

image.png

  1. You can specify applications that appear to the end users under their workspace, or if you want to deliver only the desktop, leave this blank and click Next.

image.png

  1. Select Next on the Scopes screen.

image.png

  1. Leave the default selected on License Assignment and click Next.

image.png

  1. Choose the name of your Delivery Group and the display name your users see, and click Finish.

image.png

  1. You can specify applications that appear to the end users under their workspace, or if you want to deliver only the desktop, leave this blank and click Next.

image.png

  1. Select Next on the Scopes screen.

image.png

  1. Leave the default selected on License Assignment and click Next.

image.png

 

  1. Choose the name of your Delivery Group and the display name that your users see, and click Finish.

 

image.png

 

Configure the Profile Container Policy

Citrix Profile Management containers can capture a portion of the user profile or the entire user profile. For this deployment, we enable the containers for the entire user profile. The profile container policy can be created with Citrix Policies or Group Policy (GPO). If using the GPO method, the Citrix Profile Management .admx and .adml files must be copied into the SYSVOL\PolicyDefinitions within your domain. We use Citrix Policies for this deployment.

  1. Log in to Citrix DaaS or Virtual Apps and Desktops Web Studio and select Policies.

image.png

  1. Click Create Policy.

image.png

  1. Expand and select Profile Management.

image.png

  1. Select Basic SettingsEnable Profile Management, and click Enable.

image.png

  1. Select Path to user store and click Edit.

image.png

  1. Enable the policy and enter the path to the file share where the profile containers are stored. Using #SAMAcccountName# creates a subfolder for each user in the file share.

image.png

  1. Select Profile container settings -  Folders to include in profile container and click Edit.

image.png

  1. Enable the policy, put a * for the contents,  and click Save.

image.png

  1. Select Enable VHD disk compaction and click Enable.

image.png

  1. If you are setting up profile containers for multi-session scenarios (Virtual Apps, Hosted Desktops), select Advanced SettingsEnable multi-session write-back for profile containers, and click Enable.

image.png

  1. Select View selected only, and review the settings configured. Click Next

image.png

  1. The next step is to assign the profile container policy to where and to whom. We are assigning this to a specific Delivery Group for our deployment only. Assign your policy based on your deployment needs.

image.png

  1. Select the appropriate Delivery Group, click Enable, and click Save.

image.png

  1. Click Next.

image.png

  1. Review the policy summary, provide a name for your policy, select Enable Policy, and click Finish.

image.png

  1. The Citrix policy to enable and create profile containers is now enabled.

image.png

  1. You can change the priority of the newly created policy based on your requirements by clicking Change Policy Priorities.

image.png

Optional Configuration Settings

The following policy settings are not required to enable profile containers within your deployment. However, they should be considered to ensure proper scalability and high container availability.

VHD auto-expansion feature. By default, the profile container has a storage capacity of 50 GB. Enabling this feature will automatically expand the profile container VHDX file by 10 GB increments up to a maximum of 80 GB when enabled.

image.png

Replicate user stores. To ensure profile redundancy and high availability to your profile containers, the Profile Management user store can be replicated to multiple paths on each user logon and logoff.

image.png

Include and exclude folders and files. To prevent the profile container from bloating, you can exclude folders and files from it. You can include folders and files when their parent folders are excluded.

Container Validation

Now that the profile container is enabled, users have a profile created for them upon login within the profile user store set within the Citrix policy. All settings will now be saved to this container.

  1. Log in as a test user via Citrix Workspace/Citrix StoreFront and launch a virtual application or desktop, depending on your deployment setup.

image.png

  1. Once the application or desktop has launched, browse your user data store and validate that the profile container VHDX file has been created for the user.

image.png

Summary

This guide walked you through the installation and configuration of Citrix Profile Containers for either a Citrix DaaS or Citrix Virtual Apps and Desktops deployment. This consisted of creating the user store for the profile containers, installing Citrix Profile Management on the VDA, and configuring the Citrix Policy to enable profile containers. Finally, we launched a virtual application and validated the profile container is active for the user.


User Feedback


Please note that the "Profile Container" setting no longer exists in 2402.

Share this comment


Link to comment
Share on other sites



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...