Deploying FSLogix Office 365 Containers (2024)

Deploying FSLogix Office 365 Containers

-March 18, 2019

Have an issue you can't solve? I offer consulting engagements and can be reached here: consulting[а𝐭]amorales[․]org

Updated 2020-04-27

This search portion of this guide does not apply to Server 2019 since itshould roam the Windows search out of the box. However, you can still configure FSLogix to store Office 365 data.

In my experience it is best to avoid mixing FSLogix and UPDs. My recommendation is to go with FSLogix Profiles and FSLogix ODFC.

If you have dealt with User Profile Disks and Office 365 then you might know about the issues with search indexing. Every time a user signs out of the RDS their index is cleared and it has to be rebuilt the next time they sign in. The index will never fully rebuild once you have 5+ users on the server since it throttles itself.

Recently I discovered FSLogix which resolves this issue with minimal configuration. FSLogix creates its own UPD that it uses to store Outlook, OneDrive, and search index data. It then tricks Windows into thinking that it is stored on the local machine rather than on a UPD. The result is the index working immediately for all users.

Deploying FSLogix Office 365 Containers (1)

This solution also works even if you do not have UPDs. For instance, let's say that you have roaming profiles which is causing a spike in disk usage since the OSTs need to be stored on all of your RDS servers.

Deploying FSLogix Office 365 Containers (2)

With FSLogix you can reduce your disk usage by only having to store the data in one place.

Deploying FSLogix Office 365 Containers (3)

Deployment

All Users/New Deployment

If you are deploying FSLogix for all users at once (new RDS deployment) then you do not need to complete any additional steps. Just follow the items under Installation.

Staged

Skip this if you are deploying a new RDS farm

FSLogix allows you to activate the application for select users. This is useful when converting an existing client to FSLogix.

  1. In AD Create a group calledAPP_FSLogix ODFC_Enable
  2. add the appropriate users to that group
  3. Follow the instructions under the Installation section of this guide
  4. Edit the FSlogix GPO
    1. Computer Configuration/Policies/Windows Settings/Security Settings/Restricted Groups
      1. Add Group
      2. FSLogix ODFC Include List (do not click browse)
      3. Members of this group: Click browse and selectAPP_FSLogix ODFC_EnableDeploying FSLogix Office 365 Containers (4)
  5. Once all users have been moved over to FSLogix change the members of the group to "Everyone"
    1. This will ensure that all users who log into the RDS get an FSLogix Container

Deploying FSLogix Office 365 Containers (5)

Installation

  1. Install the Search role on the RDS server
    1. Add-WindowsFeature Search-Service
    2. Make sure the service is set to start automatically

      Deploying FSLogix Office 365 Containers (6)

  2. Run an Online or full repair of Office(do this after enabling the windows search even if things are running fine)
  3. Create a Share for the containers
    1. Create a new drive on the server that will host the containers. (100-150GB is a good starting point)
    2. Create a VMware SCSI controller just for the new drive

      Deploying FSLogix Office 365 Containers (7)

    3. If possible use ReFS as the file system with 64k block size
    4. Create a folder called "FSLogix"
    5. Assign it the permissions found here
    6. Share out the Folder
    7. Add the share to DFS (if available)
    8. Disable Share caching
    9. Make sure the Access Based Enumeration is disabled
  4. Download FSlogix
    1. https://aka.ms/fslogix_download
  5. Copy the ADM files to the central store
    1. the ZIP should have two files:FSLogix.admx andFSLogix.adml
    2. Copy those intoC:\Windows\SYSVOL\domain\Policies\PolicyDefinitionson a domain controller
    3. Restart the Group Policy Management Console if it was already open
  6. Create a GPO called FSLogix ODFC
    1. SeeGPO Settings below
  7. Make sure that the RDS servers have received the GPO before continuing to the next step
  8. Set the UPD exclusions
    1. See UPD Exclusions below
  9. Install FSlogix Office 365 Containers (FSlogixAppsSetup.exe) on all of the RDS servers
  10. Log in as a user and test to make sure everything is working

UPD Exclusions

