Configure RPC over TCP port
- Policy ID
- ConfigureRpcTcpPort
- Scope
- Computer Configuration
- Supported on
- At least Windows Server 2016, Windows 10
- Source
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (version 1.0)
- Category
- Printers
Description
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.
Options
Registry
ComputerHKEY_LOCAL_MACHINE
- RpcTcpPortREG_DWORD