Set default search scope: wartość rejestru defaultsearchscopeUżytkownikHKCU\software\policies\microsoft\office\16.0\outlook\search
Brak oficjalnego tekstu w tym języku (wyświetlono oryginał angielski)
- Identyfikator zasady
- L_SetDefaultSearchScope
- Zakres
- Konfiguracja użytkownika
- Obsługiwane w systemach
- System Windows Server 2008 R2 lub nowszy albo system Windows 7
- Źródło
- Microsoft 365 Apps / Office Administrative Templates (wersja 5568.1000)
- Kategoria
- Microsoft Outlook 2016 › Outlook Options › Preferences › Search Options
Rejestr
defaultsearchscope
REG_DWORDUżytkownik- Wartość włączona
- Zależy od wartości opcji
- Element
- -
| Pozycja | Zapisana wartość |
|---|---|
| Default behavior (see explanation) | 0 |
| "All Mailboxes" on all folders | 1 |
| "Current Folder" on all folders | 2 |
| "Current Mailbox" on all folders | 3 |
Zastosuj przez .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\outlook\search] ; Opcje (użyj tylko jednej) ; Default behavior (see explanation) "defaultsearchscope"=dword:00000000 ; "All Mailboxes" on all folders "defaultsearchscope"=dword:00000001 ; "Current Folder" on all folders "defaultsearchscope"=dword:00000002 ; "Current Mailbox" on all folders "defaultsearchscope"=dword:00000003
CMD
:: Opcje (użyj tylko jednej) :: Default behavior (see explanation) reg add "HKCU\software\policies\microsoft\office\16.0\outlook\search" /v "defaultsearchscope" /t REG_DWORD /d 0 /f :: "All Mailboxes" on all folders reg add "HKCU\software\policies\microsoft\office\16.0\outlook\search" /v "defaultsearchscope" /t REG_DWORD /d 1 /f :: "Current Folder" on all folders reg add "HKCU\software\policies\microsoft\office\16.0\outlook\search" /v "defaultsearchscope" /t REG_DWORD /d 2 /f :: "Current Mailbox" on all folders reg add "HKCU\software\policies\microsoft\office\16.0\outlook\search" /v "defaultsearchscope" /t REG_DWORD /d 3 /f
PowerShell
# Wspólne: utwórz klucz New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\search' -Force | Out-Null # Opcje (użyj tylko jednej) # Default behavior (see explanation) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\search' -Name 'defaultsearchscope' -PropertyType DWord -Value 0 -Force | Out-Null # "All Mailboxes" on all folders New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\search' -Name 'defaultsearchscope' -PropertyType DWord -Value 1 -Force | Out-Null # "Current Folder" on all folders New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\search' -Name 'defaultsearchscope' -PropertyType DWord -Value 2 -Force | Out-Null # "Current Mailbox" on all folders New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\search' -Name 'defaultsearchscope' -PropertyType DWord -Value 3 -Force | Out-Null