Richiedi PIN per l'associazione: valore del Registro di sistema RequirePinForPairingComputerHKLM\Software\Policies\Microsoft\Windows\Connect
- ID criterio
- RequirePinForPairing
- Ambito
- Configurazione computer
- Supportato in
- Almeno Windows 10
- Origine
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versione 1.0)
- Categoria
- Componenti di Windows › Connetti
Registro
RequirePinForPairing
-ComputerHKLM\Software\Policies\Microsoft\Windows\Connect Chiave corrente
RequirePinForPairing
REG_DWORDComputerHKLM\Software\Policies\Microsoft\Windows\Connect Chiave corrente
- Valore abilitato
- Dipende dal valore dell'opzione
- Elemento
- Scegli una delle azioni seguenti
| Voce | Valore memorizzato |
|---|---|
| Mai | 0 |
| Prima volta | 1 |
| Sempre | 2 |
Applica con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Connect] ; Opzioni (usarne solo una) ; Mai "RequirePinForPairing"=dword:00000000 ; Prima volta "RequirePinForPairing"=dword:00000001 ; Sempre "RequirePinForPairing"=dword:00000002
CMD
:: Opzioni (usarne solo una) :: Mai reg add "HKLM\Software\Policies\Microsoft\Windows\Connect" /v "RequirePinForPairing" /t REG_DWORD /d 0 /f :: Prima volta reg add "HKLM\Software\Policies\Microsoft\Windows\Connect" /v "RequirePinForPairing" /t REG_DWORD /d 1 /f :: Sempre reg add "HKLM\Software\Policies\Microsoft\Windows\Connect" /v "RequirePinForPairing" /t REG_DWORD /d 2 /f
PowerShell
# Comune: crea la chiave New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\Connect' -Force | Out-Null # Opzioni (usarne solo una) # Mai New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Connect' -Name 'RequirePinForPairing' -PropertyType DWord -Value 0 -Force | Out-Null # Prima volta New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Connect' -Name 'RequirePinForPairing' -PropertyType DWord -Value 1 -Force | Out-Null # Sempre New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Connect' -Name 'RequirePinForPairing' -PropertyType DWord -Value 2 -Force | Out-Null