If you haven’t read our introductory blog post about using UPD with FSLogix Office 365 Container, it might be wise to check that out, too. It talks about the differences between the products and why you’d want to use them together. This document explains how to set up Microsoft UPD and Office 365 Container.
How to Activate Microsoft UPD in Remote Desktop Services
First, we need to create a UPD SMB network file share on a Windows Server, or SMB supported storage server to store our VHD files.
Make sure the Remote Desktop Session Host servers are listed in the Share Permissions – as Full Control
The same counts for the NTFS rights part. The rights are normally automatically set during the RDS Collection configuration – so you probably only need to confirm the rights.
Create or modify the RDS Collection
User Profile Disks can only be used on a Remote Desktop Services environment and can be activated during the Collection setup or through PowerShell cmdlets. Enter the created file share UNC path and give in the maximum size of the VHD Container.
Activate exclusions for FSLogix Office 365 Containers
When the FSLogix Office 365 container is used together with any other profile solution (except local Windows profiles) – normally the following folders need to be excluded from handling by the profile solution or errors will likely occur.
Although, currently it isn’t possible to remove the junction point from the C:\Users\USERNAME folder location with the exclusion option – because of a bug (see the TechNet Forum article below) in UPD exclusions are not working upon the normal User Profile inclusions.
To solve this problem, we need to activate the seconds option in the RDS Collection configuration setup, named – Store only the following folders on the user profile disk.
This approach will remove the junction point from the C:\Users\Username - User Profile.
And re-creates them directly on the different User Profile folders within the users folder. You can detect the junction points now through the – shortcut - icon next to the Documents folders, or by the .symlink type of a folder.
Keep in mind that you need to be sure that all the Local AppData inclusions (if any) are listed and active in the in the User Profile Disks Configuration screen – this only by adding the locations manually will make the folders persistent.
Add them all wisely in this inclusion console and the folders, and files will remain in the User Profile Disk!
From an Outlook perspective – it’s not needed to include anything as well now have included the Roaming Outlook Personalization (SRS file location) folder in the Office 365 container as well.
Don’t forget to click on Apply
We are now finished with the configuration part of User Profile Disk of Remote Desktop Services, and can continue with the FSLogix Office 365 Container installation and configuration.
How to Install and Configure FSLogix Office 365 Containers
Create another SMB file network share with the a random name, such as Containers to identity the differences
Make sure to share the Container folder
Assign the following Share Permissions
(we take care of the most important rights on the NTFS filesystem level.)
Define the following NTFS right on the Container folder
Note: You can remove all the inheritance rights as well if you want.
Set at least the minimum rights as named in the above table. Please see the screenshot below for the most import special permission settings at the user level.
Download the FSLogix Apps Software – request a trial here
Put in your FSLogix License key – or use the 30 days trial
Accept the license terms and Click Install
The installation is finished
Create the following register keys – or upload the ADMX and ADML FSLogix Group Policy files delivered in the root of installation files folder
Change the VHDLocation registry entry to the SMB share you just created
Note: The Container files and folders will automatedly be created by the following index SID_Username
When you use the Group Policy method, please activate the following setting under the FSLogix folder.
And the following settings under the Office 365 Containers folder.
Note: FSLogix Office 365 Containers support Concurrent user sessions – Therefore - keep in mind that FSLogix Office 365 Containers includes multi-session support for the Container, but the UPD Container does not. The second Remote Desktop session will have the Office 365 data, such as Outlook OST cache-file and Search available, but the Windows profile will be empty and stored on the local OS Drive. When you want to solve this issue, and need multi-session support. Please have a look at our FSLogix Profile Container solution – this is our complete profile solution, which doesn’t require UPD anymore.
Configure the following Group Policy settings and assign them to the Organizational Unit of your Virtual Desktop environment
The result of implementing UPD and FSLogix Office 365 Containers
You are now ready to use FSLogix Profile Containers together with Microsoft User Profile Disks (UPD) – to use Windows Search database, OneDrive and SharePoint multi-session roaming on Remote Desktop Services.
At the moment you logon to your Remote Desktop environment, 2 Virtual Hard Drive (VHD) Containers will be mounted to the system.
The User Disk is the UPD VHD:
The O365-Username Disks is the FSLogix Office 365 Container:
OneDrive and SharePoint for Business are now stored in the persistent FSLogix O365 Container:
The Windows Search database is now stored in the FSLogix Container and is persistent for every Remote Desktop session:
The other folders are included in the FSLogix Office 365 Container as well:
You’re now ready to use Office 365 Solution on your Remote Desktop Digital Workspace environment! See the video below for a demonstration of everything working together: