Policy CSP - Search

Logo of Windows Insider.

Important

This CSP contains some settings that are under development and only applicable for Windows Insider Preview builds. These settings are subject to change and may have dependencies on other features or services in preview.

AllowCloudSearch

Scope Editions Applicable OS
✅ Device
❌ User
✅ Pro
✅ Enterprise
✅ Education
✅ Windows SE
✅ IoT Enterprise / IoT Enterprise LTSC
✅ Windows 10, version 1709 [10.0.16299] and later
./Device/Vendor/MSFT/Policy/Config/Search/AllowCloudSearch

Allow search and Cortana to search cloud sources like OneDrive and SharePoint.

Description framework properties:

Property name Property value
Format int
Access Type Add, Delete, Get, Replace
Default Value 1

Allowed values:

Value Description
0 Not allowed.
1 (Default) Allowed.

Group policy mapping:

Name Value
Name AllowCloudSearch
Friendly Name Allow Cloud Search
Element Name Cloud Search Setting.
Location Computer Configuration
Path Windows Components > Search
Registry Key Name SOFTWARE\Policies\Microsoft\Windows\Windows Search
ADMX File Name Search.admx

AllowCortanaInAAD

Scope Editions Applicable OS
✅ Device
❌ User
✅ Pro
✅ Enterprise
✅ Education
✅ Windows SE
✅ IoT Enterprise / IoT Enterprise LTSC
✅ Windows 10, version 1803 [10.0.17134] and later
./Device/Vendor/MSFT/Policy/Config/Search/AllowCortanaInAAD

Allow the Cortana opt-in page during windows setup out of the box experience.

Description framework properties:

Property name Property value
Format int
Access Type Add, Delete, Get, Replace
Default Value 0

Allowed values:

Value Description
0 (Default) Not allowed. The Cortana consent page won't appear in Microsoft Entra ID OOBE during setup.
1 Allowed. The Cortana consent page will appear in Azure Microsoft Entra ID OOBE during setup.

Group policy mapping:

Name Value
Name AllowCortanaInAAD
Friendly Name Allow Cortana Page in OOBE on an AAD account
Location Computer Configuration
Path Windows Components > Search
Registry Key Name SOFTWARE\Policies\Microsoft\Windows\Windows Search
Registry Value Name AllowCortanaInAAD
ADMX File Name Search.admx

AllowFindMyFiles

Scope Editions Applicable OS
✅ Device
❌ User
✅ Pro
✅ Enterprise
✅ Education
✅ Windows SE
✅ IoT Enterprise / IoT Enterprise LTSC
✅ Windows 10, version 1903 [10.0.18362] and later
./Device/Vendor/MSFT/Policy/Config/Search/AllowFindMyFiles

This feature allows you to disable find my files completely on the machine.

This policy controls whether the user can configure search to Find My Files mode. This mode searches files in secondary hard drives and also outside of the user profile. Find My Files doesn't allow users to search files or locations to which they don't have access.

Description framework properties:

Property name Property value
Format int
Access Type Add, Delete, Get, Replace
Default Value 1

Allowed values:

Value Description
1 (Default) Find My Files feature can be toggled (still off by default), and the settings UI is present.
0 Find My Files feature is turned off completely, and the settings UI is disabled.

Group policy mapping:

Name Value
Name AllowFindMyFiles
Path Search > AT > WindowsComponents > Search

AllowIndexingEncryptedStoresOrItems

Scope Editions Applicable OS
✅ Device
❌ User
✅ Pro
✅ Enterprise
✅ Education
✅ Windows SE
✅ IoT Enterprise / IoT Enterprise LTSC
✅ Windows 10, version 1607 [10.0.14393] and later
./Device/Vendor/MSFT/Policy/Config/Search/AllowIndexingEncryptedStoresOrItems

This policy setting allows encrypted items to be indexed.

  • If you enable this policy setting, indexing will attempt to decrypt and index the content (access restrictions will still apply).

  • If you disable this policy setting, the search service components (including non-Microsoft components) are expected not to index encrypted items or encrypted stores. This policy setting isn't configured by default.

  • If you don't configure this policy setting, the local setting, configured through Control Panel, will be used. By default, the Control Panel setting is set to not index encrypted content.

When this setting is enabled or disabled, the index is rebuilt completely.

Full volume encryption (such as BitLocker Drive Encryption or a non-Microsoft solution) must be used for the location of the index to maintain security for encrypted files.