I don't recommendrunning FSLogix and UPDs together. FSLogix profiles will work much better. However follow the steps below if you need to use UPDs.

  1. Open the Collection properties in server Manager

    Deploying FSLogix Office 365 Containers (8)

  2. Go to User profile Disks
  3. Set the mode to "store only the following folders on the user profile disk"
    1. Failure to set the UPDs to this mode can result in some unexpected behaviors.
    2. In my testing, OneDrive only worked when the UPD was set to this mode.
  4. Include any additional folders/files that you want to always roam.
    1. I don't recommend including high level folders like "AppData/Local" since they can cause conflicts with FSLogix.Deploying FSLogix Office 365 Containers (9)
  5. Click OK to exit.
  6. Users will need to log out and log back in for changes to take effect.

If it is not possible to explicitly include folders/files in your deployment/scenario then you might be stuck using "Store all user settings and data on the user profile disk". In that case, follow the steps below but keep in mind that you might run into issues with Outlook.

  1. Under "Exclude the following folders" set the following exclusions exactly as they appear below
  • AppData\Roaming\Microsoft\Outlook
  • AppData\Local\Microsoft\Office\16.0\Licensing
  • AppData\Local\Microsoft\Teams
  • AppData\Local\Microsoft\Outlook
  • AppData\Local\Microsoft\Office\16.0\OfficeFileCache
  • AppData\Local\Microsoft\Office\16.0\Lync
  • AppData\Roaming\FSLogix\WSearch
  • AppData\Local\Microsoft\OneDrive

    Deploying FSLogix Office 365 Containers (10)

    • Click OK to exit
    • Users will need to log out and log back in for changes to take effect.
    • AV Exclusions

      Make sure to exclude VHDX files from your AV, and make sure that they actually show up on the client's exclude list. In my case simply excluding *.vhdx files from ESET did not do the trick. I had to create the exclusions below.

      • \\SERVER\*.vhdx (File Server)
      • \\EXAMPLE.COM\*.VHDX (DFS namespace)
      • L:\*.vhdx (Local drive on the file server)
      • C:\Windows\TEMP\*.vhdx
      • C:\Program Files\FSLogix\*

      GPO Settings

      Computer Configuration/Administrative Templates/FSLogix/Days to keep log files
      Enabled
      7

      Computer Configuration/Administrative Templates/FSLogix/Office 365 Containers/Locked VHD retry count

      Enabled

      12

      Computer Configuration/Administrative Templates/FSLogix/Office 365 Containers/Dynamic VHD(X) allocation

      Enabled

      Computer Configuration/Administrative Templates/FSLogix/Office 365 Containers/Enabled

      Enabled

      Computer Configuration/Administrative Templates/FSLogix/Office 365 Containers/Include Office activation data in container

      Enabled

      Computer Configuration/Administrative Templates/FSLogix/Office 365 Containers/Include OneDrive data in container

      Enabled

      Computer Configuration/Administrative Templates/FSLogix/Office 365 Containers/Include Outlook data in container

      Enabled

      Computer Configuration/Administrative Templates/FSLogix/Office 365 Containers/Include Teams data in container

      Enabled

      Computer Configuration/Administrative Templates/FSLogix/Office 365 Containers/Size in MBs

      Enabled

      55000

      Computer Configuration/Administrative Templates/FSLogix/Office 365 Containers/Sync OST to VHD

      Enabled

      Move OST to VHD

      *The OST is only moved on the machine where the ODFC is created. OSTs on other servers will not be moved over

      Computer Configuration/Administrative Templates/FSLogix/Office 365 Containers/VHD location

      Enabled

      %PATH(DFS preferred)%

      Computer Configuration/Administrative Templates/FSLogix/Office 365 Containers/Virtual disk type

      Enabled

      VHDX

      Computer Configuration/Administrative Templates/FSLogix/Office 365 Containers/Container and Directory Naming/Swap directory name components

      Enabled

      Computer Configuration/Preferences/Windows Settings/Registry
      HKEY_LOCAL_MACHINE
      SOFTWARE\Microsoft\Windows Search
      CoreCount
      1

      Do not apply any of the settings below if you are deploying Server 2019. 2019 will roam the windows search out of the box.

      Computer Configuration/Administrative Templates/FSLogix/Enable search roaming

      Enabled

      Multi-user search


      Computer Configuration/Administrative Templates/FSLogix/Office 365 Containers/Store search database in Office 365 container

      Enabled

      Multi-user search


      Computer Configuration/Policies/Windows Settings/Security Settings/System Services/Windows Search

      Define this policy

      Automatic

      Computer Configuration/Preferences/Control Panel Settings/Services

      New Service

      Startup: Automatic

      WSearch

      Start Service

      Recovery: set all to restart

      Computer Configuration/Windows Components/Search/Prevent adding UNC locations to index from Control Panel
      Enabled

      Computer Configuration/Windows Components/Search/Prevent adding user-specified locations to the All Locations menu
      Enabled

      Computer Configuration/Windows Components/Search/Prevent automatically adding shared folders to the Windows Search index
      Enabled

      Computer Configuration/Windows Components/Search/Prevent indexing certain paths
      Enabled
      file:///C:\Users\*
      file:///C:\*

      Computer Configuration/Preferences/Windows Settings/Registry
      SYSTEM\CurrentControlSet\Services\WSearch
      DependOnService
      REG_MULTI_SZ
      RPCSS

      frxsvc

      References

      https://support.fslogix.com/index.php/component/fss/?view=kb&catid=12&kbartid=182
      http://pablolegorreta.com/antivirus-best-practices-for-fslogix-profiles/

      FSLogixRDSUPDUPDsUser Profile Disks

      Comments

      1. Deploying FSLogix Office 365 Containers (11)

        DragAugust 27, 2019 at 1:55 AM

        Dear Author,

        First i wold like to thank you your great article.
        I have a problem, I could not start outlook. Outlook says Outlook Window could not ooen. Fslogix vhdx is creating and mounting fine, but outlook only working disabled cache.
        Do. you have some tips?

        Best Regards Drag

        ReplyDelete

        Replies

        1. Deploying FSLogix Office 365 Containers (12)

          Andy2002aSeptember 13, 2019 at 10:29 AM

          Have you tried re-creating the FSLogix disk?

          We had an issue where we could not start Outlook when we upgraded some servers from 2.9.6 to 2.9.7. We ended up reverting the servers to the earlier build to get Outlook working.

          Delete

        2. Deploying FSLogix Office 365 Containers (13)

          DragSeptember 13, 2019 at 2:23 PM

          Yes itrying. And i make a brend new rds host but i have same error.

          Delete

        3. Deploying FSLogix Office 365 Containers (14)

          Andy2002aSeptember 19, 2019 at 2:05 PM

          I would reach out to their support and have them take a look https://social.msdn.microsoft.com/Forums/en-US/14ea5f6f-760b-4ad2-83cf-23c3cbc1bcc4/how-to-open-an-fslogix-support-request?forum=FSLogix

          Delete

        4. Deploying FSLogix Office 365 Containers (15)

          IsabelOctober 28, 2020 at 9:23 AM

          Did you get this resolved? Having the same issue with 2009 Build 13231.20262.

          Delete

      2. Deploying FSLogix Office 365 Containers (16)

        UnknownOctober 18, 2019 at 6:16 AM

        Great article!

        Concerning the AV exclusions: what is the reason for excluding c:\windows\temp\*.vhdx?

        ReplyDelete

        Replies

        1. Deploying FSLogix Office 365 Containers (17)

          Andy2002aOctober 24, 2019 at 6:53 PM

          I got those exclusions from the old FSlogix knowledge base that I think have been removed.

          Delete

      3. Deploying FSLogix Office 365 Containers (18)

        UnknownNovember 15, 2019 at 6:26 AM

        How can I download old version of fslogix?

        ReplyDelete

      4. Deploying FSLogix Office 365 Containers (19)

        UnknownDecember 23, 2019 at 7:53 PM

        I have an existing environment with to RDSH hosts and native UDP and of course I have Office 365 and search indexing issues for end users. Can I just install FSlogix and keep the existing profiles?

        ReplyDelete

        Replies

        1. Deploying FSLogix Office 365 Containers (20)

          Andy2002aJanuary 3, 2020 at 1:38 PM

          Yes, but I have had some issues with UPDs and FSLogix recently. Give it a shot but keep in mind that you might run into issues even with the exclusions set.

          Delete

        2. Deploying FSLogix Office 365 Containers (21)

          RomanoApril 18, 2020 at 7:41 AM

          Hello, we have FSlogix now installed on RDS the office 365 caching works perfectly. However we now have the problem that users that use FSlogix now have to deal with a login time of almost 1,5 minuts. Where as if i where to disable the fslogixs for a user (to test) the login time is almost non existing (5 or 6 seconds) Do you know this issue if so what to do about it?

          Delete

      5. Deploying FSLogix Office 365 Containers (22)

        William JessieDecember 26, 2019 at 11:19 PM

        sdfds

        ReplyDelete

      6. Deploying FSLogix Office 365 Containers (23)

        Mathieu BARREAUJanuary 2, 2020 at 4:44 AM

        hello Andy, thank you for this article. Have you been Source Fslogix 2.8 please? Thank you

        ReplyDelete

        Replies

        1. Deploying FSLogix Office 365 Containers (24)

          Andy2002aJanuary 3, 2020 at 1:39 PM

          Sorry, I don't have any of the old installers. Try opening a ticket with FSL and they might be able to provide you with it.

          Delete

      7. Deploying FSLogix Office 365 Containers (25)

        UnknownMarch 3, 2020 at 2:16 PM

        Just wanted to thank you for making this article, we were struggling with the error "There was an error locating one of the items needed to complete this operation. It might have been deleted." and by downgrading the version of FSLogix this resolved our issue (we also had to reinstall Office).

        ReplyDelete

      8. Deploying FSLogix Office 365 Containers (26)

        UnknownApril 9, 2020 at 4:20 PM

        Not sure if this is still being actively watched but I'm curious how the group restricts who will get FSLogix rolled out. Restricted Groups just creates that group on all domain machines right? Do you also scope the GPO to only that group? From what I can see if I follow these instructions word for word I will end up deploying it to everyone and adding a group to all domain machines. Am I missing something?

        ReplyDelete

        Replies

        1. Deploying FSLogix Office 365 Containers (27)

          UnknownApril 9, 2020 at 5:45 PM

          Figured it out! When you install FSLogix it uses those groups to decide who it gets applied to

          Delete

        2. Deploying FSLogix Office 365 Containers (28)

          Paris WellsMarch 23, 2021 at 1:53 AM

          Just to add to this , when the Application gets installed it created 4 Local groups on the TS

          FSLogix ODFC Exclude List
          FSLogix ODFC Include List
          FSLogix Profile Exclude List
          FSLogix Profile Include List

          The GPO above will update FSLogix ODFC Include List ( which by default has everyone in ) to APP_FSLogix ODFC_Enable , so make sure you do a GPUpdate after installing to update this and reboot , or you can change it manually

          Delete

        3. Deploying FSLogix Office 365 Containers (29)

          Jean-Luc ChandezonMay 4, 2021 at 5:06 AM

          This comment has been removed by the author.

          Delete

      9. Deploying FSLogix Office 365 Containers (30)

        ThibautMay 26, 2020 at 9:40 AM

        Hi and thank you for the article. I don't understand the part "2. Install FSlogix Office 365 Containers (FSlogixAppsSetup.exe) on all of the RDS servers". I have several VMs in my RDS deployment: RDS role VM, Connection Broker VMs, RDSH VMs, etc ... I have to install FSLogix on all servers or just on RDSH? Thank you !

        ReplyDelete

        Replies

        1. Deploying FSLogix Office 365 Containers (31)

          Andy2002aJune 16, 2020 at 2:22 PM

          Just RDSH

          Delete

      10. Deploying FSLogix Office 365 Containers (32)

        UnknownFebruary 4, 2022 at 5:03 AM

        Hello,

        Thank you for taking the time to put this guide together, its fantastic.

        Quick question - We aren't using UDPs and have everything else set up and can see that new profile logons generated the VHDX on the store server but found that profile content does not roam between RD Hosts?

        Has anyone discovered this?

        Thanks! Dan

        ReplyDelete

        Replies

        1. Deploying FSLogix Office 365 Containers (33)

          Andy2002aMarch 8, 2022 at 9:42 AM

          You need something to roam the actual user profile (FSLogix, UPD, Roaming Profiles(haven't tested this with ODFC)).

          Delete

      Post a Comment

      Popular posts from this blog

      FSLogix Troubleshooting guide

      -April 14, 2020

      Have an issue you can't solve? I offer consulting engagements and can be reached here: consulting[а 𝐭 ]amorales[․]org This article will cover some common issues I have ran into, and steps on how to resolve them. The guide should be followed in order since most of the advanced items are usually not the cause of a problem. If you just set up FSLogix, make sure that you followed every step under Deploying FSLogix Office 365 Containers and Deploying FSLogix Profile Containers Terminology ODFC = Office Data File Containers This is there Office (Outlook, Teams, Licensing) data is stored This can be used in conjunction with UPDs FSL Profiles Replacement for UPDs User profiles are stored here (Office data is stored in the ODFC) Cannot be used in conjunction with UPDs Non-Issues The items below should be ignored when troubleshooting Local_ files under C:\Users If FSLogix profiles are enabled, these folders can be ignored. They will be deleted the next

      Read more

      Best Practices for Deploying User Profile Disks

      -March 15, 2019

      Have an issue you can't solve? I offer consulting engagements and can be reached here: consulting[а 𝐭 ]amorales[․]org Last Updated 2020-01-03 After months of testing I recommend deploying FSLogix Profile Containers instead of User Profile Disks. You can find my guide here . Some of the items below apply to FSL Profile Containers. User Profile Disks (UPDs) are great for load balanced RDS farms since it allows users to seamlessly roam from server to server. The goal of this article will be to configure the RDS and file servers in a way that maximizes performance and reduces the likelihood of UPD disconnects. I'll keep this updated any time I find new improvements. Use FSLogix Before you even consider deploying UPDs you need to be aware of this limitation . On Server 2012 and 2016 (Server 2019 does not have this issue, but it doesn't support Office ) the Windows Search index is machine wide. This means that when a UPD is disconnected the user's index data is d

      Read more

      Removing Application UAC Requirements with Shims

      -December 18, 2020

      This guide will show you how to create shims that allow regular users to run applications that normally require local admin. Shims should only be used as a measure of last resort. In many cases simply granting users to certain folders or reg keys eliminates the need to create a shim. You can use LUA Buglight to identify what those reg keys/files are. How it works The shim will force the application to use "RunAsInvoker" when it is launched. RunAsInvoker tells the application to open with the privilege level of whatever launched it. For example, if a regular user opens the application through explorer.exe (a non admin process) then the application will open with regular user permissions. Things to keep in mind: Shims should be installed after the application Shims might need to be re-installed if an application is updated Not all apps play well with shims. Make sure to test the application before putting it into production Pre-Requisites Install the Microsoft Application C

      Read more

      Deploying FSLogix Office 365 Containers (2024)

      FAQs

      Deploying FSLogix Office 365 Containers? ›

      Profile Container (PC) is enabled via a simple registry entry in HKLM\SOFTWARE\FSLogix\Profiles after it is downloaded and installed. Here you enable the Profile Container and point it at a UNC of a file share location where the profile VHD file will be created when users log in.

      How to implement FSLogix profile containers? ›

      Profile Container (PC) is enabled via a simple registry entry in HKLM\SOFTWARE\FSLogix\Profiles after it is downloaded and installed. Here you enable the Profile Container and point it at a UNC of a file share location where the profile VHD file will be created when users log in.

      How big is the FSLogix Office 365 container? ›

      Default disk size is 30 GB for both Profile and Office containers and that means that you are expecting to have for each user up to 60 GB of data if you are using both profiles.

      What is a FSLogix office container? ›

      As outlined in our terminology page, FSLogix containers are the virtual hard disk (VHD(x)) files, which hold all of the data for the given container type. Note. Cloud Cache isn't a type of container, but it is an optional configuration for profile and ODFC container types. For more information, see Cloud Cache overview ...

      What is the performance of FSLogix profile container? ›

      Performance: The FSLogix profile containers are high performance and resolve performance issues that have historically blocked cached exchange mode. OneDrive: Without FSLogix profile containers, OneDrive for Business is not supported in non-persistent RDSH or VDI environments.

      What is the size limit of profile container in FSLogix? ›

      Profile Containers -> Delete local profile when FSLogix Profile should apply – delete a local user profile when FSLogix enabled; Profile Containers -> Size in MB – to set the maximum size of a profile file (30,000 MB by default);

      Does Microsoft own FSLogix? ›

      We know our team can play a key role in making this happen, and today I am very proud to announce that FSLogix has been acquired by Microsoft. Although it's still business as usual, FSLogix will soon integrate with Microsoft and join the strength of its enterprise productivity solutions and global reach.

      What type of storage is FSLogix? ›

      Storage types

      Regardless of your container configuration, all FSLogix containers can be stored on file shares that support the SMB protocol. If you decided to use Cloud Cache as part of your configuration, you can choose to store your containers in an Azure Storage Account Blob.

      What is the maximum size of OST file in FSLogix? ›

      The maximum default size of an OST file is 50 GB. The default mailbox size for Office 365 E3 and E5 plans is 100 GB. When you use Cached Exchange Mode, be aware that users' local . ost files are 50 percent to 80 percent larger than the mailbox size reported in Exchange Server.

      What is the difference between FSLogix and UPM? ›

      Architecturally there aren't a lot of differences between FSLogix and UPM container implementations but there are enough to make it a bit of a hassle to do manually. Some of the folder names and structures are different, which is the main issue.

      What two options are recommended for FSLogix profile storage? ›

      Most users decide to use one of two FSLogix storage options: either a file server VM (virtual machine) or Azure Files.

      What is the difference between FSLogix and app volumes? ›

      App Volumes persists applications, while FSLogix Profile Container persists user data and configuration data for these applications. App Volumes writable volumes allow end users to install and persist their own applications, while FSLogix Profile Container persists configuration data for user-installed applications.

      Should I use FSLogix? ›

      FSLogix is a great way to create roaming user profiles in non-persistent computer environments like an AVD host pool with users logging into different hosts on what could be a daily basis. Profiles would no longer be dependent on an individual machine due to the added flexibility with FSLogix.

      What are the benefits of FSLogix? ›

      Here are a few things that FSLogix provides: Roam user data between remote computing session hosts. Minimize sign in times for virtual desktop environments. Optimize file I/O between host/client and remote profile store.

      How to shrink FSLogix profile? ›

      To shrink the FSLogix VHD/VHDX containers using a scripted action:
      1. Create the following Global Secure Variables: (See Scripted Actions Global Secure Variables for details.) ...
      2. Navigate to Scripted Actions > Azure runbooks.
      3. Locate the script called Shrink FSLogix Profiles.
      4. From the action menu, select Run now or Schedule.
      Apr 22, 2024

      Where are FSLogix profiles stored? ›

      The user's profile will be a VHDX or VHD file depending on the settings configured (with VHDX being preferred). By default, this will include the user's entire profile. Think of everything that would be in a user's C:\User\<username> folder and this will be stored in their FSLogix profile container.

      How do you recreate a profile in FSLogix? ›

      Recreating The Users Profile

      To create a new profile, login to the File Server, navigate to D:\Profile, and locate the profile folder for the user that you want to create a new profile for.

      How to implement FSLogix in avd? ›

      Setting up FSLogix with Azure Virtual Desktop
      1. Create a Storage Account with a Private Endpoint.
      2. Create a File Share in the storage account.
      3. Enable Active Directory Authentication on the storage account.
      4. Configure access control in the storage account and NTFS permissions of the Azure File Share.
      Oct 10, 2022

      What is the Citrix Profile Management Profile Container? ›

      The Citrix Profile Management Profile Container is a VHDX-based profile solution that allows you to store the profile folders of your choice or the entire user profile on the VHDX profile disk. A VHDX file is created per user on your profile storage share and mounted to the VDA session when the users log on.

      Top Articles
      Latest Posts
      Article information

      Author: Nicola Considine CPA

      Last Updated:

      Views: 5843

      Rating: 4.9 / 5 (69 voted)

      Reviews: 84% of readers found this page helpful

      Author information

      Name: Nicola Considine CPA

      Birthday: 1993-02-26

      Address: 3809 Clinton Inlet, East Aleisha, UT 46318-2392

      Phone: +2681424145499

      Job: Government Technician

      Hobby: Calligraphy, Lego building, Worldbuilding, Shooting, Bird watching, Shopping, Cooking

      Introduction: My name is Nicola Considine CPA, I am a determined, witty, powerful, brainy, open, smiling, proud person who loves writing and wants to share my knowledge and understanding with you.