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 usedIf you disable or do not configure this policy setting dynamic TCP ports are used.
Solution
Policy Path: Printers Policy Setting Name: Configure RPC over TCP port