Configure Outlook object model prompt when sending mail: wartość rejestru promptoomsendUżytkownikHKCU\software\policies\microsoft\office\16.0\outlook\security
Brak oficjalnego tekstu w tym języku (wyświetlono oryginał angielski)
- Identyfikator zasady
- L_OOMSend
- 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 › Security › Security Form Settings › Programmatic Security
Rejestr
promptoomsend
REG_DWORDUżytkownik- Wartość włączona
- Zależy od wartości opcji
- Element
- Guard behavior:
| Pozycja | Zapisana wartość |
|---|---|
| Prompt User | 1 |
| Automatically Approve | 2 |
| Automatically Deny | 0 |
| Prompt user based on computer security | 3 |
Zastosuj przez .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\outlook\security] ; Opcje (użyj tylko jednej) ; Prompt User "promptoomsend"=dword:00000001 ; Automatically Approve "promptoomsend"=dword:00000002 ; Automatically Deny "promptoomsend"=dword:00000000 ; Prompt user based on computer security "promptoomsend"=dword:00000003
CMD
:: Opcje (użyj tylko jednej) :: Prompt User reg add "HKCU\software\policies\microsoft\office\16.0\outlook\security" /v "promptoomsend" /t REG_DWORD /d 1 /f :: Automatically Approve reg add "HKCU\software\policies\microsoft\office\16.0\outlook\security" /v "promptoomsend" /t REG_DWORD /d 2 /f :: Automatically Deny reg add "HKCU\software\policies\microsoft\office\16.0\outlook\security" /v "promptoomsend" /t REG_DWORD /d 0 /f :: Prompt user based on computer security reg add "HKCU\software\policies\microsoft\office\16.0\outlook\security" /v "promptoomsend" /t REG_DWORD /d 3 /f
PowerShell
# Wspólne: utwórz klucz New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\security' -Force | Out-Null # Opcje (użyj tylko jednej) # Prompt User New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\security' -Name 'promptoomsend' -PropertyType DWord -Value 1 -Force | Out-Null # Automatically Approve New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\security' -Name 'promptoomsend' -PropertyType DWord -Value 2 -Force | Out-Null # Automatically Deny New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\security' -Name 'promptoomsend' -PropertyType DWord -Value 0 -Force | Out-Null # Prompt user based on computer security New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\security' -Name 'promptoomsend' -PropertyType DWord -Value 3 -Force | Out-Null