Use a hardware security device: registry value RequireSecurityDevice (PassportForWork)ComputerHKLM\SOFTWARE\Policies\Microsoft\PassportForWork
- Policy ID
- MSPassport_RequireSecurityDevice
- 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
RequireSecurityDevice
REG_DWORDComputerHKLM\SOFTWARE\Policies\Microsoft\PassportForWork Current key
- Enabled value
- 1
- Disabled value
- 0
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\PassportForWork] ; Options (use only one) ; Enabled "RequireSecurityDevice"=dword:00000001 ; Disabled "RequireSecurityDevice"=dword:00000000
CMD
:: Options (use only one) :: Enabled reg add "HKLM\SOFTWARE\Policies\Microsoft\PassportForWork" /v "RequireSecurityDevice" /t REG_DWORD /d 1 /f :: Disabled reg add "HKLM\SOFTWARE\Policies\Microsoft\PassportForWork" /v "RequireSecurityDevice" /t REG_DWORD /d 0 /f
PowerShell
# Common: create the key New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\PassportForWork' -Force | Out-Null # Options (use only one) # Enabled New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\PassportForWork' -Name 'RequireSecurityDevice' -PropertyType DWord -Value 1 -Force | Out-Null # Disabled New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\PassportForWork' -Name 'RequireSecurityDevice' -PropertyType DWord -Value 0 -Force | Out-Null
TPM12
REG_DWORDComputer- Checked
- 1
- Unchecked
- 0
- Element
- TPM 1.2
- Value type
- REG_DWORD
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\PassportForWork\ExcludeSecurityDevices] ; Options (use only one) ; Checked "TPM12"=dword:00000001 ; Unchecked "TPM12"=dword:00000000
CMD
:: Options (use only one) :: Checked reg add "HKLM\SOFTWARE\Policies\Microsoft\PassportForWork\ExcludeSecurityDevices" /v "TPM12" /t REG_DWORD /d 1 /f :: Unchecked reg add "HKLM\SOFTWARE\Policies\Microsoft\PassportForWork\ExcludeSecurityDevices" /v "TPM12" /t REG_DWORD /d 0 /f
PowerShell
# Common: create the key New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\PassportForWork\ExcludeSecurityDevices' -Force | Out-Null # Options (use only one) # Checked New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\PassportForWork\ExcludeSecurityDevices' -Name 'TPM12' -PropertyType DWord -Value 1 -Force | Out-Null # Unchecked New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\PassportForWork\ExcludeSecurityDevices' -Name 'TPM12' -PropertyType DWord -Value 0 -Force | Out-Null