Use phone sign-in
Utiliser les informations d’identification du téléphone
Explanation
Use this policy setting to configure use of phone sign-in. Phone sign-in provides the ability for a phone to be usable as a companion device for desktop authentication. Phone sign-in requires that both the PC and the phone are registered with the same Azure AD tenant. Additionally, the phone must be enrolled in Windows Hello for Business.
If you enable this policy setting, phone sign-in will be enabled, allowing the use of a phone as a companion device for desktop authentication.
If you disable or do not configure this policy setting, phone sign-in will be disabled, preventing the use of a phone as a companion device for desktop authentication.
Utilisez ce paramètre de stratégie pour configurer l’utilisation des informations d’identification du téléphone. Les informations d’identification du téléphone permettent à un téléphone d’être utilisé comme appareil mobile pour l’authentification du Bureau. Les informations d’identification du téléphone exigent que le PC et le téléphone soient enregistrés avec le même client Azure AD. Le téléphone doit également être inscrit dans Windows Hello Entreprise.
Si vous activez ce paramètre de stratégie, les informations d’identification du téléphone sont activées, permettant ainsi d’utiliser un téléphone comme appareil mobile pour l’authentification du Bureau.
Si vous désactivez ce paramètre de stratégie ou ne le configurez pas, les informations d’identification du téléphone sont désactivées, empêchant ainsi l’utilisation d’un téléphone en tant qu’appareil mobile pour l’authentification du Bureau.
Registry
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\PassportForWork\Remote- Value name
Enabled
| 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.
Enable
# Enable: Passport/MSPassport_UseRemote
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\PassportForWork\Remote'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'Enabled' -Value 1 -Type DWordDisable
# Disable: Passport/MSPassport_UseRemote
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\PassportForWork\Remote'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'Enabled' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": Passport/MSPassport_UseRemote
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\PassportForWork\Remote'
Remove-ItemProperty -Path $k -Name 'Enabled' -ErrorAction SilentlyContinue