Change RDWeb/RD Gateway Address

Portsman 6 Reputation points
2022-04-12T05:30:50.373+00:00

I am deploying a new RDWeb and RD Gateway with new hosts as a farm. Testing and getting single sign on working for apps to launch. On opening Apps/launching RDP file users are prompted for login when connecting to the RD Gateway I believe.

Comparing the RDP files in notepad I note

Single Sign On Working:

full address:s:rdweb.domain.vic.gov.au
workspace id:s:rdweb.domain.vic.gov.au
alternate full address:s:rdweb.domain.vic.gov.au

Single Sign On Not Working/Prompting for login:
full address:s:rdsgateway/rdweb host.DOMAIN.LOCAL
workspace id:s:rdsgateway/rdweb host.Domain.local
alternate full address:s:rdsgateway/rdweb host.DOMAIN.LOCAL

What setting dicatates that "full address" and "workspace id" fields presented in the RDP files to clients? I have compared between the old and new can't figure anything different in the Server Manager and settings below there. I know I set this 5 years ago or so and can't seem to find where the setting is now.

RDP to the RD/Remote App hosts is working fine its just that setting above should have the FQDN matching certificate I figure.

Remote Desktop
Remote Desktop
A Microsoft app that connects remotely to computers and to virtual apps and desktops.
4,628 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Portsman 6 Reputation points
    2022-04-12T05:53:31.317+00:00

    The only solution I could find was from old forum posts referring to a Set-RDPublishedName.ps1 custom script that has disappeared from the Technet gallery. Luckily found below:

    https://github.com/dwj7738/My-Powershell-Repository/blob/master/Scripts/Set-RDPublishedName.ps1

    This can't be real life though. How can you achieve this without custom scripts and stuff? SSO can't work if the "Published Name" or these addresses don't match the certificate...? But there is no way to change them to match the certificate?? Makes no sense. What am I missing here nothing is documented theres no other admins jumping up and down about this missing??

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.