How to change the Remote Gateway Host Address and Port in RDP file\shortcut for Gateway

Recently during a DR Test we wanted to change the Address on the RDP file that was being downloaded from the Remote Desktop Gateway.

Someone had put together a nicescript that can do it here : 

https://gallery.technet.microsoft.com/Change-published-FQDN-for-2a029b80

This changed the internal server 

However the file still has the old address for RD Gateway server ( in this line : gatewayhostname:s: )

You can change this using powershell per below on the RDP Connection Broker

Import-Module RemoteDesktop

Set-RDSessionCollectionConfiguration -CollectionName “Finance Staff RDP” -CustomRdpProperty “gatewayhostname:s:office.domain.com:444

Changes this your External Server

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...