Поділитися через


Tutorial: Configure ODFC containers

Important

  • Using the ODFC container in a single container configuration is recommended with third party roaming profile solutions.
  • Using the ODFC container in a dual container configuration isn't necessary or recommended.

FSLogix ODFC containers are a subset to the profile container and are used to redirect specific Microsoft 365 app data into a VHD stored on a storage provider. The most common storage provider is an SMB file share.

All benefits of the ODFC Container are automatic when using profile containers in a single container configuration. There's no need or benefit to using the ODFC container when profile containers are your primary profile management solution. ODFC containers can optionally be used in with profile containers in a dual container configuration, to place Microsoft 365 app data in a different VHD from the rest of the profile data.

When pairing the ODFC container with third party roaming profile solutions, ensure to exclude the paths in the profile managed by the ODFC container. The paths to exclude depend on the ODFC configuration settings.

Learn how to

  • Enable the product for ODFC
  • Specify the location for the containers
  • Verify the container has been attached and working

Prerequisites

Note

This tutorial doesn't cover how to convert to / from single or dual containers.

ODFC container configuration

  1. Verify FSLogix installation and version.

  2. Sign in to the virtual machine as a local Administrator or an account with administrative privileges.

  3. Type Registry Editor into the Search box.

  4. Select Registry Editor from the Start Menu.

    registry editor

    Figure 1: Registry Editor

  5. Go to: HKEY_LOCAL_MACHINE\SOFTWARE\Policies\FSLogix\ODFC.

  6. Add these settings:

    Key Name Data Type Value Description
    Enabled DWORD 1 REQUIRED
    FlipFlopProfileDirectoryName1 DWORD 1 Recommended
    IncludeTeams2 DWORD 1 Recommended
    LockedRetryCount3 DWORD 3 Recommended
    LockedRetryInterval3 DWORD 15 Recommended
    ReAttachIntervalSeconds3 DWORD 15 Recommended
    ReAttachRetryCount3 DWORD 3 Recommended
    SizeInMBs DWORD 30000 Default
    VHDLocations MULTI_SZ or REG_SZ \\<storage-account-name>.file.core.windows.net\<share-name> Example
    VolumeType4 REG_SZ VHDX Recommended

    1 Provides and easier way to browse the container directories.
    2 Ensures Microsoft Teams data is kept in the container for optimal performance.
    3 Decreases the retry timing to enable a faster fail scenario.
    4 VHDX is preferred over VHD due to its supported size and reduced corruption scenarios.

    f s logix registry settings odfc

    Figure 2: Registry settings for ODFC

Verify your ODFC container configuration

  1. Sign in as a standard user.

  2. Select Start and Type command prompt directly into the Start Menu.

  3. Select Command Prompt from the Start Menu.

    command prompt start menu

    Figure 3: Command prompt

  4. Change directory to C:\Program Files\FSLogix\Apps.

  5. Type frx list-redirects.

    f r x list redirects odfc

    Figure 4: frx list-redirects output

  6. Select Start.

  7. Select File Explorer.

  8. Type the full path from VHDLocations in the previous section.

  9. Double-click the folder for the standard user.

    • %username%-%sid%
  10. Locate the newly created Profile and ODFC VHDX containers.

    file share odfc

    Figure 5: ODFC file share

Exclusions for third party roaming profiles

When pairing the ODFC container with a third party roaming profile solution, the folders managed by the ODFC container should NOT be roamed by the third party provider. The folders to exclude depend on which settings are enabled.

ODFC configuration setting Exclusion path Type
IncludeOfficeActivation %userprofile%\AppData\Local\Microsoft\Office\16.0\Licensing Default
IncludeOneDrive %userprofile%\AppData\Local\Microsoft\OneDrive Default
IncludeOneNote %userprofile%\Documents\OneNote Notebooks
%userprofile%\AppData\Local\Microsoft\OneNote
Optional
IncludeOneNote_UWP %userprofile%\Microsoft Optional
IncludeOutlook %userprofile%\AppData\Local\Microsoft\Outlook Default
IncludeOutlookPersonalization %userprofile%\AppData\Roaming\Microsoft\Outlook Default
IncludeSharepoint Default
IncludeSkype %userprofile%\AppData\Local\Microsoft\Office\15.0\Lync
\AppData\Local\Microsoft\Office\16.0\Lync
Default
IncludeTeams classic Teams
%userprofile%\AppData\Local\Microsoft\Teams
%userprofile%\AppData\Roaming\Microsoft\Teams

new Teams
%LocalAppData%\Packages\MSTeams_8wekyb3d8bbwe\LocalCache
Optional