Améliorez l’état de sécurité dans Microsoft Edge : valeur de Registre EnhanceSecurityModeOrdinateurHKLM\Software\Policies\Microsoft\Edge

ID de stratégie
EnhanceSecurityMode
Étendue
Configuration ordinateur, configuration utilisateur
Pris en charge sur
Microsoft Edge version 98, Windows 7 ou version ultérieure
Source
Microsoft Edge Policy Templates (version 155.0.4283.45)
Catégorie
Microsoft Edge

Registre

EnhanceSecurityMode

REG_DWORDOrdinateurUtilisateur
…\Software\Policies\Microsoft\EdgeHKLM\Software\Policies\Microsoft\Edge Clé actuelle
HKCU\Software\Policies\Microsoft\Edge
Valeur si activée
Dépend de la valeur de l'option
Élément
Améliorez l’état de sécurité dans Microsoft Edge
Options
EntréeValeur stockée
Mode standard0
Mode équilibré1
Mode strict2
(Déprécié) Mode de base3
Appliquer avec .reg · CMD · PowerShell
OrdinateurParamètre valable pour tout l’ordinateur
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Edge]

; Options (en utiliser une seule)
; Mode standard
"EnhanceSecurityMode"=dword:00000000
; Mode équilibré
"EnhanceSecurityMode"=dword:00000001
; Mode strict
"EnhanceSecurityMode"=dword:00000002
; (Déprécié) Mode de base
"EnhanceSecurityMode"=dword:00000003
CMD
:: Options (en utiliser une seule)

:: Mode standard
reg add "HKLM\Software\Policies\Microsoft\Edge" /v "EnhanceSecurityMode" /t REG_DWORD /d 0 /f
:: Mode équilibré
reg add "HKLM\Software\Policies\Microsoft\Edge" /v "EnhanceSecurityMode" /t REG_DWORD /d 1 /f
:: Mode strict
reg add "HKLM\Software\Policies\Microsoft\Edge" /v "EnhanceSecurityMode" /t REG_DWORD /d 2 /f
:: (Déprécié) Mode de base
reg add "HKLM\Software\Policies\Microsoft\Edge" /v "EnhanceSecurityMode" /t REG_DWORD /d 3 /f
PowerShell
# Commun : créer la clé
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Force | Out-Null

# Options (en utiliser une seule)
# Mode standard
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'EnhanceSecurityMode' -PropertyType DWord -Value 0 -Force | Out-Null
# Mode équilibré
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'EnhanceSecurityMode' -PropertyType DWord -Value 1 -Force | Out-Null
# Mode strict
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'EnhanceSecurityMode' -PropertyType DWord -Value 2 -Force | Out-Null
# (Déprécié) Mode de base
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'EnhanceSecurityMode' -PropertyType DWord -Value 3 -Force | Out-Null
UtilisateurParamètre par compte
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Microsoft\Edge]

; Options (en utiliser une seule)
; Mode standard
"EnhanceSecurityMode"=dword:00000000
; Mode équilibré
"EnhanceSecurityMode"=dword:00000001
; Mode strict
"EnhanceSecurityMode"=dword:00000002
; (Déprécié) Mode de base
"EnhanceSecurityMode"=dword:00000003
CMD
:: Options (en utiliser une seule)

:: Mode standard
reg add "HKCU\Software\Policies\Microsoft\Edge" /v "EnhanceSecurityMode" /t REG_DWORD /d 0 /f
:: Mode équilibré
reg add "HKCU\Software\Policies\Microsoft\Edge" /v "EnhanceSecurityMode" /t REG_DWORD /d 1 /f
:: Mode strict
reg add "HKCU\Software\Policies\Microsoft\Edge" /v "EnhanceSecurityMode" /t REG_DWORD /d 2 /f
:: (Déprécié) Mode de base
reg add "HKCU\Software\Policies\Microsoft\Edge" /v "EnhanceSecurityMode" /t REG_DWORD /d 3 /f
PowerShell
# Commun : créer la clé
New-Item -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Force | Out-Null

# Options (en utiliser une seule)
# Mode standard
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Name 'EnhanceSecurityMode' -PropertyType DWord -Value 0 -Force | Out-Null
# Mode équilibré
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Name 'EnhanceSecurityMode' -PropertyType DWord -Value 1 -Force | Out-Null
# Mode strict
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Name 'EnhanceSecurityMode' -PropertyType DWord -Value 2 -Force | Out-Null
# (Déprécié) Mode de base
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Name 'EnhanceSecurityMode' -PropertyType DWord -Value 3 -Force | Out-Null