Prevent bypassing SmartScreen Filter warnings about files that are not commonly downloaded from the Internet
Empêcher le contournement des avertissements du filtre SmartScreen pour les fichiers qui ne sont pas fréquemment téléchargés à partir d’Internet
Explanation
This policy setting determines whether the user can bypass warnings from SmartScreen Filter. SmartScreen Filter warns the user about executable files that Internet Explorer users do not commonly download from the Internet.
If you enable this policy setting, SmartScreen Filter warnings block the user.
If you disable or do not configure this policy setting, the user can bypass SmartScreen Filter warnings.
Ce paramètre de stratégie détermine si l’utilisateur peut ignorer les avertissements du filtre SmartScreen. Le filtre SmartScreen prévient l’utilisateur lorsqu’il détecte des fichiers exécutables que les utilisateurs d’Internet Explorer ne téléchargent pas souvent sur Internet.
Si vous activez ce paramètre de stratégie, les avertissements du filtre SmartScreen bloquent l’utilisateur.
Si vous désactivez ce paramètre de stratégie ou ne le configurez pas, l’utilisateur peut ignore les avertissements du filtre SmartScreen.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Internet Explorer\PhishingFilterHKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\PhishingFilter- Value name
PreventOverrideAppRepUnknown
| State | Value written |
|---|---|
| Enabled | not defined in the ADMX |
| Disabled | not defined in the ADMX |
PowerShell
PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.
The ADMX does not specify the value written when enabled; the GPO editor usually writes REG_DWORD 1 (enabled) / 0 (disabled). The commands below use 1/0 as an assumption.
Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.
Computer (HKLM)
Enable
# Enable: inetres/DisableSafetyFilterOverrideForAppRepUnknown
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\PhishingFilter'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# The ADMX does not specify the value written; the GPO editor usually writes REG_DWORD 1 (enabled) / 0 (disabled)
Set-ItemProperty -Path $k -Name 'PreventOverrideAppRepUnknown' -Value 1 -Type DWord # assumed value (not defined in the ADMX)Disable
# Disable: inetres/DisableSafetyFilterOverrideForAppRepUnknown
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\PhishingFilter'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# The ADMX does not specify the value written; the GPO editor usually writes REG_DWORD 1 (enabled) / 0 (disabled)
Set-ItemProperty -Path $k -Name 'PreventOverrideAppRepUnknown' -Value 0 -Type DWord # assumed value (not defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": inetres/DisableSafetyFilterOverrideForAppRepUnknown
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\PhishingFilter'
Remove-ItemProperty -Path $k -Name 'PreventOverrideAppRepUnknown' -ErrorAction SilentlyContinueUser (HKCU)
Enable
Disable
Revert to "Not configured"