en-US windows computer

Configure RPC listener settings

Verified with Windows 11 25H2 — updated on July 30, 2026

Windows 11 25H2

Supported on: At least Windows Server 2016, Windows 10

Path in the GPO console

Computer Configuration\Administrative Templates\Printers

Description

This policy setting controls which protocols incoming RPC connections to the print spooler are allowed to use. By default, RPC over TCP is enabled and Negotiate is used for the authentication protocol. Protocols to allow for incoming RPC connections: -- "RPC over named pipes": Incoming RPC connections are only allowed over named pipes -- "RPC over TCP": Incoming RPC connections are only allowed over TCP (the default option) -- "RPC over named pipes and TCP": Incoming RPC connections will be allowed over TCP and named pipes Authentication protocol to use for incoming RPC connections: -- "Negotiate": Use the Negotiate authentication protocol (the default option) -- "Kerberos": Use the Kerberos authentication protocol If you disable or do not configure this policy setting, the above defaults will be used.

Registry

HKLM Software\Policies\Microsoft\Windows NT\Printers\RPC

More options available

Options

Protocols to allow for incoming RPC connections:
RpcProtocols enum
  • RPC over named pipes -> 3
  • RPC over TCP -> 5 (default)
  • RPC over named pipes and TCP -> 7
Authentication protocol to use for incoming RPC connections:
ForceKerberosForRpc enum
  • Negotiate -> 0 (default)
  • Kerberos -> 1

MDM / Intune (CSP)

./Device/Vendor/MSFT/Policy/Config/Printers/ConfigureRpcListenerPolicy
Device Since Windows 11, version 22H2 [10.0.22621] and later Official mapping (Microsoft Learn)

Microsoft Learn documentation Mapping data: Microsoft Learn (CC BY 4.0)

Export Builder

BETA

Configure the state, scope and options, then generate .reg, PowerShell, Intune and SCCM outputs — or add the setting to a multi-setting collection.

These exports write the registry — this is not a managed GPO.

.reg file

Windows Registry Editor Version 5.00

; Exported from gporais.com
; Policy: Configure RPC listener settings
; State: Enabled
; Supported on: At least Windows Server 2016, Windows 10

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\Printers\RPC]
"RpcProtocols"=dword:00000005
"ForceKerberosForRpc"=dword:00000000
More formats (PowerShell, Intune, SCCM)

PowerShell

# Exported from gporais.com
# Policy: Configure RPC listener settings
# State: Enabled
# Supported on: At least Windows Server 2016, Windows 10

$path = 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers\RPC'
New-Item -Path $path -Force | Out-Null
Set-ItemProperty -Path $path -Name 'RpcProtocols' -Value 5 -Type DWord
Set-ItemProperty -Path $path -Name 'ForceKerberosForRpc' -Value 0 -Type DWord

Building a multi-setting collection? Add this setting and generate combined .reg / PowerShell / GPO scripts.

Open the Builder

Embed this policy on your site

What to embed
Theme

Adds one script line: the theme follows your site’s appearance and the height fits the content. If your site blocks scripts, the embed follows the visitor’s system theme.

Preview