Citrix UPM - How to Configure Standalone Outlook Profile Container with UPM File-Based Profiles Managed via WEM

book

Article ID: CTX697196

calendar_today

Updated On:

Description

1. Architecture & Design Principles

  • Hybrid Profile Architecture:
    • General User Profile: Desktop, Documents, AppData, and registry hives (NTUSER.DAT) remain managed by traditional file-based UPM synchronization (or folder redirection).
    • Dedicated Outlook Container: The specialized UPM Outlook roaming engine automatically provisions and mounts dedicated VHDX containers (OutlookOST.vhdx and OutlookSearchIndex.vhdx) to the local session.
  • Key Benefits:
    • Eliminates Massive File Sync: Avoids transferring multi-gigabyte .ost files across the network during user logon and logoff.
    • Reduced Blast Radius: If the Outlook container becomes corrupted, only the Outlook cache needs to be deleted/rebuilt without impacting the user's primary desktop settings or application preferences.
    • Native Outlook Capabilities: Leverages built-in Outlook search index roaming, concurrent multi-session support, and automatic database repair hooks.

2. Configuration Steps in WEM Web Console

Log in to the WEM Web Console, navigate to your target Configuration Set, and go to Profile Management Settings (or Policies and Profiles > Citrix Profile Management Settings):


Step A. Base UPM Settings (Main / User Store)

  • Enable Profile Management: Enabled (Keep existing configuration)
  • Path to user store: Maintain your existing SMB network share path (e.g., \\FileServer\UPMStore$\#SAMAccountName#\#UPM_ARCH#).


Step B. Profile Container Tab (Important Guidelines)

  • Enable profile container: Unchecked / Disabled Note: If this option is enabled, UPM packages the entire user profile into the container. Because the current requirement is to containerize only Outlook, keep this option disabled (unchecked)
    • Note: If this option is enabled, UPM packages the entire user profile into the container. Because the current requirement is to containerize only Outlook, keep this option disabled (unchecked)
  • Enable VHD auto-expansion for profile container: Checked (Enabled)
    • Auto-expansion trigger threshold (%): Set to 90 (Triggers expansion when disk capacity utilization reaches 90%).
    • Auto-expansion increment (GB): Set to 10 (Expands the container by 10 GB each time).
    • Auto-expansion limit (GB): Set based on your storage planning (e.g., 80 GB).


Step C. Advanced Settings Tab (Core Configurations)

Under [Applications]:

  • Enable search index roaming for Microsoft Outlook users: Checked (Enabled)
    • Explanation: This is the core switch. Enabling this setting automatically provisions and mounts standalone VHDX containers for both the Outlook OST cache (%LocalAppData%\Microsoft\Outlook) and the Windows Search database.
  • Enable concurrent session support: (Recommended/Optional) 
    • Note: Enable if users run multiple concurrent RDSH/multi-session environments to allow differential disk creation for simultaneous Outlook access.

Under [VHD settings]:

  • Default capacity of VHD containers (GB): Set the initial virtual capacity limit (Default is 50 GB; VHDX files expand dynamically on demand).
  • Customize storage path for VHDX files:
    • Unchecked (Default): VHDX files reside directly in the user's existing User Store directory.
    • Checked: Check and specify a custom SMB path (e.g., \\HighPerfStorage\VHDStore$\#SAMAccountName#) if separating container I/O from the file-based store.

Under [VHD disk compaction]:

  • Enable VHD disk compaction: Checked (Enabled)
    • Explanation: Automatically reclaims unused blocks and shrinks the VHDX container upon user logoff when emails are deleted or archived.

 

3. Migration Behavior & Operational Best Practices

  • First Logon Auto-Population: When a user logs on after policy deployment, UPM creates the VHDX container on the share, attaches it locally, and automatically copies any existing local .ost files into the container.
  • Exchange Cache Window Control: Implement Microsoft Office Group Policies (GPO) to restrict Cached Exchange Mode to 3 to 6 months rather than downloading all mail, keeping OST sizes manageable.
  • Legacy UPM File-Based Cache Cleanup Recommendation:
    • Since Outlook is now fully containerized in Profile Container, it is recommended to verify or add AppData\Local\Microsoft\Outlook to the existing UPM Exclusion list - Directories.
    • This prevents the traditional UPM file-based synchronization engine from redundantly syncing cached and temporary data within that folder during logon and logoff.
  • Antivirus Exclusions:
    • File extensions: *.vhdx, *.vhd
    • Process paths: UserProfileManager.exe, CtxProfileContainer.exe

Issue/Introduction

In Citrix Virtual Apps and Desktops (CVAD) environments, organizations frequently utilize traditional file-based User Profile Management (UPM) centrally configured and deployed through Workspace Environment Management (WEM). However, as mailbox sizes expand, large Outlook Offline Data Files (.ost) often cause prolonged logon/logoff times and place heavy traffic on network shares due to file-based synchronization.
This article outlines the recommended architecture and step-by-step instructions to containerize only the Microsoft Outlook cache (OST) and Windows Search index into standalone VHDX containers, while keeping the rest of the user profile managed by traditional file-based UPM—all configured directly through the WEM Web Console.