Cannot remove an RD Host from an RDS deployment

Symptoms

Assume that you try to remove a Remote Desktop Session Host (RD Session Host) or Remote Desktop Virtualization Host (RD Virtualization Host) server from your Remote Desktop Services (RDS) deployment. If the target server was already deleted from Active Directory, you may receive the following error message:
Could not remove the configuration. Object reference not set to an instance of an object.

Cause

This issue occurs because the removal operation tries to contact the server in order to remove the Connection Broker from the RDS Management Servers internal group. The operation fails because the computer object cannot be resolved in Active Directory.

Resolution

To safely remove the server from your RDS deployment, contact Microsoft Customer Support Services. For a complete list of Microsoft Customer Support Services telephone numbers and information about support costs, visit the following Microsoft website:Important We do not recommend that you manually edit the database that is used by the RDS deployment.
Properties

Article ID: 2925854 - Last Review: 12 Feb 2014 - Revision: 1

Feedback