When the policy is enabled, Windows Information Protection (WIP) protected items are indexed. The metadata about them are stored in an unencrypted location. The metadata includes file path and date modified.

When the policy is disabled, the WIP protected items aren't indexed. The encrypted items don't show up in the results in Cortana or file explorer. Search performance may also be affected on photos and other media apps, if there are many WIP-protected media files on the device.

The most restrictive value is 0 to not allow indexing of encrypted items.

Description framework properties:

Property name Property value
Format int
Access Type Add, Delete, Get, Replace
Default Value 0

Allowed values:

Value Description
0 (Default) Not allowed.
1 Allowed.

Group policy mapping:

Name Value
Name AllowIndexingEncryptedStoresOrItems
Friendly Name Allow indexing of encrypted files
Location Computer Configuration
Path Windows Components > Search
Registry Key Name SOFTWARE\Policies\Microsoft\Windows\Windows Search
Registry Value Name AllowIndexingEncryptedStoresOrItems
ADMX File Name Search.admx

AllowSearchHighlights

Scope Editions Applicable OS
✅ Device
❌ User
✅ Pro
✅ Enterprise
✅ Education
✅ Windows SE
✅ IoT Enterprise / IoT Enterprise LTSC
✅ Windows 10, version 2009 [10.0.19042.1620] and later
✅ Windows 10, version 21H1 [10.0.19043.1620] and later
✅ Windows 10, version 21H2 [10.0.19044.1620] and later
✅ Windows 11, version 21H2 [10.0.22000.1761] and later
✅ Windows 11, version 22H2 [10.0.22621] and later
./Device/Vendor/MSFT/Policy/Config/Search/AllowSearchHighlights

Disabling this setting turns off search highlights in the start menu search box and in search home. Enabling or not configuring this setting turns on search highlights in the start menu search box and in search home.

Allowed values:

Value Description
0 Disabling this setting turns off search highlights in search home, and the taskbar search box (Windows 10) or the Start menu search box (Windows 11).
1 (Default) Enabling or not configuring this setting turns on search highlights in search home, and the taskbar search box (Windows 10) or the Start menu search box (Windows 11).

Description framework properties:

Property name Property value
Format int
Access Type Add, Delete, Get, Replace
Allowed Values Range: [0-1]
Default Value 1

Group policy mapping:

Name Value
Name AllowSearchHighlights
Friendly Name Allow search highlights
Location Computer Configuration
Path Windows Components > Search
Registry Key Name SOFTWARE\Policies\Microsoft\Windows\Windows Search
Registry Value Name EnableDynamicContentInWSB
ADMX File Name Search.admx

AllowSearchToUseLocation

Scope Editions Applicable OS
✅ Device
❌ User
✅ Pro
✅ Enterprise
✅ Education
✅ Windows SE
✅ IoT Enterprise / IoT Enterprise LTSC
✅ Windows 10, version 1507 [10.0.10240] and later
./Device/Vendor/MSFT/Policy/Config/Search/AllowSearchToUseLocation

This policy setting specifies whether search and Cortana can provide location aware search and Cortana results.

If this is enabled, search and Cortana can access location information.

The most restrictive value is 0 to not allow search to use location.

Description framework properties:

Property name Property value
Format int
Access Type Add, Delete, Get, Replace
Default Value 1

Allowed values:

Value Description
0 Not allowed.
1 (Default) Allowed.

Group policy mapping:

Name Value
Name AllowSearchToUseLocation
Friendly Name Allow search and Cortana to use location
Location Computer Configuration
Path Windows Components > Search
Registry Key Name SOFTWARE\Policies\Microsoft\Windows\Windows Search
Registry Value Name AllowSearchToUseLocation
ADMX File Name Search.admx

AllowStoringImagesFromVisionSearch

Scope Editions Applicable OS
✅ Device
❌ User
✅ Pro
✅ Enterprise
✅ Education
✅ Windows SE
✅ IoT Enterprise / IoT Enterprise LTSC
✅ Windows 10, version 1507 [10.0.10240] and later
./Device/Vendor/MSFT/Policy/Config/Search/AllowStoringImagesFromVisionSearch

This policy has been deprecated.

Description framework properties:

Property name Property value
Format int
Access Type Add, Delete, Get, Replace
Default Value 1

Allowed values:

Value Description
0 Not allowed.
1 (Default) Allowed.

