Assign a default credential provider
Attribuer un fournisseur d'informations d'identification par défaut
Explanation
This policy setting allows the administrator to assign a specified credential provider as the default credential provider.
If you enable this policy setting, the specified credential provider is selected on other user tile.
If you disable or do not configure this policy setting, the system picks the default credential provider on other user tile.
Note: A list of registered credential providers and their GUIDs can be found in the registry at HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\Credential Providers.
Ce paramètre de stratégie permet à l'administrateur d'affecter un fournisseur d'informations d'identification spécifié comme fournisseur d'informations d'identification par défaut.
Si vous activez ce paramètre de stratégie, le fournisseur d'informations d'identification spécifié est sélectionné sur la fenêtre de l'utilisateur.
Si vous désactivez ou ne configurez pas ce paramètre de stratégie, le système sélectionne le fournisseur d'informations d'identification par défaut sur la fenêtre de l'utilisateur.
Remarque : la liste des fournisseurs d'informations d'identification enregistrés et de leurs GUID se trouve dans le registre sous HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\Credential Providers.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\System- Value name
- not defined in the ADMX
Enable / disable values: not defined in the ADMX (see the options below).
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/DefaultCredentialProvider
$k = 'HKLM:\Software\Policies\Microsoft\Windows\System'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Assign the following credential provider as the default credential provider
Set-ItemProperty -Path $k -Name 'DefaultCredentialProvider' -Value '<value>' -Type StringDisable
# Disable: CredentialProviders/DefaultCredentialProvider
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": CredentialProviders/DefaultCredentialProvider
$k = 'HKLM:\Software\Policies\Microsoft\Windows\System'
Remove-ItemProperty -Path $k -Name 'DefaultCredentialProvider' -ErrorAction SilentlyContinueOptions (1)
| Label | Control | Registry value | REG type | Constraints / details |
|---|---|---|---|---|
| Assign the following credential provider as the default credential provider:Définir le fournisseur d'informations d'identification suivant en tant que fournisseur d'informations d'identification par défaut :DefaultCredentialProvider_Message | Text boxtext | DefaultCredentialProvider | REG_SZ | Max length: 48 |