Open in the explorer

Do not display the password reveal button

Ne pas afficher le bouton Affichage du mot de passe

Type
Computer and user
GPO path
Computer Configuration › Policies › Administrative Templates › Windows Components › Credential User Interface User Configuration › Policies › Administrative Templates › Windows Components › Credential User Interface FR: Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Interface utilisateur d’informations d’identificationFR: Configuration utilisateur › Stratégies › Modèles d'administration › Composants Windows › Interface utilisateur d’informations d’identification
Supported on
At least Windows Server 2012, Windows 8 or Windows RT or at least Internet Explorer 10 FR: Au minimum Windows Server 2012, Windows 8 ou Windows RT ou au minimum Internet Explorer 10
ADMX file
CredUI.admx
Internal name
CredUI/DisablePasswordReveal

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.

French text from Windows 11 26H2

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\CredUI
HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\CredUI
Value name
DisablePasswordReveal
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.

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 DWord

Disable

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

Revert to "Not configured"

# Revert to "Not configured": CredUI/DisablePasswordReveal
$k = 'HKLM:\Software\Policies\Microsoft\Windows\CredUI'
Remove-ItemProperty -Path $k -Name 'DisablePasswordReveal' -ErrorAction SilentlyContinue

User (HKCU)

Enable

Disable

Revert to "Not configured"

Availability