Delen via


Tutorial: Configure profile containers

Tip

Using the profile container in a single container configuration is highly recommended.

FSLogix profile containers are a complete roaming profile solution for virtual environments. The profile container (single container), redirects the entire Windows user profile into a VHD stored on a storage provider. The most common storage provider is an SMB file share.

The profile container is inclusive of all the benefits and uses found in the ODFC container.

Learn how to

  • Enable the product for profiles
  • 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.

Profile container configuration

Note

Includes all Microsoft 365 application data. No need for an ODFC container.

  1. Verify FSLogix installation and version.

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

  3. Select Start and Type Registry Editor directly into the Start Menu.

  4. Select Registry Editor from the Start Menu.

    {alt-text}

    Figure 1: Registry Editor in Start Menu

  5. Go to: HKEY_LOCAL_MACHINE\SOFTWARE\FSLogix\Profiles.

  6. Add these settings:

    Key Name Data Type Value Description
    Enabled DWORD 1 REQUIRED
    DeleteLocalProfileWhenVHDShouldApply1 DWORD 1 Recommended
    FlipFlopProfileDirectoryName2 DWORD 1 Recommended
    LockedRetryCount3 DWORD 3 Recommended
    LockedRetryInterval3 DWORD 15 Recommended
    ProfileType4 DWORD 0 Default
    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
    VolumeType5 REG_SZ VHDX Recommended

    1 Recommended to ensure user's don't use local profiles and lose data unexpectedly.
    2 Provides and easier way to browse the container directories.
    3 Decreases the retry timing to enable a faster fail scenario.
    4 Single connections reduce complexity and increase performance.
    5 VHDX is preferred over VHD due to its supported size and reduced corruption scenarios.

    f s logix registry settings

    Figure 2: Registry for profiles configuration

Verify your profile 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

    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 VHDX container.

    file share profiles

    Figure 5: Profile container in configured VHDLocations