How to change the hostname of an RDS session host server
You have an existing Remote Desktop Services (RDS) collection comprising x number of session hosts and you need to change the hostname of any of these session hosts. This KB article provides instructions on how to change the hostname of an RDS session host server. In a separate KB article, we provide instructions on how to change the hostname of a Citrix Virtual Apps and Desktops server.
Solution
Section titled “Solution”This procedure has been tested in Windows Server 2019 RDS but it would most likely work in RDs 2012 R2 onwards. The procedure is required because the RDS connection broker database (either WID or SQL Server) is not automatically updated if the RDS session host server hostname is changed outside the RDS topology.
Follow the process below for renaming an RDS Session Host server:
-
Open Server Manager and add all RDS related servers, in order to be able to manage the RDS topology.
-
Remove the session host server from the RDS Session Collection.
-
Remove the session host server from the RDS top level topology.
-
Change the hostname in the OS of the session host server in question (sysdm.cpl command) and reboot.
-
Come back to the RDS Server Manager topology and add the RDS server again by its new domain name.
In case you receive an error about missing RDS deployment, following instructions at KB article https://docs.cloudschool.ai/kb/rds-error-a-remote-desktop-services-deployment-does-not-exist-in-the-server-pool/.
4. TRACE-AI Execution Workflow
Section titled “4. TRACE-AI Execution Workflow”- Triage: Review monitoring dashboards or error metrics for initial anomaly spikes or timeout signatures.
- Record Evidence: Export service diagnostic logs, event viewers, or failure traces.
- Analyze: Correlate error signatures against known infrastructure or configuration limits.
- Correlate: Match active incident timeline against recent deployments or scale events.
- Execute & Verify: Apply corrective remediation steps and verify telemetry baseline recovery.
5. Vendor Documentation & Validation Guardrails
Section titled “5. Vendor Documentation & Validation Guardrails”- Authority Reference: Cross-reference configuration changes against official vendor documentation.
- Validation Gate: Require staging environment testing and Human-in-the-Loop SME approval before production changes.