Open in the explorer

Notify Unsafe App

Avertir l’application non sécurisée

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › Windows Components › Windows Defender SmartScreen › Enhanced Phishing Protection FR: Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Windows Defender SmartScreen › Protection contre l’hameçonnage améliorée
Supported on
At least Windows 11 Version 22H2 FR: Au moins Windows 11 version 22H2
ADMX file
WebThreatDefense.admx
Internal name
WebThreatDefense/NotifyUnsafeApp

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.

French text from 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.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WTDS\Components
Value name
NotifyUnsafeApp
StateValue written
EnabledREG_DWORD = 1
DisabledREG_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 DWord

Disable

# 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 DWord

Revert 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

Availability

Windows 10

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

Windows Server

— 2025— 2022— 2016