Ouvrir dans l'explorateur

Configurer Windows Defender SmartScreen

Configure Windows Defender SmartScreen

Type
Ordinateur
Chemin GPO
Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Windows Defender SmartScreen › Explorateur EN : Computer Configuration › Policies › Administrative Templates › Windows Components › Windows Defender SmartScreen › Explorer
Pris en charge sur
Au minimum Windows Server 2012, Windows 8 ou Windows RT EN : At least Windows Server 2012, Windows 8 or Windows RT
Fichier ADMX
SmartScreen.admx
Nom interne
SmartScreen/ShellConfigureSmartScreen

Explication

Texte français issu de Windows 11 26H2

Cette stratégie vous permet d’activer ou de désactiver Windows Defender SmartScreen. SmartScreen aide à protéger les PC en avertissant les utilisateurs avant qu’ils n’exécutent les programmes potentiellement malveillants téléchargés à partir dֹ’Internet. Cet avertissement se présente sous la forme d’une boîte de dialogue interstitielle qui s’affiche avant l’exécution d’une application téléchargée à partir d’Internet, qui n’est pas reconnue ou connue pour être malveillante. Aucune boîte de dialogue n’est affichée pour les applications qui ne semblent pas suspectes.

Certaines informations sont envoyées à Microsoft sur les fichiers et programmes exécutés sur les PC avec cette fonctionnalité activée.

Si vous activez ce paramètre de stratégie, la fonctionnalité SmartScreen est activée pour tous les utilisateurs. Son comportement peut être contrôlé par les options suivantes :

• Avertir et empêcher tout contournement
• Avertir

Si vous activez ce paramètre de stratégie avec l’option « Avertir et empêcher tout contournement », les boîtes de dialogue de SmartScreen ne présentent pas à l’utilisateur l’option permettant d’ignorer l’avertissement et d’exécuter l’application. SmartScreen continue d’afficher l’avertissement lors des tentatives ultérieures d’exécution de l’application.

Si vous activez ce paramètre de stratégie avec l’option « Avertir », les boîtes de dialogue de SmartScreen avertissent l’utilisateur que l’application semble suspecte, mais elles lui permettent d’ignorer l’avertissement et d’exécuter l’application malgré tout. SmartScreen n’envoie plus à l’utilisateur d’avertissements à propos de cette application si l’utilisateur indique à SmartScreen de l’exécuter.

Si vous désactivez ce paramètre de stratégie, la fonctionnalité SmartScreen est désactivée pour tous les utilisateurs. Les utilisateurs ne sont pas avertis s’ils essaient d’exécuter des applications suspectes à partir d’Internet.

Si vous ne configurez pas ce paramètre de stratégie, la fonctionnalité SmartScreen est activée par défaut, mais les utilisateurs peuvent modifier leurs paramètres.

This policy allows you to turn Windows Defender SmartScreen on or off. SmartScreen helps protect PCs by warning users before running potentially malicious programs downloaded from the Internet. This warning is presented as an interstitial dialog shown before running an app that has been downloaded from the Internet and is unrecognized or known to be malicious. No dialog is shown for apps that do not appear to be suspicious.

Some information is sent to Microsoft about files and programs run on PCs with this feature enabled.

If you enable this policy, SmartScreen will be turned on for all users. Its behavior can be controlled by the following options:

• Warn and prevent bypass
• Warn

If you enable this policy with the "Warn and prevent bypass" option, SmartScreen's dialogs will not present the user with the option to disregard the warning and run the app. SmartScreen will continue to show the warning on subsequent attempts to run the app.

If you enable this policy with the "Warn" option, SmartScreen's dialogs will warn the user that the app appears suspicious, but will permit the user to disregard the warning and run the app anyway. SmartScreen will not warn the user again for that app if the user tells SmartScreen to run the app.

If you disable this policy, SmartScreen will be turned off for all users. Users will not be warned if they try to run suspicious apps from the Internet.

If you do not configure this policy, SmartScreen will be enabled by default, but users may change their settings.

Cas d'usage

Active SmartScreen dans l’Explorateur : une boîte de dialogue avertit l’utilisateur avant l’exécution d’une application téléchargée depuis Internet qui n’est pas reconnue ou qui est connue comme malveillante. Deux niveaux : « Avertir », où l’utilisateur peut passer outre, et « Avertir et empêcher le contournement », où il n’existe plus de bouton pour lancer quand même l’application, et l’avertissement revient à chaque tentative.

Pour un poste de travail standard, le second niveau évite qu’un clic réflexe annule la protection, au prix de tickets d’assistance pour les outils internes non signés ou peu répandus. Sachez aussi que des informations sur les fichiers et programmes exécutés sont envoyées à Microsoft quand la fonction est active, point à intégrer à votre analyse de conformité RGPD.

Source Microsoft : Policy CSP - SmartScreen

Registre

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\System
Nom de la valeur
EnableSmartScreen
É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.

Activer

# Activer : SmartScreen/ShellConfigureSmartScreen
$k = 'HKLM:\Software\Policies\Microsoft\Windows\System'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'EnableSmartScreen' -Value 1 -Type DWord
# Choisissez l’un des paramètres suivants
# Options possibles :
#   Warn and prevent bypass = Block
#   Warn = Warn
Set-ItemProperty -Path $k -Name 'ShellSmartScreenLevel' -Value 'Block' -Type String

Désactiver

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

Revenir à « Non configuré »

# Revenir à « Non configuré » : SmartScreen/ShellConfigureSmartScreen
$k = 'HKLM:\Software\Policies\Microsoft\Windows\System'
Remove-ItemProperty -Path $k -Name 'EnableSmartScreen' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'ShellSmartScreenLevel' -ErrorAction SilentlyContinue

Options (1)

LibelléContrôleValeur de registreType REGContraintes / détails
Choisissez l’un des paramètres suivants :Pick one of the following settings:ShellConfigureSmartScreen_DropdownListe déroulanteenumShellSmartScreenLevelREG_SZ
Obligatoire · Choix par défaut (interface) : n° 0
LibelléValeur
Warn and prevent bypassREG_SZ = Block
WarnREG_SZ = Warn

Disponibilité

Windows Server