In a multi-session Windows Server 2022 Delivery Group, users intermittently lose custom Quick Access pins upon session launch. Inspection of the user profile store reveals that the file responsible for storing Quick Access items (f01b4d95cf55d32a.automaticDestinations-ms):
\\almperfilesideo\perfilesideo$\USER.upm\Win2022v6\UPM_Profile\AppData\Roaming\Microsoft\Windows\Recent\AutomaticDestinations\f01b4d95cf55d32a.automaticDestinations-ms
...is either not pulled from the network store during logon or is overwritten by a newly generated, zero-byte/default file by the VDA shell upon launch.
File Locking during Logoff (SMB Timeout): When a user logs off a Server 2022 VDA, shell32.dll or SearchHost.exe holds an active file handle on AutomaticDestinations items. If the VDA shuts down or the user logs off before CPM releases the SMB lock, the file on the network share becomes marked as corrupt or locked.
Missing Folder Synchronization Directives: By default, subdirectories under AppData\Roaming\Microsoft\Windows\Recent\ are treated as temporary system caches by UPM and may be excluded or improperly handled as basic file streams rather than explicit sync directories.
Corrupt File Replacement Behavior: When explorer.exe initializes during logon, it attempts to read f01b4d95cf55d32a.automaticDestinations-ms. If CPM delay-loads this file or if the file payload is corrupt, Windows automatically deletes the existing file and instantiates a clean, empty default file—wiping user customization and file access permissions.
Step-by-Step Resolution Instructions
Step A: Explicitly Include AutomaticDestinations in Profile Management Policies
AppData\Roaming\Microsoft\Windows\Recent
AppData\Roaming\Microsoft\Windows\Recent\AutomaticDestinations
AppData\Roaming\Microsoft\Windows\Recent\CustomDestinations
4.Under Files to synchronize, add: AppData\Roaming\Microsoft\Windows\Recent\AutomaticDestinations*.*
Step B: Enable Delayed Logon Lock Check (Fix File Lock Collisions)
To prevent CPM from dropping files that are still processing lock releases from previous server sessions:
Step C: Exclude AutomaticDestinations from Profile Container Exclusions (If Using VHD Containers)
If using CPM Profile Containers or FSLogix alongside file-based roaming:
Step D: Implement a Logoff Cleanup Script on Master Image
To ensure explorer.exe cleanly releases its lock on f01b4d95cf55d32a.automaticDestinations-ms prior to CPM profile upload:
PowerShell command to #Kill hanging shell host processes before UPM syncs AppData\Roaming
Get-Process -Name "SearchHost", "StartMenuExperienceHost" -ErrorAction SilentlyContinue | Stop-Process -Force
3. Verification & Validation
Users randomly lose their pinned File Explorer Quick Access items in non-persistent Windows Server 2022 session environments. This occurs because Citrix Profile Management (CPM) fails to sync or unlock the f01b4d95cf55d32a.automaticDestinations-ms file during logon—often due to network file lock timeouts, missing UPM folder inclusion directives, or file corruption—causing Windows to overwrite the profile store with a default blank file
Feedback submitted!