Avertir l’application non sécurisée
Notify Unsafe App
Explication
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
| État | Valeur é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 DWordDé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 DWordRevenir à « Non configuré »
# Revenir à « Non configuré » : WebThreatDefense/NotifyUnsafeApp
$k = 'HKLM:\Software\Policies\Microsoft\Windows\WTDS\Components'
Remove-ItemProperty -Path $k -Name 'NotifyUnsafeApp' -ErrorAction SilentlyContinue