Do not display the password reveal button
Ne pas afficher le bouton Affichage du mot de passe
Explanation
This policy setting allows you to configure the display of the password reveal button in password entry user experiences.
If you enable this policy setting, the password reveal button will not be displayed after a user types a password in the password entry text box.
If you disable or do not configure this policy setting, the password reveal button will be displayed after a user types a password in the password entry text box.
By default, the password reveal button is displayed after a user types a password in the password entry text box. To display the password, click the password reveal button.
The policy applies to all Windows components and applications that use the Windows system controls, including Internet Explorer.
Ce paramètre de stratégie vous permet de configurer l’affichage du bouton Affichage du mot de passe dans les écrans de saisie du mot de passe.
Si vous activez ce paramètre de stratégie, le bouton Affichage du mot de passe ne s’affiche pas lorsque l’utilisateur a entré un mot de passe dans la zone de texte correspondante.
Si vous désactivez ou ne configurez pas ce paramètre de stratégie, le bouton Affichage du mot de passe s’affiche lorsque l’utilisateur a entré un mot de passe dans la zone de texte correspondante.
Par défaut, le bouton Affichage du mot de passe s’affiche lorsque l’utilisateur a entré un mot de passe dans la zone de texte correspondante. Pour afficher le mot de passe, cliquez sur le bouton Afficher le mot de passe.
Cette stratégie s’applique à tous les composants et applications Windows qui utilisent les contrôles système Windows, notamment Internet Explorer.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\CredUIHKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\CredUI- Value name
DisablePasswordReveal
| 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.
Computer (HKLM)
Enable
# Enable: CredUI/DisablePasswordReveal
$k = 'HKLM:\Software\Policies\Microsoft\Windows\CredUI'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'DisablePasswordReveal' -Value 1 -Type DWordDisable
# Disable: CredUI/DisablePasswordReveal
$k = 'HKLM:\Software\Policies\Microsoft\Windows\CredUI'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'DisablePasswordReveal' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": CredUI/DisablePasswordReveal
$k = 'HKLM:\Software\Policies\Microsoft\Windows\CredUI'
Remove-ItemProperty -Path $k -Name 'DisablePasswordReveal' -ErrorAction SilentlyContinueUser (HKCU)
Enable
Disable
Revert to "Not configured"