Open in the explorer

Turn on convenience PIN sign-in

Activer la connexion par le code PIN d'usage

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › System › Logon FR: Configuration ordinateur › Stratégies › Modèles d'administration › Système › Ouverture de session
Supported on
At least Windows Server 2012, Windows 8 or Windows RT FR: Au minimum Windows Server 2012, Windows 8 ou Windows RT
ADMX file
CredentialProviders.admx
Internal name
CredentialProviders/AllowDomainPINLogon

Explanation

This policy setting allows you to control whether a domain user can sign in using a convenience PIN.

If you enable this policy setting, a domain user can set up and sign in with a convenience PIN.

If you disable or don't configure this policy setting, a domain user can't set up and use a convenience PIN.

Note: The user's domain password will be cached in the system vault when using this feature.

To configure Windows Hello for Business, use the Administrative Template policies under Windows Hello for Business.

French text from Windows 11 26H2

Ce paramètre de stratégie permet de déterminer si un utilisateur du domaine peut se connecter à l’aide d’un code confidentiel d’usage.

Si vous activez ce paramètre de stratégie, un utilisateur du domaine peut configurer un code confidentiel d’usage et se connecter avec ce dernier.

Si vous désactivez ou ne configurez pas ce paramètre de stratégie, un utilisateur du domaine ne peut pas configurer ni utiliser de code confidentiel d’usage.

Remarque : le mot de passe du domaine de l’utilisateur est mis en cache dans le coffre système lors de l’utilisation de cette fonctionnalité.

Pour configurer Windows Hello Entreprise, utilisez les stratégies Modèles d’administration sous Windows Hello Entreprise.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\System
Value name
AllowDomainPINLogon
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: CredentialProviders/AllowDomainPINLogon
$k = 'HKLM:\Software\Policies\Microsoft\Windows\System'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'AllowDomainPINLogon' -Value 1 -Type DWord

Disable

# Disable: CredentialProviders/AllowDomainPINLogon
$k = 'HKLM:\Software\Policies\Microsoft\Windows\System'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'AllowDomainPINLogon' -Value 0 -Type DWord

Revert to "Not configured"

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

Availability