-
Notifications
You must be signed in to change notification settings - Fork 0
Set WHBRegistry
github-actions[bot] edited this page May 22, 2026
·
1 revision
Enables Windows Hello for Business and Biometrics by setting the required registry keys under HKLM:\SOFTWARE\Policies\Microsoft\. This prepares Windows 10/11 endpoints for biometric authentication including fingerprint and facial recognition, and allows domain users to log on using biometrics.
- Enables Windows Hello for Business (
PassportForWork) - Enables Biometrics and domain logon via biometrics
- Enables Facial & Fingerprint features
- Creates registry paths if they don't already exist
- Suitable for Intune, Group Policy, or RMM deployment
- PowerShell 5.1 or later
-
Must be run as Administrator (writes to
HKLM) - Windows 10/11
This script has no parameters.
.\Set-WHBRegistry.ps1Sets all Windows Hello for Business and Biometrics registry keys.
| Path | Name | Value |
|---|---|---|
HKLM:\SOFTWARE\Policies\Microsoft\PassportForWork |
Enabled |
1 (DWORD) |
HKLM:\SOFTWARE\Policies\Microsoft\Biometrics |
Enabled |
1 (DWORD) |
HKLM:\SOFTWARE\Policies\Microsoft\Biometrics |
AllowDomainLogon |
1 (DWORD) |
HKLM:\SOFTWARE\Policies\Microsoft\Biometrics\FacialFeatures |
Enabled |
1 (DWORD) |
Console output with color-coded status messages confirming each registry key was set.
| Issue | Solution |
|---|---|
Access is denied |
Run PowerShell as Administrator or deploy via Intune system context |
| Settings overridden by Group Policy | Check for conflicting GPOs in rsop.msc
|
| Biometrics still not available | Ensure biometric hardware is present and drivers are installed |
- Remove-BioDB.ps1 β Resets the Windows Biometric Database
- v1.0 (2025-05-21): Initial release β Sets WHB and Biometrics registry keys
- Overview
- Start-LyncCsvExporter
- Get-ComprehensiveLyncReport
- Get-LyncHealthReport
- Get-LyncInfrastructureReport
- Get-LyncServiceStatus
- Get-LyncUserRegistrationReport
- Export-ADLyncTeamsMigrationData
- New-Office365Accounts
- Sync-ContactsFromCsv
- Set-EmailToSharedAccount
- Set-SMTPForward
- Invoke-UserSignOutAndBlock
- Security Assessment Scripts (coming soon)
- Azure Automation (documentation pending)
- Get-GraphToken
- Get-GraphHeaders
- Get-AzureResourcePaging
- Get-EnterpriseAppUsage
- Get-ExchangeErrorsGraph
- Get-PBIWorkspaceUsageReport
- Intune Management (documentation pending)