spacer

Contact Sales and Support: (678) 871-9647 | This email address is being protected from spambots. You need JavaScript enabled to view it.

Contact Sales and Support: (678) 871-9647
This email address is being protected from spambots. You need JavaScript enabled to view it.

Using FSLogix Office 365 Container with Microsoft UPD

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.

Image1

Make sure the Remote Desktop Session Host servers are listed in the Share Permissions – as Full Control

Image2

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.

Image3

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.

Image4

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.

TechNet Forum article: https://social.technet.microsoft.com/Forums/windows/en-US/32738684-66c5-4cc7-a8dd-15752dc2abea/server-2012-r2-rdsh-user-profile-disks-exclude-temp-directories?forum=winserverTS

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

Image5

This approach will remove the junction point from the C:\Users\Username - User Profile.

Image6

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.

Image7

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.

Image8

Don’t forget to click on Apply

Image9

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

Image10

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.)

Image11

Define the following NTFS right on the Container folder

Note: You can remove all the inheritance rights as well if you want. 

Image12

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.

Image13

Download the FSLogix Apps Software – request a trial here

Image14

Put in your FSLogix License key – or use the 30 days trial

Accept the license terms and Click Install

Image15

The installation is finished

Image16

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

Image17

When you use the Group Policy method, please activate the following setting under the FSLogix folder.

Image18

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.

Image19

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.

Image20

Background info

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:

Image21

The O365-Username Disks is the FSLogix Office 365 Container:

Image22

OneDrive and SharePoint for Business are now stored in the persistent FSLogix O365 Container:

Image23

The Windows Search database is now stored in the FSLogix Container and is persistent for every Remote Desktop session:

Image24

The other folders are included in the FSLogix Office 365 Container as well:

Image25

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:

Image27