Ouvrir dans l'explorateur

Empêcher l’indexation de Microsoft Office Outlook

Prevent indexing Microsoft Office Outlook

Type
Ordinateur
Chemin GPO
Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Rechercher EN : Computer Configuration › Policies › Administrative Templates › Windows Components › Search
Pris en charge sur
Microsoft Windows Vista ou une version de Windows avec Windows Search 3.01 ou ultérieure EN : Microsoft Windows Vista, or any version of Windows with Windows Search 3.01 or later
Fichier ADMX
Search.admx
Nom interne
Search/PreventIndexingOutlook

Explication

Texte français issu de Windows 11 26H2

Activez cette stratégie pour empêcher l’indexation des éléments Microsoft Outlook. Par défaut, les éléments Outlook sont indexés automatiquement. Si cette stratégie est activée, les éléments Outlook de l’utilisateur ne sont pas ajoutés à l’index ; par ailleurs, l’utilisateur ne les voit pas dans les résultats de la recherche.

Enable this policy to prevent indexing of any Microsoft Outlook items. The default is to automatically index Outlook items. If this policy is enabled then the user's Outlook items will not be added to the index and the user will not see them in search results.

Registre

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Windows Search
Nom de la valeur
PreventIndexingOutlook
ÉtatValeur écrite
ActivéREG_DWORD = 1
DésactivéREG_DWORD = 0

PowerShell

Commandes PowerShell qui écrivent dans le registre ce que la stratégie écrirait. Les valeurs entre chevrons (<…>) sont à remplacer.

Écrire directement dans le registre contourne la stratégie de groupe : si une GPO gère cette valeur, elle sera réécrite au prochain gpupdate ; sinon la valeur reste en place (effet « tatouage »). Préférez une GPO ou, en local, LGPO.exe. Exécutez PowerShell en administrateur pour HKLM. Certaines stratégies demandent un redémarrage ou gpupdate /force.

Activer

# Activer : Search/PreventIndexingOutlook
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'PreventIndexingOutlook' -Value 1 -Type DWord

Désactiver

# Désactiver : Search/PreventIndexingOutlook
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'PreventIndexingOutlook' -Value 0 -Type DWord

Revenir à « Non configuré »

# Revenir à « Non configuré » : Search/PreventIndexingOutlook
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search'
Remove-ItemProperty -Path $k -Name 'PreventIndexingOutlook' -ErrorAction SilentlyContinue

Disponibilité