Configure Simple MAPI message opening prompt: wartość rejestru promptsimplemapiopenmessageUżytkownikHKCU\software\policies\microsoft\office\16.0\outlook\security

Brak oficjalnego tekstu w tym języku (wyświetlono oryginał angielski)

Identyfikator zasady
L_SimpleMapiOpenMessage
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

promptsimplemapiopenmessage

REG_DWORDUżytkownik
Wartość włączona
Zależy od wartości opcji
Element
Guard behavior:
Opcje
PozycjaZapisana wartość
Prompt User1
Automatically Approve2
Automatically Deny0
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
"promptsimplemapiopenmessage"=dword:00000001
; Automatically Approve
"promptsimplemapiopenmessage"=dword:00000002
; Automatically Deny
"promptsimplemapiopenmessage"=dword:00000000
CMD
:: Opcje (użyj tylko jednej)

:: Prompt User
reg add "HKCU\software\policies\microsoft\office\16.0\outlook\security" /v "promptsimplemapiopenmessage" /t REG_DWORD /d 1 /f
:: Automatically Approve
reg add "HKCU\software\policies\microsoft\office\16.0\outlook\security" /v "promptsimplemapiopenmessage" /t REG_DWORD /d 2 /f
:: Automatically Deny
reg add "HKCU\software\policies\microsoft\office\16.0\outlook\security" /v "promptsimplemapiopenmessage" /t REG_DWORD /d 0 /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 'promptsimplemapiopenmessage' -PropertyType DWord -Value 1 -Force | Out-Null
# Automatically Approve
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\security' -Name 'promptsimplemapiopenmessage' -PropertyType DWord -Value 2 -Force | Out-Null
# Automatically Deny
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\security' -Name 'promptsimplemapiopenmessage' -PropertyType DWord -Value 0 -Force | Out-Null