Configure device unlock factors: registry value GroupA and 2 moreComputerHKLM\SOFTWARE\Policies\Microsoft\PassportForWork\DeviceUnlock
- Policy ID
- MSPassport_UseDeviceUnlock
- Scope
- Computer Configuration
- Supported on
- At least Windows 10
- Source
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (version 1.0)
- Category
- Windows Components › Windows Hello for Business
Registry
GroupA
REG_SZComputer- Enabled value
- Depends on the option value
- Element
- First unlock factor credential providers
- Value type
- REG_SZ
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\PassportForWork\DeviceUnlock] ; Value names and types follow the ADMX. Replace <enter value> below with your own data "GroupA"="<enter value>"
CMD
:: Value names and types follow the ADMX. Replace <enter value> below with your own data reg add "HKLM\SOFTWARE\Policies\Microsoft\PassportForWork\DeviceUnlock" /v "GroupA" /t REG_SZ /d "<enter value>" /f
PowerShell
# Value names and types follow the ADMX. Replace <enter value> below with your own data New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\PassportForWork\DeviceUnlock' -Force | Out-Null New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\PassportForWork\DeviceUnlock' -Name 'GroupA' -PropertyType String -Value '<enter value>' -Force | Out-Null
GroupB
REG_SZComputer- Enabled value
- Depends on the option value
- Element
- Second unlock factor credential providers
- Value type
- REG_SZ
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\PassportForWork\DeviceUnlock] ; Value names and types follow the ADMX. Replace <enter value> below with your own data "GroupB"="<enter value>"
CMD
:: Value names and types follow the ADMX. Replace <enter value> below with your own data reg add "HKLM\SOFTWARE\Policies\Microsoft\PassportForWork\DeviceUnlock" /v "GroupB" /t REG_SZ /d "<enter value>" /f
PowerShell
# Value names and types follow the ADMX. Replace <enter value> below with your own data New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\PassportForWork\DeviceUnlock' -Force | Out-Null New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\PassportForWork\DeviceUnlock' -Name 'GroupB' -PropertyType String -Value '<enter value>' -Force | Out-Null
Plugins
REG_SZComputer- Enabled value
- Depends on the option value
- Element
- Signal rules for device unlock
- Value type
- REG_SZ
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\PassportForWork\DeviceUnlock] ; Value names and types follow the ADMX. Replace <enter value> below with your own data "Plugins"="<enter value>"
CMD
:: Value names and types follow the ADMX. Replace <enter value> below with your own data reg add "HKLM\SOFTWARE\Policies\Microsoft\PassportForWork\DeviceUnlock" /v "Plugins" /t REG_SZ /d "<enter value>" /f
PowerShell
# Value names and types follow the ADMX. Replace <enter value> below with your own data New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\PassportForWork\DeviceUnlock' -Force | Out-Null New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\PassportForWork\DeviceUnlock' -Name 'Plugins' -PropertyType String -Value '<enter value>' -Force | Out-Null