Policy
Configure RPC over TCP port
Windows 11 25H2
Policy overview
Key metadata and intent for this policy.
Supported OS tags: Windows10, Windows10RT, Windows11, WindowsServer2016
This policy setting controls which port is used for RPC over TCP for incoming connections to the print spooler and outgoing connections to remote print spoolers. By default dynamic TCP ports are used. RPC over TCP port: -- The port to use for RPC over TCP. A value of 0 is the default and indicates that dynamic TCP ports will be used If you disable or do not configure this policy setting, dynamic TCP ports are used.
Registry values
How enabled and disabled states update the registry.
No explicit registry values are set for enabled or disabled states.
Policy elements
Inputs and configuration options exposed by this policy.
| Element | Type | Registry mapping | Constraints & behavior |
|---|---|---|---|
RPC over TCP port: ID RpcTcpPort | decimal | HKLM\Software\Policies\Microsoft\Windows NT\Printers\RPC\RpcTcpPort Type REG_DWORD | Range: ? to 65535 |
Other policies in this category
Explore related policies at the same level.
- ComputerActivate Internet printingWindows 2000 only
- ComputerAdd Printer wizard - Network scan page (Managed network)At least Windows Vista
- ComputerAdd Printer wizard - Network scan page (Unmanaged network)At least Windows Vista
- ComputerAllow job name in event logsAt least Windows Server 2012, Windows 8 or Windows RT
- ComputerAllow Print Spooler to accept client connectionsAt least Windows Server 2003
- ComputerAllow printers to be publishedAt least Windows 2000
- ComputerAllow pruning of published printersAt least Windows 2000
- ComputerAlways rasterize content to be printed using a software rasterizerAt least Windows Server 2012, Windows 8 or Windows RT
- ComputerAlways render print jobs on the serverAt least Windows Vista
- ComputerAlways send job page count information for IPP printersAt least Windows Server 2016, Windows 10
- ComputerAutomatically publish new printers in Active DirectoryWindows Server 2003, Windows XP, and Windows 2000 only
- ComputerChange Microsoft XPS Document Writer (MXDW) default output format to the legacy Microsoft XPS format (*.xps)At least Windows Server 2012, Windows 8 or Windows RT