Security setting for macros: wartość rejestru levelUżytkownikHKCU\software\policies\microsoft\office\16.0\outlook\security
Brak oficjalnego tekstu w tym języku (wyświetlono oryginał angielski)
- Identyfikator zasady
- L_SecurityLevelOutlook
- 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 › Trust Center
Rejestr
level
REG_DWORDUżytkownik- Wartość włączona
- Zależy od wartości opcji
- Element
- Security Level
| Pozycja | Zapisana wartość |
|---|---|
| Always warn | 2 |
| Never warn, disable all | 4 |
| Warn for signed, disable unsigned | 3 |
| No security check | 1 |
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) ; Always warn "level"=dword:00000002 ; Never warn, disable all "level"=dword:00000004 ; Warn for signed, disable unsigned "level"=dword:00000003 ; No security check "level"=dword:00000001
CMD
:: Opcje (użyj tylko jednej) :: Always warn reg add "HKCU\software\policies\microsoft\office\16.0\outlook\security" /v "level" /t REG_DWORD /d 2 /f :: Never warn, disable all reg add "HKCU\software\policies\microsoft\office\16.0\outlook\security" /v "level" /t REG_DWORD /d 4 /f :: Warn for signed, disable unsigned reg add "HKCU\software\policies\microsoft\office\16.0\outlook\security" /v "level" /t REG_DWORD /d 3 /f :: No security check reg add "HKCU\software\policies\microsoft\office\16.0\outlook\security" /v "level" /t REG_DWORD /d 1 /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) # Always warn New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\security' -Name 'level' -PropertyType DWord -Value 2 -Force | Out-Null # Never warn, disable all New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\security' -Name 'level' -PropertyType DWord -Value 4 -Force | Out-Null # Warn for signed, disable unsigned New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\security' -Name 'level' -PropertyType DWord -Value 3 -Force | Out-Null # No security check New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\security' -Name 'level' -PropertyType DWord -Value 1 -Force | Out-Null