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.
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 DWordDé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 SilentlyContinueOptions (1)
| Libellé | Contrôle | Valeur de registre | Type REG | Contraintes / détails | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| L_SetDefaultSearchScopeDropID | Liste déroulanteenum | defaultsearchscope | REG_DWORD | Choix par défaut (interface) : n° 0
|
Application
Microsoft 365 Apps / Office (Microsoft) — modèles de novembre 2026
Modèles officiels téléchargés le 12 novembre 2026.