Blog Post

FSLogix Blog
2 MIN READ

FSLogix single-user OS search roaming

Brent_Bishop's avatar
Brent_Bishop
Icon for Microsoft rankMicrosoft
May 10, 2022

Note: This information is generally only applicable for single-user OSs and not for multi-user OSs.

 

With the release of Win 10 1809, the Windows search service has implemented a method for the Windows Search service to roam a user's search index along with their profile. This has been principally mentioned in relation to Windows 10 multi-user OS and the Server versions of Windows (2019 and above). However, it is applicable for single-user OSs as well. So there are now two methods to roam a user's search index on single-user OSs (Windows 10 1809 and above): FSLogix or the Windows Search service. They both store the user's search index in the profile, but in different locations. The indexing engine for both is the Windows Search service; the difference is that FSLogix redirects the default OS location into the profile where the Windows Search service (with the setting below) creates a per-user index in another location in the profile. They cannot be used at the same time. One or the other must be properly configured while the other is disabled.

 

Recommendations: Review all the settings and storage locations mentioned below to determine which method is in operation. If it appears that both may be in operation, disable one method, reboot, and then validate that only one method is operating. Otherwise, validate the settings and storage for the method configured or desired.

 

FSLogix:

 

  1. For storage of the search index in the Profile container enable (or create as necessary) the following registry key: HKLM\SOFTWARE\FSLogix\Profiles\RoamSearch (DWord) =1.

  2. For storage of the search index in the Office container enable (or create as necessary) the following registry key: HKLM\SOFTWARE\Policies\FSLogix\ODFC\RoamSearch (DWord) =1.

    1. Note: If both the Profile Container and Office Container are configured, the database will be placed in the Profile Container VHD(X). It is recommended that search be configured in either Profile Container or Office Container, but not both.

  3. Validation: Check for files with current update times in this location - c:\programdata\Microsoft\Search.
    1. Also check using the frx.exe utililty as below for the redirection from the above location into the VHD as the highlighted line below shows. Note: the 'HarddiskVolume' number shown may be different from system to system even when it is commonly referencing the c: drive. This is due to the way underlying Windows systems identify volumes at a level below the drive letter identification level.
    2. Note: it may be possible, but is not common, to redirect the default/common system index location. If that is the case, then the paths given above would not be correct and validation of the alternate location paths would be necessary.

 

Windows Search Service:

 

  1.  Setting: EnablePerUserCatalog (DWord) = 1 is set (or created as necessary) in the following location - HKLM\SOFTWARE\Microsoft\Windows Search.

  2. Validation: Check for files with current update times in this location - C:\Users\<username>\AppData\Roaming\Microsoft\Search\Data\Applications\<User SID>\<User SID>.edb
Updated Aug 09, 2022
Version 5.0
  • On Windows Server 2019 and above, the FSLogix RoamSearch key should always be 0. The Windows Search team has added per-user search indexes and that is what should be used in these environments. And that is enforced at the code level by the latest FSLogix release, i.e. we don't pay attention to RoamSearch settings when we detect Server 2019 and above as well as on multi-user versions of Win 10 and 11.

  • vara93's avatar
    vara93
    Iron Contributor

    Brent_Bishop 

    Hello. We use FSLogix in RDS 2019.

    I remember the recommendation, we should use RoamSearch 0.

    We use Outlook with online mode.

    The search works correctly in folders and in Outlook.

    - What might we need to enable RoamSearch for ?

  • MitchBonner's avatar
    MitchBonner
    Copper Contributor

    Hi there,

    Should we roam the index using Windows search service or fslogix for single session Win 10 22H2? I get conflicting answers here, in fslogix docs and in the GPO descriptions. Thanks

    Edit: Seems like both methods work but is there a recommendation?

  • vara93's avatar
    vara93
    Iron Contributor

    Hello. Searching is always a problem. It works erratically, poorly. The service crashes a lot.

    We are using Windows Server 2022 and Windows 11.

    Can someone give me up to date instructions on what I should configure and how I should configure it to make the search work properly?