AllowUsingDiacritics

Scope Editions Applicable OS
✅ Device
❌ User
✅ Pro
✅ Enterprise
✅ Education
✅ Windows SE
✅ IoT Enterprise / IoT Enterprise LTSC
✅ Windows 10, version 1607 [10.0.14393] and later
./Device/Vendor/MSFT/Policy/Config/Search/AllowUsingDiacritics

This policy setting allows words that contain diacritic characters to be treated as separate words.

  • If you enable this policy setting, words that only differ in diacritics are treated as different words.

  • If you disable this policy setting, words with diacritics and words without diacritics are treated as identical words. This policy setting isn't configured by default.

  • If you don't configure this policy setting, the local setting, configured through Control Panel, will be used.

Note

By default, the Control Panel setting is set to treat words that differ only because of diacritics as the same word.

The most restrictive value is 0 to not allow the use of diacritics.

Description framework properties:

Property name Property value
Format int
Access Type Add, Delete, Get, Replace
Default Value 0

Allowed values:

Value Description
0 (Default) Not allowed.
1 Allowed.

Group policy mapping:

Name Value
Name AllowUsingDiacritics
Friendly Name Allow use of diacritics
Location Computer Configuration
Path Windows Components > Search
Registry Key Name SOFTWARE\Policies\Microsoft\Windows\Windows Search
Registry Value Name AllowUsingDiacritics
ADMX File Name Search.admx

AllowWindowsIndexer

Scope Editions Applicable OS
✅ Device
❌ User
✅ Pro
✅ Enterprise
✅ Education
✅ Windows SE
✅ IoT Enterprise / IoT Enterprise LTSC
✅ Windows 10, version 1507 [10.0.10240] and later
./Device/Vendor/MSFT/Policy/Config/Search/AllowWindowsIndexer

Allow Windows indexer. Value type is integer.

Description framework properties:

Property name Property value
Format int
Access Type Add, Delete, Get, Replace
Allowed Values Range: [0-3]
Default Value 3

AlwaysUseAutoLangDetection

Scope Editions Applicable OS
✅ Device
❌ User
✅ Pro
✅ Enterprise
✅ Education
✅ Windows SE
✅ IoT Enterprise / IoT Enterprise LTSC
✅ Windows 10, version 1607 [10.0.14393] and later
./Device/Vendor/MSFT/Policy/Config/Search/AlwaysUseAutoLangDetection

This policy setting determines when Windows uses automatic language detection results, and when it relies on indexing history.

  • If you enable this policy setting, Windows will always use automatic language detection to index (as it did in Windows 7). Using automatic language detection can increase memory usage. We recommend enabling this policy setting only on PCs where documents are stored in many languages.

  • If you disable or don't configure this policy setting, Windows will use automatic language detection only when it can determine the language of a document with high confidence.

The most restrictive value is 0 to now allow automatic language detection.

Description framework properties:

Property name Property value
Format int
Access Type Add, Delete, Get, Replace
Default Value 0

Allowed values:

Value Description
0 (Default) Not allowed.
1 Allowed.

Group policy mapping:

Name Value
Name AlwaysUseAutoLangDetection
Friendly Name Always use automatic language detection when indexing content and properties
Location Computer Configuration
Path Windows Components > Search
Registry Key Name SOFTWARE\Policies\Microsoft\Windows\Windows Search
Registry Value Name AlwaysUseAutoLangDetection
ADMX File Name Search.admx

ConfigureSearchOnTaskbarMode

Scope Editions Applicable OS
✅ Device
❌ User
✅ Pro
✅ Enterprise
✅ Education
✅ Windows SE
✅ IoT Enterprise / IoT Enterprise LTSC
✅ Windows Insider Preview
./Device/Vendor/MSFT/Policy/Config/Search/ConfigureSearchOnTaskbarMode

This policy setting allows you to configure search on the taskbar.

  • If you enable this policy setting and set it to hide, search on taskbar will be hidden by default. Users can't change it in Settings.

  • If you enable this policy setting and set it to search icon only, the search icon will be displayed on the taskbar by default. Users can't change it in Settings.

  • If you enable this policy setting and set it to search icon and label, the search icon and label will be displayed on the taskbar by default. Users can't change it in Settings.

  • If you enable this policy setting and set it to search box, the search box will be displayed on the taskbar by default. Users can't change it in Settings.

  • If you disable or don't configure this policy setting, search on taskbar will be configured according to the defaults for your Windows edition. Users will be able to change search on taskbar in Settings.

