Configurer Windows Defender SmartScreen : valeur de Registre EnableSmartScreen et 1 autres (EnableSmartScreen)OrdinateurHKLM\Software\Policies\Microsoft\Windows\System

ID de stratégie
EnableSmartScreen
Étendue
Configuration ordinateur
Pris en charge sur
Au minimum Windows Server 2012, Windows 8 ou Windows RT
Source
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (version 1.0)
Catégorie
Composants Windows › Explorateur de fichiers

Registre

EnableSmartScreen

REG_DWORDOrdinateur
Valeur si activée
1
Valeur si désactivée
0
Appliquer avec .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

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

; Options (en utiliser une seule)
; Activé
"EnableSmartScreen"=dword:00000001
; Désactivé
"EnableSmartScreen"=dword:00000000
CMD
:: Options (en utiliser une seule)

:: Activé
reg add "HKLM\Software\Policies\Microsoft\Windows\System" /v "EnableSmartScreen" /t REG_DWORD /d 1 /f
:: Désactivé
reg add "HKLM\Software\Policies\Microsoft\Windows\System" /v "EnableSmartScreen" /t REG_DWORD /d 0 /f
PowerShell
# Commun : créer la clé
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\System' -Force | Out-Null

# Options (en utiliser une seule)
# Activé
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\System' -Name 'EnableSmartScreen' -PropertyType DWord -Value 1 -Force | Out-Null
# Désactivé
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\System' -Name 'EnableSmartScreen' -PropertyType DWord -Value 0 -Force | Out-Null

ShellSmartScreenLevel

REG_SZOrdinateur
Valeur si activée
Dépend de la valeur de l'option
Élément
Choisissez l’un des paramètres suivants :
Options
EntréeValeur stockée
Avertir et empêcher tout contournementBlock
AvertirWarn
Appliquer avec .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

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

; Options (en utiliser une seule)
; Avertir et empêcher tout contournement
"ShellSmartScreenLevel"="Block"
; Avertir
"ShellSmartScreenLevel"="Warn"
CMD
:: Options (en utiliser une seule)

:: Avertir et empêcher tout contournement
reg add "HKLM\Software\Policies\Microsoft\Windows\System" /v "ShellSmartScreenLevel" /t REG_SZ /d "Block" /f
:: Avertir
reg add "HKLM\Software\Policies\Microsoft\Windows\System" /v "ShellSmartScreenLevel" /t REG_SZ /d "Warn" /f
PowerShell
# Commun : créer la clé
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\System' -Force | Out-Null

# Options (en utiliser une seule)
# Avertir et empêcher tout contournement
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\System' -Name 'ShellSmartScreenLevel' -PropertyType String -Value 'Block' -Force | Out-Null
# Avertir
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\System' -Name 'ShellSmartScreenLevel' -PropertyType String -Value 'Warn' -Force | Out-Null