Standaardzoekbereik instellen: registerwaarde defaultsearchscopeGebruikerHKCU\software\policies\microsoft\office\16.0\outlook\search
- Beleids-ID
- L_SetDefaultSearchScope
- Bereik
- Gebruikersconfiguratie
- Ondersteund op
- Minimaal Windows Server 2008 R2 of Windows 7
- Bron
- Microsoft 365 Apps / Office Administrative Templates (versie 5568.1000)
- Categorie
- Microsoft Outlook 2016 › Opties voor Outlook › Voorkeuren › Zoekopties
Register
defaultsearchscope
REG_DWORDGebruikerHKCU\software\policies\microsoft\office\16.0\outlook\search Huidige sleutel
- Waarde bij ingeschakeld
- Afhankelijk van de waarde van de optie
- Element
- -
| Item | Opgeslagen waarde |
|---|---|
| Standaardgedrag (zie uitleg) | 0 |
| Alle postvakken, in alle mappen | 1 |
| Huidige map, in alle mappen | 2 |
| Huidig postvak, in alle mappen | 3 |
Toepassen met .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\outlook\search] ; Opties (gebruik er maar één) ; Standaardgedrag (zie uitleg) "defaultsearchscope"=dword:00000000 ; Alle postvakken, in alle mappen "defaultsearchscope"=dword:00000001 ; Huidige map, in alle mappen "defaultsearchscope"=dword:00000002 ; Huidig postvak, in alle mappen "defaultsearchscope"=dword:00000003
CMD
:: Opties (gebruik er maar één) :: Standaardgedrag (zie uitleg) reg add "HKCU\software\policies\microsoft\office\16.0\outlook\search" /v "defaultsearchscope" /t REG_DWORD /d 0 /f :: Alle postvakken, in alle mappen reg add "HKCU\software\policies\microsoft\office\16.0\outlook\search" /v "defaultsearchscope" /t REG_DWORD /d 1 /f :: Huidige map, in alle mappen reg add "HKCU\software\policies\microsoft\office\16.0\outlook\search" /v "defaultsearchscope" /t REG_DWORD /d 2 /f :: Huidig postvak, in alle mappen reg add "HKCU\software\policies\microsoft\office\16.0\outlook\search" /v "defaultsearchscope" /t REG_DWORD /d 3 /f
PowerShell
# Algemeen: sleutel maken New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\search' -Force | Out-Null # Opties (gebruik er maar één) # Standaardgedrag (zie uitleg) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\search' -Name 'defaultsearchscope' -PropertyType DWord -Value 0 -Force | Out-Null # Alle postvakken, in alle mappen New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\search' -Name 'defaultsearchscope' -PropertyType DWord -Value 1 -Force | Out-Null # Huidige map, in alle mappen New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\search' -Name 'defaultsearchscope' -PropertyType DWord -Value 2 -Force | Out-Null # Huidig postvak, in alle mappen New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\search' -Name 'defaultsearchscope' -PropertyType DWord -Value 3 -Force | Out-Null