VirtualDiskAPI::CreateFormattedDisk failed to create vhd(x)

Nicolas Eyrignoux 1 Reputation point
2021-09-08T14:26:41.867+00:00

Hi all,

In order to migrate, I am testing to publish Microsoft 365 Business Premium applications on Windows 2016 Std server within Citrix VDA 1912 LTSR CU3.
To use the cache mode in Outlook 365 , i try to use FsLogix and GPO to redirect OST to an Office container.

According to differents tutorials, i created a share folder on my Windows 2016 virtual server, and applied the necessary share and NTFS permissions for admins, owners and users.

But i am facing a problem : FsLogix can't create the VHDX container on the share folder...

FsLogix ODFC logs wrote this error :

[ERROR:00000005] FindFile failed for path: \srv-bwn-fs-01\OutlookVHD\j.doe_S-1-5-21-3362301328-917399171-2804428954-1151\ODFC*-SESSION-0.VHDX (Accès refusé.)
[14:54:22.286][tid:00000ea0.00001218][INFO] Configuration setting not found: SOFTWARE\Policies\FSLogix\ODFC\VHDNamePattern. Using default: ODFC_%username%
[14:54:22.348][tid:00000ea0.00001218][INFO] vhd(x): \srv-bwn-fs-01\OutlookVHD\j.doe_S-1-5-21-3362301328-917399171-2804428954-1151\ODFC_j.doe-SESSION-0.VHDX
[14:54:22.348][tid:00000ea0.00001218][INFO] ODFC VHD not found. Creating new VHD.
[14:54:22.348][tid:00000ea0.00001218][INFO] Configuration setting not found: SOFTWARE\Policies\FSLogix\ODFC\DirectAttachOnCreateVHD. Using default: 0
[14:54:22.348][tid:00000ea0.00001218][INFO] Configuration setting not found: SOFTWARE\Policies\FSLogix\ODFC\LockedRetryCount. Using default: 12
[14:54:22.348][tid:00000ea0.00001218][INFO] Configuration setting not found: SOFTWARE\Policies\FSLogix\ODFC\LockedRetryInterval. Using default: 5
[14:54:22.348][tid:00000ea0.00001218][INFO] ===== Begin Session: Create Formatted Disk
[14:54:22.348][tid:00000ea0.00001218][ERROR:00000005] VirtualDiskAPI::CreateFormattedDisk failed to create vhd(x): \srv-bwn-fs-01\OutlookVHD\j.doe_S-1-5-21-3362301328-917399171-2804428954-1151\ODFC_j.doe-SESSION-0.VHDX (Accès refusé.)
[14:54:22.348][tid:00000ea0.00001218][INFO] ===== End Session: Create Formatted Disk
[14:54:22.348][tid:00000ea0.00001218][INFO] Status set to 31: Unknown status

Thanks for your help.
Nicolas

FSLogix
FSLogix
A set of solutions that enhance, enable, and simplify non-persistent Windows computing environments and may also be used to create more portable computing sessions when using physical devices.
495 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.