How to customize PSM Server's RDP Port

How to customize PSM Server's RDP Port

86
Created On 11/10/26 11:02 AM - Last Modified 11/10/26 12:55 PM


Objective


How to customize PSM Server's RDP listening Port ?

Environment


9.9.5;10.0;10.1;10.2;10.3;10.4;10.5

Procedure


Below changes are required

1 From the Windows RDS server (PSM ) service, please update  listening port. You can find the Microsoft article as below.

1)Start the registry editor. (Type regedit in the Search box.)
2) Navigate to the following registry subkey: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp\PortNumber
3) Click Edit > Modify, and then click Decimal.
4)Type the new port number, and then click OK.
5) Close the registry editor, and restart your computer.
The next time you connect to this computer by using the Remote Desktop connection, you must type the new port. If you're using a firewall, make sure to configure your firewall to permit connections to the new port number.

Reference
https://docs.microsoft.com/en-us/windows-server/remote/remote-desktop-services/clients/change-listening-port

2) From PVWA side.

 Go to PVWA--Options--Privileged Session Management--Configured PSM Servers--Find the target PSM server --Connection Details--Port

 update the port for your custom port

3) In case Load Balancer  is used, please set LB to forward the right port as well.


Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000001RZJCA2&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail