Failing to mount the Outlook VHDX on user profile.

Failing to mount the Outlook VHDX on user profile.

book

Article ID: CTX307867

calendar_today

Updated On:

Description

On UPM log file we see the error while creating the VHDX file its failing with the error code 87

2020-11-30;14:25:30.897;ERROR;;;8;10124;ProcessOutlookSearchRoamingOnLogon: Mount VHDX \\XXXX.com\citrix\user-profiles\joel.donaldson.lab\Win2019v6\VHD\Win2019\OutlookSearchIndex.vhdx to C:\Users\XXX\Appdata\Roaming\Citrix\Search\ failed. Error code:87
 

Resolution

Procmon logs shows below
 
15:25:22.2841151 UserProfileManager.exe 3460 FileSystemControl \\XXX\citrix\user-profiles\XXX\Win2019v6\ProfileContainer\Win2019\ProfileContainer.vhdx INVALID DEVICE REQUEST Control: FSCTL_SET_COMPRESSION

 
On research we found that above error we see on Procmon logs is because the Volume does not allow the compression, see below
[MS-FSCC]: FSCTL_SET_COMPRESSION Reply | Microsoft Docs
Hence Suggested to verify if compression is allowed on the volume based on
https://docs.microsoft.com/en-us/windows/win32/api/winioctl/ni-winioctl-fsctl_set_compression

we would either need a compatible file share for container locations or disable File compression on OS level using FSUTIL.

https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/fsutil-behavior

 

Problem Cause

File compression unsupported on File Share used for profile and container data.