迷惑メールの処理レベル のレジストリ値 junkmailprotectionユーザーHKCU\software\policies\microsoft\office\16.0\outlook\options\mail

ポリシー ID
L_JunkEmailprotectionlevel
適用対象
ユーザーの構成
サポートされるバージョン
Windows Server 2008 R2、Windows 7 またはそれ以降
出典
Microsoft 365 Apps / Office Administrative Templates (バージョン 5568.1000)
カテゴリ
Microsoft Outlook 2016 › Outlook のオプション › ユーザー設定 › 迷惑メール

レジストリ

junkmailprotection

REG_DWORDユーザー
有効時の値
オプションの値に依存
要素
レベルを選択してください:
オプション
項目保存される値
処理しない4294967295
低 (既定)6
高3
信頼済みの一覧のみ2147483648
.reg · CMD · PowerShell で適用する
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\outlook\options\mail]

; 選択項目 (1 つだけ使用)
; 処理しない
"junkmailprotection"=dword:ffffffff
; 低 (既定)
"junkmailprotection"=dword:00000006
; 高
"junkmailprotection"=dword:00000003
; 信頼済みの一覧のみ
"junkmailprotection"=dword:80000000
CMD
:: 選択項目 (1 つだけ使用)

:: 処理しない
reg add "HKCU\software\policies\microsoft\office\16.0\outlook\options\mail" /v "junkmailprotection" /t REG_DWORD /d 4294967295 /f
:: 低 (既定)
reg add "HKCU\software\policies\microsoft\office\16.0\outlook\options\mail" /v "junkmailprotection" /t REG_DWORD /d 6 /f
:: 高
reg add "HKCU\software\policies\microsoft\office\16.0\outlook\options\mail" /v "junkmailprotection" /t REG_DWORD /d 3 /f
:: 信頼済みの一覧のみ
reg add "HKCU\software\policies\microsoft\office\16.0\outlook\options\mail" /v "junkmailprotection" /t REG_DWORD /d 2147483648 /f
PowerShell
# 共通: キーを作成
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\options\mail' -Force | Out-Null

# 選択項目 (1 つだけ使用)
# 処理しない
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\options\mail' -Name 'junkmailprotection' -PropertyType DWord -Value 4294967295 -Force | Out-Null
# 低 (既定)
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\options\mail' -Name 'junkmailprotection' -PropertyType DWord -Value 6 -Force | Out-Null
# 高
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\options\mail' -Name 'junkmailprotection' -PropertyType DWord -Value 3 -Force | Out-Null
# 信頼済みの一覧のみ
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\options\mail' -Name 'junkmailprotection' -PropertyType DWord -Value 2147483648 -Force | Out-Null