Notify Unsafe App
Avertir l’application non sécurisée
Explanation
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.
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.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WTDS\Components- Value name
NotifyUnsafeApp
| State | Value written |
|---|---|
| Enabled | REG_DWORD = 1 |
| Disabled | REG_DWORD = 0 |
PowerShell
PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.
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.
Enable
# Enable: 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 DWordDisable
# Disable: 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 DWordRevert to "Not configured"
# Revert to "Not configured": WebThreatDefense/NotifyUnsafeApp
$k = 'HKLM:\Software\Policies\Microsoft\Windows\WTDS\Components'
Remove-ItemProperty -Path $k -Name 'NotifyUnsafeApp' -ErrorAction SilentlyContinue