Posts Tagged ‘rdp file’

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

Import-Module RemoteDesktop

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

Changes this your External Server

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)