Ouvrir dans l'explorateur

Avertir l’application non sécurisée

Notify Unsafe App

Type
Ordinateur
Chemin GPO
Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Windows Defender SmartScreen › Protection contre l’hameçonnage améliorée EN : Computer Configuration › Policies › Administrative Templates › Windows Components › Windows Defender SmartScreen › Enhanced Phishing Protection
Pris en charge sur
Au moins Windows 11 version 22H2 EN : At least Windows 11 Version 22H2
Fichier ADMX
WebThreatDefense.admx
Nom interne
WebThreatDefense/NotifyUnsafeApp

Explication

Texte français issu de Windows 11 26H2

Ce paramètre de stratégie détermine si la protection contre l’hameçonnage améliorée dans Microsoft Defender SmartScreen avertit vos utilisateurs s’ils tapent leur mot de passe professionnel ou scolaire dans le Bloc-notes, Applications Office Winword ou M365 telles que OneNote, Word, Excel, etc.

Si vous activez ce paramètre de stratégie, la protection contre l’hameçonnage améliorée dans Microsoft Defender SmartScreen avertit vos utilisateurs s’ils stockent leur mot de passe dans les applications d’éditeur de texte.

Si vous désactivez ou ne configurez pas ce paramètre de stratégie, la protection contre l’hameçonnage améliorée dans Microsoft Defender SmartScreen n’avertira pas les utilisateurs s’ils stockent leur mot de passe dans les applications de l’éditeur de texte.

This policy setting determines whether Enhanced Phishing Protection in Microsoft Defender SmartScreen warns your users if they type their work or school passwords in Notepad, Winword, or M365 Office apps like OneNote, Word, Excel, etc.

If you enable this policy setting, Enhanced Phishing Protection in Microsoft Defender SmartScreen warns your users if they store their password in text editor apps.

If you disable or don’t configure this policy setting, Enhanced Phishing Protection in Microsoft Defender SmartScreen will not warn users if they store their password in text editor apps.

Registre

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WTDS\Components
Nom de la valeur
NotifyUnsafeApp
É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 : WebThreatDefense/NotifyUnsafeApp
$k = 'HKLM:\Software\Policies\Microsoft\Windows\WTDS\Components'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'NotifyUnsafeApp' -Value 1 -Type DWord

Désactiver

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

Revenir à « Non configuré »

# Revenir à « Non configuré » : WebThreatDefense/NotifyUnsafeApp
$k = 'HKLM:\Software\Policies\Microsoft\Windows\WTDS\Components'
Remove-ItemProperty -Path $k -Name 'NotifyUnsafeApp' -ErrorAction SilentlyContinue

Disponibilité

Windows 10

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

Windows Server

— 2025— 2022— 2016