Usa certificato per l'autenticazione locale: valore del Registro di sistema UseCertificateForOnPremAuthComputerHKLM\SOFTWARE\Policies\Microsoft\PassportForWork
- ID criterio
- WHFB_UseCertificateForOnPremAuth
- Ambito
- Configurazione computer, Configurazione utente
- Supportato in
- Almeno Windows 10
- Origine
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versione 1.0)
- Categoria
- Componenti di Windows › Windows Hello for Business
Registro
UseCertificateForOnPremAuth
REG_DWORDComputerUtente…\SOFTWARE\Policies\Microsoft\PassportForWorkHKLM\SOFTWARE\Policies\Microsoft\PassportForWork Chiave corrente
HKCU\SOFTWARE\Policies\Microsoft\PassportForWork
HKCU\SOFTWARE\Policies\Microsoft\PassportForWork
- Valore abilitato
- 1
- Valore disabilitato
- 0
Applica con .reg · CMD · PowerShell
ComputerImpostazione globale del computer
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\PassportForWork] ; Opzioni (usarne solo una) ; Abilitato "UseCertificateForOnPremAuth"=dword:00000001 ; Disabilitato "UseCertificateForOnPremAuth"=dword:00000000
CMD
:: Opzioni (usarne solo una) :: Abilitato reg add "HKLM\SOFTWARE\Policies\Microsoft\PassportForWork" /v "UseCertificateForOnPremAuth" /t REG_DWORD /d 1 /f :: Disabilitato reg add "HKLM\SOFTWARE\Policies\Microsoft\PassportForWork" /v "UseCertificateForOnPremAuth" /t REG_DWORD /d 0 /f
PowerShell
# Comune: crea la chiave New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\PassportForWork' -Force | Out-Null # Opzioni (usarne solo una) # Abilitato New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\PassportForWork' -Name 'UseCertificateForOnPremAuth' -PropertyType DWord -Value 1 -Force | Out-Null # Disabilitato New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\PassportForWork' -Name 'UseCertificateForOnPremAuth' -PropertyType DWord -Value 0 -Force | Out-Null
UtenteImpostazione per account
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\PassportForWork] ; Opzioni (usarne solo una) ; Abilitato "UseCertificateForOnPremAuth"=dword:00000001 ; Disabilitato "UseCertificateForOnPremAuth"=dword:00000000
CMD
:: Opzioni (usarne solo una) :: Abilitato reg add "HKCU\SOFTWARE\Policies\Microsoft\PassportForWork" /v "UseCertificateForOnPremAuth" /t REG_DWORD /d 1 /f :: Disabilitato reg add "HKCU\SOFTWARE\Policies\Microsoft\PassportForWork" /v "UseCertificateForOnPremAuth" /t REG_DWORD /d 0 /f
PowerShell
# Comune: crea la chiave New-Item -Path 'HKCU:\SOFTWARE\Policies\Microsoft\PassportForWork' -Force | Out-Null # Opzioni (usarne solo una) # Abilitato New-ItemProperty -Path 'HKCU:\SOFTWARE\Policies\Microsoft\PassportForWork' -Name 'UseCertificateForOnPremAuth' -PropertyType DWord -Value 1 -Force | Out-Null # Disabilitato New-ItemProperty -Path 'HKCU:\SOFTWARE\Policies\Microsoft\PassportForWork' -Name 'UseCertificateForOnPremAuth' -PropertyType DWord -Value 0 -Force | Out-Null