RPC-verbindingsinstellingen configureren: registerwaarde RpcUseNamedPipeProtocol en 1 meerComputerHKLM\Software\Policies\Microsoft\Windows NT\Printers\RPC
- Beleids-ID
- ConfigureRpcConnectionPolicy
- Bereik
- Computerconfiguratie
- Ondersteund op
- Minimaal Windows Server 2016, Windows 10
- Bron
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versie 1.0)
- Categorie
- Printers
Register
RpcUseNamedPipeProtocol
REG_DWORDComputerHKLM\Software\Policies\Microsoft\Windows NT\Printers\RPC Huidige sleutel
- Waarde bij ingeschakeld
- Afhankelijk van de waarde van de optie
- Element
- Protocol dat moet worden gebruikt voor uitgaande RPC-verbindingen:
| Item | Opgeslagen waarde |
|---|---|
| RPC via TCP | 0 |
| RPC via named pipes | 1 |
Toepassen met .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\Printers\RPC] ; Opties (gebruik er maar één) ; RPC via TCP "RpcUseNamedPipeProtocol"=dword:00000000 ; RPC via named pipes "RpcUseNamedPipeProtocol"=dword:00000001
CMD
:: Opties (gebruik er maar één) :: RPC via TCP reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers\RPC" /v "RpcUseNamedPipeProtocol" /t REG_DWORD /d 0 /f :: RPC via named pipes reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers\RPC" /v "RpcUseNamedPipeProtocol" /t REG_DWORD /d 1 /f
PowerShell
# Algemeen: sleutel maken New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers\RPC' -Force | Out-Null # Opties (gebruik er maar één) # RPC via TCP New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers\RPC' -Name 'RpcUseNamedPipeProtocol' -PropertyType DWord -Value 0 -Force | Out-Null # RPC via named pipes 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 Huidige sleutel
- Waarde bij ingeschakeld
- Afhankelijk van de waarde van de optie
- Element
- Verificatie gebruiken voor uitgaande RPC-verbindingen:
| Item | Opgeslagen waarde |
|---|---|
| Standaard | 0 |
| Verificatie ingeschakeld | 1 |
| Verificatie is uitgeschakeld | 2 |
Toepassen met .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\Printers\RPC] ; Opties (gebruik er maar één) ; Standaard "RpcAuthentication"=dword:00000000 ; Verificatie ingeschakeld "RpcAuthentication"=dword:00000001 ; Verificatie is uitgeschakeld "RpcAuthentication"=dword:00000002
CMD
:: Opties (gebruik er maar één) :: Standaard reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers\RPC" /v "RpcAuthentication" /t REG_DWORD /d 0 /f :: Verificatie ingeschakeld reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers\RPC" /v "RpcAuthentication" /t REG_DWORD /d 1 /f :: Verificatie is uitgeschakeld reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers\RPC" /v "RpcAuthentication" /t REG_DWORD /d 2 /f
PowerShell
# Algemeen: sleutel maken New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers\RPC' -Force | Out-Null # Opties (gebruik er maar één) # Standaard New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers\RPC' -Name 'RpcAuthentication' -PropertyType DWord -Value 0 -Force | Out-Null # Verificatie ingeschakeld New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers\RPC' -Name 'RpcAuthentication' -PropertyType DWord -Value 1 -Force | Out-Null # Verificatie is uitgeschakeld New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers\RPC' -Name 'RpcAuthentication' -PropertyType DWord -Value 2 -Force | Out-Null