Profile Management

Enable concurrent session support for machine hibernation

When users hibernate virtual machines (VMs) and later resume them, VHDX-based profile disks must remain consistent so the session can continue without data loss. This policy prevents disk conflicts in concurrent session environments where hibernation is applied.

When to enable this policy

By default, VHDX-based Profile Management features don’t support concurrent session scenarios when one session is hibernated, which can result in VHDX disk conflicts. Enable this policy when both of the following conditions apply:

  • The same user can run multiple sessions at the same time (concurrent sessions).
  • One or more of the following Citrix Profile Management policies is enabled:

    • Profile Container
    • Search Index Roaming for Outlook
    • Accelerate Folder Mirroring
    • OneDrive Container

How it works

Without this policy, when a session hibernates, its attached VHDX disks are detached. A new concurrent session might detect and attach those disks. When the hibernated session resumes, it can’t reattach them because they’re already in use, which might lead to profile corruption or unusable sessions.

When this policy is enabled, Citrix Profile Management introduces a tracking mechanism to prevent such conflicts:

  1. At logon, Profile Management creates a record file in the Pending folder in the user store, listing each attached VHDX disk.
  2. If the session hibernates, the record remains so Profile Management knows which disks are still in use.
  3. When another session starts, it checks the record files to avoid attaching disks belonging to a hibernated session.
  4. When the hibernated session resumes, the system automatically reattaches its reserved disks, allowing seamless recovery.
  5. At logoff, the record file is updated to mark the disks as detached.

Enable this policy

  1. Go to Computer Configuration > Policies > Administrative Templates > Citrix Components > Profile Management > Advanced settings > Enable multi-session support for machine hibernation.
  2. Set the policy to Enabled.
  3. Click OK to save the configuration.
  4. Run gpupdate /force on the affected machine to apply the changes.
  5. Log off and log back on to ensure that the policy takes effect.
Enable concurrent session support for machine hibernation