Configure RPC over TCP port
Supported on: At least Windows Server 2016, Windows 10
Registry
HKLM
Software\Policies\Microsoft\Windows NT\Printers\RPC Options
RpcTcpPort decimal
- range ?-65535 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.