Microsoft Edge のセキュリティ状態を強化する のレジストリ値 EnhanceSecurityModeユーザーHKCU\Software\Policies\Microsoft\Edge

ポリシー ID
EnhanceSecurityMode
適用対象
コンピューターの構成、ユーザーの構成
サポートされるバージョン
Microsoft Edge バージョン 98、Windows 7 以降
出典
Microsoft Edge Policy Templates (バージョン 155.0.4283.45)
カテゴリ
Microsoft Edge

レジストリ

EnhanceSecurityMode

REG_DWORDユーザーコンピューター
…\Software\Policies\Microsoft\EdgeHKCU\Software\Policies\Microsoft\Edge 現在のキー
HKLM\Software\Policies\Microsoft\Edge
有効時の値
オプションの値に依存
要素
Microsoft Edge のセキュリティ状態を強化する
オプション
項目保存される値
標準モード0
バランス モード1
厳密モード2
(非推奨) 基本モード3
.reg · CMD · PowerShell で適用する
ユーザーアカウントごとの設定
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Microsoft\Edge]

; 選択項目 (1 つだけ使用)
; 標準モード
"EnhanceSecurityMode"=dword:00000000
; バランス モード
"EnhanceSecurityMode"=dword:00000001
; 厳密モード
"EnhanceSecurityMode"=dword:00000002
; (非推奨) 基本モード
"EnhanceSecurityMode"=dword:00000003
CMD
:: 選択項目 (1 つだけ使用)

:: 標準モード
reg add "HKCU\Software\Policies\Microsoft\Edge" /v "EnhanceSecurityMode" /t REG_DWORD /d 0 /f
:: バランス モード
reg add "HKCU\Software\Policies\Microsoft\Edge" /v "EnhanceSecurityMode" /t REG_DWORD /d 1 /f
:: 厳密モード
reg add "HKCU\Software\Policies\Microsoft\Edge" /v "EnhanceSecurityMode" /t REG_DWORD /d 2 /f
:: (非推奨) 基本モード
reg add "HKCU\Software\Policies\Microsoft\Edge" /v "EnhanceSecurityMode" /t REG_DWORD /d 3 /f
PowerShell
# 共通: キーを作成
New-Item -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Force | Out-Null

# 選択項目 (1 つだけ使用)
# 標準モード
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Name 'EnhanceSecurityMode' -PropertyType DWord -Value 0 -Force | Out-Null
# バランス モード
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Name 'EnhanceSecurityMode' -PropertyType DWord -Value 1 -Force | Out-Null
# 厳密モード
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Name 'EnhanceSecurityMode' -PropertyType DWord -Value 2 -Force | Out-Null
# (非推奨) 基本モード
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Name 'EnhanceSecurityMode' -PropertyType DWord -Value 3 -Force | Out-Null
コンピューターコンピューター全体の設定
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Edge]

; 選択項目 (1 つだけ使用)
; 標準モード
"EnhanceSecurityMode"=dword:00000000
; バランス モード
"EnhanceSecurityMode"=dword:00000001
; 厳密モード
"EnhanceSecurityMode"=dword:00000002
; (非推奨) 基本モード
"EnhanceSecurityMode"=dword:00000003
CMD
:: 選択項目 (1 つだけ使用)

:: 標準モード
reg add "HKLM\Software\Policies\Microsoft\Edge" /v "EnhanceSecurityMode" /t REG_DWORD /d 0 /f
:: バランス モード
reg add "HKLM\Software\Policies\Microsoft\Edge" /v "EnhanceSecurityMode" /t REG_DWORD /d 1 /f
:: 厳密モード
reg add "HKLM\Software\Policies\Microsoft\Edge" /v "EnhanceSecurityMode" /t REG_DWORD /d 2 /f
:: (非推奨) 基本モード
reg add "HKLM\Software\Policies\Microsoft\Edge" /v "EnhanceSecurityMode" /t REG_DWORD /d 3 /f
PowerShell
# 共通: キーを作成
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Force | Out-Null

# 選択項目 (1 つだけ使用)
# 標準モード
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'EnhanceSecurityMode' -PropertyType DWord -Value 0 -Force | Out-Null
# バランス モード
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'EnhanceSecurityMode' -PropertyType DWord -Value 1 -Force | Out-Null
# 厳密モード
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'EnhanceSecurityMode' -PropertyType DWord -Value 2 -Force | Out-Null
# (非推奨) 基本モード
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'EnhanceSecurityMode' -PropertyType DWord -Value 3 -Force | Out-Null