From version 2022 (Build 3326) it is possible to restrict the searchable paths in the product using policies. The search path is validated against the following two registry policy values:
Both are regular expressions stored as strings (REG_SZ) that are used to match against search paths. To enter multiple paths separate the regexes with a semi-colon, which has the following affect:
AllowedSearchPaths: When multiple paths are specified ALL paths must match for the path to be searchable.
DisabledSearchPaths : When multiple paths are specified if any path matches the path is not searchable.
To restrict searches to only C and D drive use AllowedSearchPaths:
To allow all searches except C drive use DisabledSearchPaths:
Note: This is a Pro feature.