Configura impostazioni di connessione RPC: valore del Registro di sistema RpcUseNamedPipeProtocol e altri 1ComputerHKLM\Software\Policies\Microsoft\Windows NT\Printers\RPC
- ID criterio
- ConfigureRpcConnectionPolicy
- Ambito
- Configurazione computer
- Supportato in
- Almeno Windows Server 2016 o Windows 10
- Origine
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versione 1.0)
- Categoria
- Stampanti
Registro
RpcUseNamedPipeProtocol
REG_DWORDComputerHKLM\Software\Policies\Microsoft\Windows NT\Printers\RPC Chiave corrente
- Valore abilitato
- Dipende dal valore dell'opzione
- Elemento
- Protocollo da utilizzare per le connessioni RPC in uscita:
| Voce | Valore memorizzato |
|---|---|
| RPC su TCP | 0 |
| RPC su named pipe | 1 |
Applica con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\Printers\RPC] ; Opzioni (usarne solo una) ; RPC su TCP "RpcUseNamedPipeProtocol"=dword:00000000 ; RPC su named pipe "RpcUseNamedPipeProtocol"=dword:00000001
CMD
:: Opzioni (usarne solo una) :: RPC su TCP reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers\RPC" /v "RpcUseNamedPipeProtocol" /t REG_DWORD /d 0 /f :: RPC su named pipe reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers\RPC" /v "RpcUseNamedPipeProtocol" /t REG_DWORD /d 1 /f
PowerShell
# Comune: crea la chiave New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers\RPC' -Force | Out-Null # Opzioni (usarne solo una) # RPC su TCP New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers\RPC' -Name 'RpcUseNamedPipeProtocol' -PropertyType DWord -Value 0 -Force | Out-Null # RPC su named pipe New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers\RPC' -Name 'RpcUseNamedPipeProtocol' -PropertyType DWord -Value 1 -Force | Out-Null
RpcAuthentication
REG_DWORDComputerHKLM\Software\Policies\Microsoft\Windows NT\Printers\RPC Chiave corrente
- Valore abilitato
- Dipende dal valore dell'opzione
- Elemento
- Usa autenticazione per connessioni RPC in uscita:
| Voce | Valore memorizzato |
|---|---|
| Predefinito | 0 |
| Autenticazione abilitata | 1 |
| Autenticazione disabilitata | 2 |
Applica con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\Printers\RPC] ; Opzioni (usarne solo una) ; Predefinito "RpcAuthentication"=dword:00000000 ; Autenticazione abilitata "RpcAuthentication"=dword:00000001 ; Autenticazione disabilitata "RpcAuthentication"=dword:00000002
CMD
:: Opzioni (usarne solo una) :: Predefinito reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers\RPC" /v "RpcAuthentication" /t REG_DWORD /d 0 /f :: Autenticazione abilitata reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers\RPC" /v "RpcAuthentication" /t REG_DWORD /d 1 /f :: Autenticazione disabilitata reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers\RPC" /v "RpcAuthentication" /t REG_DWORD /d 2 /f
PowerShell
# Comune: crea la chiave New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers\RPC' -Force | Out-Null # Opzioni (usarne solo una) # Predefinito New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers\RPC' -Name 'RpcAuthentication' -PropertyType DWord -Value 0 -Force | Out-Null # Autenticazione abilitata New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers\RPC' -Name 'RpcAuthentication' -PropertyType DWord -Value 1 -Force | Out-Null # Autenticazione disabilitata New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers\RPC' -Name 'RpcAuthentication' -PropertyType DWord -Value 2 -Force | Out-Null