Skip to main content
sisrayilov
Staff
July 9, 2025

Technical Tip: How to change the 'System Dynamic Allocation Port Range' in TS agent settings

  • July 9, 2025
  • 0 replies
  • 911 views
Description

 

This article describes  how to modify the 'System Dynamic Allocation Port Range' in TS agent settings.

 

Scope

 

FortiGate, FSSO, TS agent.

 

Solution

 

By default, the TS agent gets the 'System Dynamic Allocation Port Range' according to the Windows Default Dynamic Ports (depending on the value that is set by default, which can be verified on cmd by the command 'netsh int ipv4 show dynamicport tcp').


Related document:
The default dynamic port range for TCP/IP has changed since Windows Vista and in Windows Server 2008

Screenshot 2025-07-09 104028.png

 

cmd.png

 
That port range can be modified through the command 'netsh int ipv4 set dynamicport tcp start=x num=x' on the server where the TS agent is installed as below.

cmd1.png

 
It will automatically reflect the TS agent settings.

ts agent.png

 

Related article:

Troubleshooting Tip: Terminal Server Agent giving the error 'Port Allocation Pool conflicts with System Dynamic Allocation Port Range' on Citrix server