en-US windows computer

Default indexed paths

Verified with Windows 11 25H2 — updated on July 29, 2026

Windows 11 25H2

Supported on: Microsoft Windows XP, Windows Server 2003 with Windows Search version 3.01, or any version of Microsoft Windows with Windows Search 4.0 or later

Path in the GPO console

Computer Configuration\Administrative Templates\Windows Components\Search

Description

Enabling this policy allows you to specify a list of paths to index by default. The user may override these paths and exclude them from indexing.

Registry

HKLM SOFTWARE\Policies\Microsoft\Windows\Windows Search

More options available

Options

Default Indexed Paths
List (registry values) list
- list under SOFTWARE\Policies\Microsoft\Windows\Windows Search\DefaultIndexedPaths

Export Builder

BETA

Configure the state, scope and options, then generate .reg, PowerShell, Intune and SCCM outputs — or add the setting to a multi-setting collection.

These exports write the registry — this is not a managed GPO.

.reg file

Windows Registry Editor Version 5.00

; Exported from gporais.com
; Policy: Default indexed paths
; State: Enabled
; Supported on: Microsoft Windows XP, Windows Server 2003 with Windows Search version 3.01, or any version of Microsoft Windows with Windows Search 4.0 or later

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Windows Search\DefaultIndexedPaths]
; List values: enter one value per line in the builder UI.
More formats (PowerShell, Intune, SCCM)

PowerShell

# Exported from gporais.com
# Policy: Default indexed paths
# State: Enabled
# Supported on: Microsoft Windows XP, Windows Server 2003 with Windows Search version 3.01, or any version of Microsoft Windows with Windows Search 4.0 or later

$path = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search\DefaultIndexedPaths'
New-Item -Path $path -Force | Out-Null
# List values: enter one value per line in the builder UI.

Building a multi-setting collection? Add this setting and generate combined .reg / PowerShell / GPO scripts.

Open the Builder

Embed this policy on your site

What to embed
Theme

Adds one script line: the theme follows your site’s appearance and the height fits the content. If your site blocks scripts, the embed follows the visitor’s system theme.

Preview