en-US windows computer

Enable indexing uncached Exchange folders

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

Windows 11 25H2

Supported on: Microsoft Windows Vista, or any version of Windows with Windows Search 3.01 or later

Path in the GPO console

Computer Configuration\Administrative Templates\Windows Components\Search

Description

Enabling this policy allows indexing of mail items on a Microsoft Exchange server when Microsoft Outlook is not running in cached mode. The default behavior for search is to not index uncached Exchange folders. Disabling this policy will block any indexing of uncached Exchange folders. Delegate mailboxes are managed separately from online mailboxes. The "Enable Indexing of Uncached Exchange Folders" has no effect on delegate mailboxes. To stop indexing of online and delegate mailboxes you must disable both policies.

Registry

HKLM SOFTWARE\Policies\Microsoft\Windows\Windows Search

Value name: PreventIndexingUncachedExchangeFolders

Enabled: PreventIndexingUncachedExchangeFolders = 0

Disabled: PreventIndexingUncachedExchangeFolders = 1

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: Enable indexing uncached Exchange folders
; State: Enabled
; Supported on: Microsoft Windows Vista, or any version of Windows with Windows Search 3.01 or later

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Windows Search]
"PreventIndexingUncachedExchangeFolders"=dword:00000000
More formats (PowerShell, Intune, SCCM)

PowerShell

# Exported from gporais.com
# Policy: Enable indexing uncached Exchange folders
# State: Enabled
# Supported on: Microsoft Windows Vista, or any version of Windows with Windows Search 3.01 or later

$path = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search'
New-Item -Path $path -Force | Out-Null
Set-ItemProperty -Path $path -Name 'PreventIndexingUncachedExchangeFolders' -Value 0 -Type DWord

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