Profile Management 2109

Automatically reattach detached VHDX disks in sessions

Citrix Profile Management offers the following VHDX-based policies:

Each policy relies on relevant VHDX virtual disks to function properly. Profile Management attaches those disks during logons and detaches them during logoffs. However, the disks might be accidentally detached during a session, preventing the policies from functioning properly.

Possible causes for a VHDX virtual disk to detach include:

  • File server encountering a transient error
  • Slow network connection

Profile Management can detect when a VHDX virtual disk is detached in a session and then reattach it automatically.

To enable Profile Management to detect detached VHDX disks and to reattach them, configure the following registry key:


Name: EnableVolumeReattach


Value: 0

To enable the feature, set the value to 1. To disable it, set the value to 0. By default, the feature is disabled.


Editing the registry incorrectly can cause serious problems that might require you to reinstall your operating system. Citrix cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk. Be sure to back up the registry before you edit it.

For your changes to take effect, run the gpupdate /force command from the command prompt, as documented at

Automatically reattach detached VHDX disks in sessions