Notify Password Reuse
Notifier la réutilisation du mot de passe
Explanation
This policy setting determines whether Enhanced Phishing Protection in Microsoft Defender SmartScreen warns your users if they reuse their work or school password.
If you enable this policy setting, Enhanced Phishing Protection in Microsoft Defender SmartScreen warns users if they reuse their work or school password and encourages them to change it.
If you disable or don’t configure this policy setting, Enhanced Phishing Protection in Microsoft Defender SmartScreen will not warn users if they reuse their work or school password.
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 réutilisent leur mot de passe professionnel ou scolaire.
Si vous activez ce paramètre de stratégie. La protection contre l’hameçonnage améliorée dans Microsoft Defender SmartScreen avertit les utilisateurs s’ils réutilisent leur mot de passe professionnel ou scolaire et les encourage à le modifier.
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 réutilisent leur mot de passe professionnel ou scolaire.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WTDS\Components- Value name
NotifyPasswordReuse
| 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/NotifyPasswordReuse
$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 'NotifyPasswordReuse' -Value 1 -Type DWordDisable
# Disable: WebThreatDefense/NotifyPasswordReuse
$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 'NotifyPasswordReuse' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": WebThreatDefense/NotifyPasswordReuse
$k = 'HKLM:\Software\Policies\Microsoft\Windows\WTDS\Components'
Remove-ItemProperty -Path $k -Name 'NotifyPasswordReuse' -ErrorAction SilentlyContinue