Windows Defender SmartScreen を構成します のレジストリ値 EnableSmartScreen ほか 1 件 (EnableSmartScreen)コンピューターHKLM\Software\Policies\Microsoft\Windows\System

ポリシー ID
EnableSmartScreen
適用対象
コンピューターの構成
サポートされるバージョン
Windows Server 2012、Windows 8、Windows RT またはそれ以降
出典
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (バージョン 1.0)
カテゴリ
Windows コンポーネント › エクスプローラー

レジストリ

EnableSmartScreen

REG_DWORDコンピューター
有効時の値
1
無効時の値
0
.reg · CMD · PowerShell で適用する
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\System]

; 選択項目 (1 つだけ使用)
; 有効
"EnableSmartScreen"=dword:00000001
; 無効
"EnableSmartScreen"=dword:00000000
CMD
:: 選択項目 (1 つだけ使用)

:: 有効
reg add "HKLM\Software\Policies\Microsoft\Windows\System" /v "EnableSmartScreen" /t REG_DWORD /d 1 /f
:: 無効
reg add "HKLM\Software\Policies\Microsoft\Windows\System" /v "EnableSmartScreen" /t REG_DWORD /d 0 /f
PowerShell
# 共通: キーを作成
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\System' -Force | Out-Null

# 選択項目 (1 つだけ使用)
# 有効
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\System' -Name 'EnableSmartScreen' -PropertyType DWord -Value 1 -Force | Out-Null
# 無効
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\System' -Name 'EnableSmartScreen' -PropertyType DWord -Value 0 -Force | Out-Null

ShellSmartScreenLevel

REG_SZコンピューター
有効時の値
オプションの値に依存
要素
次のいずれかの設定を選択してください。
オプション
項目保存される値
警告してバイパスを回避Block
警告Warn
.reg · CMD · PowerShell で適用する
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\System]

; 選択項目 (1 つだけ使用)
; 警告してバイパスを回避
"ShellSmartScreenLevel"="Block"
; 警告
"ShellSmartScreenLevel"="Warn"
CMD
:: 選択項目 (1 つだけ使用)

:: 警告してバイパスを回避
reg add "HKLM\Software\Policies\Microsoft\Windows\System" /v "ShellSmartScreenLevel" /t REG_SZ /d "Block" /f
:: 警告
reg add "HKLM\Software\Policies\Microsoft\Windows\System" /v "ShellSmartScreenLevel" /t REG_SZ /d "Warn" /f
PowerShell
# 共通: キーを作成
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\System' -Force | Out-Null

# 選択項目 (1 つだけ使用)
# 警告してバイパスを回避
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\System' -Name 'ShellSmartScreenLevel' -PropertyType String -Value 'Block' -Force | Out-Null
# 警告
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\System' -Name 'ShellSmartScreenLevel' -PropertyType String -Value 'Warn' -Force | Out-Null