Ouvrir dans l'explorateur

Autoriser un appareil compagnon pour l’authentification secondaire

Allow companion device for secondary authentication

Type
Ordinateur
Chemin GPO
Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Facteur d’authentification secondaire Microsoft EN : Computer Configuration › Policies › Administrative Templates › Windows Components › Microsoft Secondary Authentication Factor
Pris en charge sur
Au moins Windows Server 2016, Windows 10 EN : At least Windows Server 2016, Windows 10
Fichier ADMX
DeviceCredential.admx
Nom interne
DeviceCredential/MSSecondaryAuthFactor_AllowSecondaryAuthenticationDevice

Explication

Texte français issu de Windows 11 26H2

Cette stratégie permet aux utilisateurs d’utiliser un appareil mobile, comme un téléphone, un appareil de suivi d’activité physique ou un appareil IoT, pour se connecter à un ordinateur de bureau exécutant Windows 10. L’appareil mobile fournit un second facteur d’authentification avec Windows Hello.

Si vous activez ce paramètre de stratégie ou ne le configurez pas, les utilisateurs peuvent s’authentifier auprès de Windows Hello à l’aide d’un appareil mobile.

Si vous désactivez cette stratégie, les utilisateurs ne peuvent pas utiliser d’appareil mobile pour s’authentifier auprès de Windows Hello.

This policy allows users to use a companion device, such as a phone, fitness band, or IoT device, to sign on to a desktop computer running Windows 10. The companion device provides a second factor of authentication with Windows Hello.

If you enable or do not configure this policy setting, users can authenticate to Windows Hello using a companion device.

If you disable this policy, users cannot use a companion device to authenticate with Windows Hello.

Registre

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\SecondaryAuthenticationFactor
Nom de la valeur
AllowSecondaryAuthenticationDevice
ÉtatValeur écrite
ActivéREG_DWORD = 1
DésactivéREG_DWORD = 0

PowerShell

Commandes PowerShell qui écrivent dans le registre ce que la stratégie écrirait. Les valeurs entre chevrons (<…>) sont à remplacer.

Écrire directement dans le registre contourne la stratégie de groupe : si une GPO gère cette valeur, elle sera réécrite au prochain gpupdate ; sinon la valeur reste en place (effet « tatouage »). Préférez une GPO ou, en local, LGPO.exe. Exécutez PowerShell en administrateur pour HKLM. Certaines stratégies demandent un redémarrage ou gpupdate /force.

Activer

# Activer : DeviceCredential/MSSecondaryAuthFactor_AllowSecondaryAuthenticationDevice
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\SecondaryAuthenticationFactor'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'AllowSecondaryAuthenticationDevice' -Value 1 -Type DWord

Désactiver

# Désactiver : DeviceCredential/MSSecondaryAuthFactor_AllowSecondaryAuthenticationDevice
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\SecondaryAuthenticationFactor'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'AllowSecondaryAuthenticationDevice' -Value 0 -Type DWord

Revenir à « Non configuré »

# Revenir à « Non configuré » : DeviceCredential/MSSecondaryAuthFactor_AllowSecondaryAuthenticationDevice
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\SecondaryAuthenticationFactor'
Remove-ItemProperty -Path $k -Name 'AllowSecondaryAuthenticationDevice' -ErrorAction SilentlyContinue

Disponibilité