Description framework properties:

Property name Property value
Format int
Access Type Add, Delete, Get, Replace
Default Value 3

Allowed values:

Value Description
0 Hide.
1 Search icon only.
2 Search icon and label.
3 (Default) Search box.

Group policy mapping:

Name Value
Name ConfigureSearchOnTaskbarMode
Friendly Name Configures search on the taskbar
Element Name Search on the taskbar.
Location Computer Configuration
Path Windows Components > Search
Registry Key Name Software\Policies\Microsoft\Windows\Windows Search
ADMX File Name Search.admx

DisableBackoff

Scope Editions Applicable OS
✅ Device
❌ User
✅ Pro
✅ Enterprise
✅ Education
✅ Windows SE
✅ IoT Enterprise / IoT Enterprise LTSC
✅ Windows 10, version 1607 [10.0.14393] and later
./Device/Vendor/MSFT/Policy/Config/Search/DisableBackoff

If enabled, the search indexer backoff feature will be disabled. Indexing will continue at full speed even when system activity is high. If disabled, backoff logic will be used to throttle back indexing activity when system activity is high. Default is disabled.

Description framework properties:

Property name Property value
Format int
Access Type Add, Delete, Get, Replace
Default Value 0

Allowed values:

Value Description
0 (Default) Disable.
1 Enable.

Group policy mapping:

Name Value
Name DisableBackoff
Friendly Name Disable indexer backoff
Location Computer Configuration
Path Windows Components > Search
Registry Key Name SOFTWARE\Policies\Microsoft\Windows\Windows Search
Registry Value Name DisableBackoff
ADMX File Name Search.admx

DisableRemovableDriveIndexing

Scope Editions Applicable OS
✅ Device
❌ User
✅ Pro
✅ Enterprise
✅ Education
✅ Windows SE
✅ IoT Enterprise / IoT Enterprise LTSC
✅ Windows 10, version 1607 [10.0.14393] and later
./Device/Vendor/MSFT/Policy/Config/Search/DisableRemovableDriveIndexing

This policy setting configures whether or not locations on removable drives can be added to libraries.

  • If you enable this policy setting, locations on removable drives can't be added to libraries. In addition, locations on removable drives can't be indexed.

  • If you disable or don't configure this policy setting, locations on removable drives can be added to libraries. In addition, locations on removable drives can be indexed.

Description framework properties:

Property name Property value
Format int
Access Type Add, Delete, Get, Replace
Default Value 0

Allowed values:

Value Description
0 (Default) Disable.
1 Enable.

Group policy mapping:

Name Value
Name DisableRemovableDriveIndexing
Friendly Name Do not allow locations on removable drives to be added to libraries
Location Computer Configuration
Path Windows Components > Search
Registry Key Name SOFTWARE\Policies\Microsoft\Windows\Windows Search
Registry Value Name DisableRemovableDriveIndexing
ADMX File Name Search.admx

DisableSearch

Scope Editions Applicable OS
✅ Device
❌ User
✅ Pro
✅ Enterprise
✅ Education
✅ Windows SE
✅ IoT Enterprise / IoT Enterprise LTSC
✅ Windows 11, version 22H2 [10.0.22621] and later
./Device/Vendor/MSFT/Policy/Config/Search/DisableSearch
  • If you enable this policy, the Search UI will be disabled along with all its entry points, such as keyboard shortcuts, touchpad gestures, and type-to-search in the Start menu. The Start menu's search box and Search Taskbar button will also be hidden.

  • If you disable or don't configure this policy setting, the user will be able to open the Search UI and its different entry points will be shown.

Description framework properties:

Property name Property value
Format int
Access Type Add, Delete, Get, Replace
Default Value 0

Allowed values:

Value Description
0 (Default) Don't disable.
1 Disable.

Group policy mapping:

Name Value
Name DisableSearch
Friendly Name Fully disable Search UI
Location Computer Configuration
Path Windows Components > Search
Registry Key Name SOFTWARE\Policies\Microsoft\Windows\Windows Search
Registry Value Name DisableSearch
ADMX File Name Search.admx

DoNotUseWebResults

Scope Editions Applicable OS
✅ Device
❌ User
✅ Pro
✅ Enterprise
✅ Education
✅ Windows SE
✅ IoT Enterprise / IoT Enterprise LTSC
✅ Windows 10, version 1803 [10.0.17134] and later
./Device/Vendor/MSFT/Policy/Config/Search/DoNotUseWebResults

This policy setting allows you to control whether or not Search can perform queries on the web, if web results are displayed in Search, and if search highlights are shown in the search box and in search home.

  • If you enable this policy setting, queries won't be performed on the web, web results won't be displayed when a user performs a query in Search, and search highlights won't be shown in the search box and in search home.

  • If you disable this policy setting, queries will be performed on the web, web results will be displayed when a user performs a query in Search, and search highlights will be shown in the search box and in search home.

  • If you don't configure this policy setting, a user can choose whether or not Search can perform queries on the web, and if the web results are displayed in Search, and if search highlights are shown in the search box and in search home.

Description framework properties:

Property name Property value
Format int
Access Type Add, Delete, Get, Replace
Default Value 1

Allowed values:

Value Description
0 Not allowed. Queries won't be performed on the web and web results won't be displayed when a user performs a query in Search.
1 (Default) Allowed. Queries will be performed on the web and web results will be displayed when a user performs a query in Search.

Group policy mapping:

Name Value
Name DoNotUseWebResults
Friendly Name Don't search the web or display web results in Search
Location Computer Configuration
Path Windows Components > Search
Registry Key Name SOFTWARE\Policies\Microsoft\Windows\Windows Search
Registry Value Name ConnectedSearchUseWeb
ADMX File Name Search.admx

PreventIndexingLowDiskSpaceMB

Scope Editions Applicable OS
✅ Device
❌ User
✅ Pro
✅ Enterprise
✅ Education
✅ Windows SE
✅ IoT Enterprise / IoT Enterprise LTSC
✅ Windows 10, version 1607 [10.0.14393] and later
./Device/Vendor/MSFT/Policy/Config/Search/PreventIndexingLowDiskSpaceMB

Enabling this policy prevents indexing from continuing after less than the specified amount of hard drive space is left on the same drive as the index location. Select between 0 and 1. Enable this policy if computers in your environment have extremely limited hard drive space. When this policy is disabled or not configured, Windows Desktop Search automatically manages your index size.

Description framework properties:

Property name Property value
Format int
Access Type Add, Delete, Get, Replace
Default Value 1

Allowed values:

Value Description
0 Disable.
1 (Default) Enable.

Group policy mapping:

Name Value
Name StopIndexingOnLimitedHardDriveSpace
Friendly Name Stop indexing in the event of limited hard drive space
Location Computer Configuration
Path Windows Components > Search
Registry Key Name SOFTWARE\Policies\Microsoft\Windows\Windows Search
ADMX File Name Search.admx

PreventRemoteQueries

Scope Editions Applicable OS
✅ Device
❌ User
✅ Pro
✅ Enterprise
✅ Education
✅ Windows SE
✅ IoT Enterprise / IoT Enterprise LTSC
✅ Windows 10, version 1607 [10.0.14393] and later
./Device/Vendor/MSFT/Policy/Config/Search/PreventRemoteQueries

If enabled, clients will be unable to query this computer's index remotely. Thus, when they're browsing network shares that are stored on this computer, they won't search them using the index. If disabled, client search requests will use this computer's index. .

Description framework properties:

Property name Property value
Format int
Access Type Add, Delete, Get, Replace
Default Value 1

Allowed values:

Value Description
0 Disable.
1 (Default) Enable.

Group policy mapping:

Name Value
Name PreventRemoteQueries
Friendly Name Prevent clients from querying the index remotely
Location Computer Configuration
Path Windows Components > Search
Registry Key Name SOFTWARE\Policies\Microsoft\Windows\Windows Search
Registry Value Name PreventRemoteQueries
ADMX File Name Search.admx

SafeSearchPermissions

Note

This policy is deprecated and may be removed in a future release.

Scope Editions Applicable OS
✅ Device
❌ User
Not applicable ✅ Windows 10, version 1607 [10.0.14393] and later
./Device/Vendor/MSFT/Policy/Config/Search/SafeSearchPermissions

This policy is deprecated.

Description framework properties:

Property name Property value
Format int
Access Type Add, Delete, Get, Replace
Default Value 1

Allowed values:

Value Description
1 (Default) Enable.
0 Disable.

Policy configuration service provider