Security setting for macros: kayıt defteri değeri levelKullanıcıHKCU\software\policies\microsoft\office\16.0\outlook\security

Bu dilde resmi metin yok (İngilizce özgün metin gösteriliyor)

İlke Kimliği
L_SecurityLevelOutlook
Kapsam
Kullanıcı Yapılandırması
Desteklenen işletim sistemleri
En az Windows Server 2008 R2 veya Windows 7
Kaynak
Microsoft 365 Apps / Office Administrative Templates (sürüm 5568.1000)
Kategori
Microsoft Outlook 2016 › Security › Trust Center

Kayıt defteri

level

REG_DWORDKullanıcı
Etkin değeri
Seçenek değerine bağlıdır
Öğe
Security Level
Seçenekler
MaddeSaklanan değer
Always warn2
Never warn, disable all4
Warn for signed, disable unsigned3
No security check1
.reg · CMD · PowerShell ile uygula
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\outlook\security]

; Seçenekler (yalnızca birini kullanın)
; 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
:: Seçenekler (yalnızca birini kullanın)

:: 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
# Ortak: anahtarı oluştur
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\security' -Force | Out-Null

# Seçenekler (yalnızca birini kullanın)
# 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