Ouvrir dans l'explorateur

Set default search scope

Cette stratégie n'a pas de traduction française dans les modèles de l'éditeur ; le texte original est en anglais.

Type
Utilisateur
Chemin GPO
Configuration utilisateur › Stratégies › Modèles d'administration › Microsoft Outlook 2016 › OptionsOutlook › Préférences › Options de recherche EN : User Configuration › Policies › Administrative Templates › Microsoft Outlook 2016 › Outlook Options › Preferences › Search Options
Pris en charge sur
At least Windows Server 2008 R2 or Windows 7
Fichier ADMX
outlk16.admx
Nom interne
outlk16/L_SetDefaultSearchScope

Explication

This policy allows you to specify the default search scope to be used. Users will not be able to change the default once this policy is set, but they can change the scope while running a search.

If you enable this policy, you can specify the folders that Outlook searches by default when the user begins a new search.

If you disable or do not configure this policy, Outlook searches all folders in the current mailbox when the search is initiated from the Inbox. If the search is initiated from another folder, the search only includes items from that folder. Users can still change the scope when searching.

Registre

HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\outlook\search
Nom de la valeur
non défini dans l'ADMX

Valeurs d'activation / désactivation : non défini dans l'ADMX (voir les options ci-dessous).

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 : outlk16/L_SetDefaultSearchScope
$k = 'HKCU:\software\policies\microsoft\office\16.0\outlook\search'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
#
# Options possibles :
#   Default behavior (see explanation) = 0
#   "All Mailboxes" on all folders = 1
#   "Current Folder" on all folders = 2
#   "Current Mailbox" on all folders = 3
Set-ItemProperty -Path $k -Name 'defaultsearchscope' -Value 0 -Type DWord

Désactiver

# Désactiver : outlk16/L_SetDefaultSearchScope
# Aucune valeur n'est écrite à l'état « Désactivé » (rien de défini dans l'ADMX)

Revenir à « Non configuré »

# Revenir à « Non configuré » : outlk16/L_SetDefaultSearchScope
$k = 'HKCU:\software\policies\microsoft\office\16.0\outlook\search'
Remove-ItemProperty -Path $k -Name 'defaultsearchscope' -ErrorAction SilentlyContinue

Options (1)

LibelléContrôleValeur de registreType REGContraintes / détails
L_SetDefaultSearchScopeDropIDListe déroulanteenumdefaultsearchscopeREG_DWORD
Choix par défaut (interface) : n° 0
LibelléValeur
Default behavior (see explanation)REG_DWORD = 0
"All Mailboxes" on all foldersREG_DWORD = 1
"Current Folder" on all foldersREG_DWORD = 2
"Current Mailbox" on all foldersREG_DWORD = 3

Application

Microsoft 365 Apps / Office (Microsoft) — modèles de novembre 2026

Modèles officiels téléchargés le 12 novembre 2026.