VDI – Outlook OST caching on a User Profile Disk

Configuring the File Share for Storage of User Profile Disks:

Create a file share with the following NTFS and Share permissions:
In our case : \\fs01.uwsd.loc\UPD

Share Permission

User Account/Group Permission
Everyone Full Control

NTFS Permission

User Account/Group Permission Folder
Administrator Full Control This folder, subfolders and files
Authentication Users Modify This folder only
Creator/Owner Modify Subfolder and Files only
Domain Computers Modify This folder, subfolders and files

Creation of the User Profile Disk Template

To create the UPD Template, you need to execute the following script in PowerShell:
(change the UNC path. The 10 stands for the size of the disk in GB, it’s thin provisioned)


You now have a template disk \\fs01.uwsd.loc\UPD\UVHD-template.vhdx
Note: Check if you can see the NTFS permissions of the template disk. If not, recreate the disk

Configuration of User Profile Disk Environmental Settings

1) Download the ADMX files from here (UPD admx Files) and create a computer GPO
Computer Configuration → Administrative Templates → Microsoft User Profile Disks

2) Enable ‘Enable User Profile Disk’ with option 1

3) Enable “Location User Profile Disk” and set the UNC path of the created share:

4) Enable “Configuration XML File User Profile Disks”. The default setting: C: \Windows\RemotePackages\RDFArm\UvhdRoamingPolicy.xml is correct

Configuratie UvhdRoamingPolicy:

Create a file named: UvhdRoamingPolicy.xml on a central location: In our case \\uwsd.loc\NETLOGON\
In the XML file :

In the UvhdRoamingPolicy.xml are the folders you want to include. In our case only the Outlook folder

We now need to add the GPO to copy the file from the share to the VDI:
Computer Configuration → Preferences → Windows Settings → Files


Testing:

Log in as a Test user on the VDI. When logged on, you should see the UPD:

Browse to %localappdata%\microsoft and you will see the Outlook icon:

To check the symbolink link:

In the VDI create a Outlook profile and turn on the “Use cached exchange mode” option.

Browse to: %LocalAppData%\Microsoft\Outlook and see the OST file. Logoff and logon to another VDI and see the OST file.

2,448 total views, 9 views today

Leave a Reply

Your email address will not be published. Required fields are marked *

*

code