Ouvrir dans l'explorateur

Empêcher le contournement des avertissements de Windows Defender SmartScreen pour les fichiers

Prevent bypassing Windows Defender SmartScreen prompts for files

Type
Ordinateur et utilisateur
Chemin GPO
Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Windows Defender SmartScreen › Microsoft Edge Configuration utilisateur › Stratégies › Modèles d'administration › Composants Windows › Windows Defender SmartScreen › Microsoft Edge EN : Computer Configuration › Policies › Administrative Templates › Windows Components › Windows Defender SmartScreen › Microsoft EdgeEN : User Configuration › Policies › Administrative Templates › Windows Components › Windows Defender SmartScreen › Microsoft Edge
Pris en charge sur
SUPPORTED_INTERNET_BROWSER_WIN10V1511
Fichier ADMX
SmartScreen.admx
Nom interne
SmartScreen/EdgePreventOverrideForFiles

Explication

Texte français issu de Windows 10 1703

Ce paramètre de stratégie vous permet de décider si les employés peuvent ignorer les avertissements de Windows Defender SmartScreen sur le téléchargement de fichiers non vérifiés.

Si vous activez ce paramètre, les employés ne peuvent pas ignorer les avertissements de Windows Defender SmartScreen ni télécharger des fichiers non vérifiés.

Si vous désactivez ce paramètre ou si vous ne le configurez pas, les employés peuvent ignorer les avertissements de Windows Defender SmartScreen et continuer le processus de téléchargement.

This policy setting lets you decide whether employees can override the Windows Defender SmartScreen warnings about downloading unverified files.

If you enable this setting, employees can't ignore Windows Defender SmartScreen warnings and they are blocked from downloading the unverified files.

If you disable or don't configure this setting, employees can ignore Windows Defender SmartScreen warnings and continue the download process.

Registre

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\MicrosoftEdge\PhishingFilter
HKEY_CURRENT_USER\Software\Policies\Microsoft\MicrosoftEdge\PhishingFilter
Nom de la valeur
PreventOverrideAppRepUnknown
ÉtatValeur écrite
ActivéREG_DWORD = 1
DésactivéREG_DWORD = 0

PowerShell

Commandes PowerShell qui écrivent dans le registre ce que la stratégie écrirait. Les valeurs entre chevrons (<…>) sont à remplacer.

Écrire directement dans le registre contourne la stratégie de groupe : si une GPO gère cette valeur, elle sera réécrite au prochain gpupdate ; sinon la valeur reste en place (effet « tatouage »). Préférez une GPO ou, en local, LGPO.exe. Exécutez PowerShell en administrateur pour HKLM. Certaines stratégies demandent un redémarrage ou gpupdate /force.

Ordinateur (HKLM)

Activer

# Activer : SmartScreen/EdgePreventOverrideForFiles
$k = 'HKLM:\Software\Policies\Microsoft\MicrosoftEdge\PhishingFilter'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'PreventOverrideAppRepUnknown' -Value 1 -Type DWord

Désactiver

# Désactiver : SmartScreen/EdgePreventOverrideForFiles
$k = 'HKLM:\Software\Policies\Microsoft\MicrosoftEdge\PhishingFilter'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'PreventOverrideAppRepUnknown' -Value 0 -Type DWord

Revenir à « Non configuré »

# Revenir à « Non configuré » : SmartScreen/EdgePreventOverrideForFiles
$k = 'HKLM:\Software\Policies\Microsoft\MicrosoftEdge\PhishingFilter'
Remove-ItemProperty -Path $k -Name 'PreventOverrideAppRepUnknown' -ErrorAction SilentlyContinue

Utilisateur (HKCU)

Activer

Désactiver

Revenir à « Non configuré »

Disponibilité

Windows 11

— 26H2— 25H2— 24H2— 23H2— 22H2— 21H2

Windows 10

— 22H2— 21H2— 21H1— 20H2— 2004— 1909— 1903— 1809— 1803— 1709✓ 1703— 1607— 1511— 1507

Windows Server

— 2025— 2022— 2016