Remote Desktop Services tools are not functional after you remove a server from Server Manager

Applies to: Windows Server 2012 StandardWindows Server 2012 StandardWindows Server 2012 Datacenter More

Symptoms


In a Windows Server 2012 environment, you remove a server from the Server Manager "Servers" pool that was part of a Remote Desktop Services collection. However, you don't remove the server from the Remote Desktop Services deployment (the list of servers on the "Collections" page). When you click the Remote Desktop Services section in this situation, you receive an error message that resembles the following:

The following servers in this deployment are not part of the server pool:
1. [server_name]
The servers must be added to the server pool.

Cause


Although the server is still part of the Remote Desktop Services deployment, it's no longer registered with Server Manager.

Resolution


You can add the server back to the Server Manager "Servers" pool. However, if the server was decommissioned or is otherwise permanently offline, you can use PowerShell to remove it from the Remote Desktop Services deployment.

To obtain a list of servers in the deployment and their roles, use the Get-RDServer cmdlet. Match the server name to the server name that's listed in the error message. Also note the roles that are listed in the output of Get-RDServer. Then, use the Remove-RDServer cmdlet to remove the server from the deployment.

Example:

PS C:\> Get-RDServer

Server Roles
------                                             -----
rdhost1.contoso.com                                {RDS-RD-SERVER, RDS-CONNECTION-BROKER, RDS-WEB-ACCESS}
rdhost2.contoso.com                                {RDS-RD-SERVER}
PS C:\> Remove-RDServer rdhost2.contoso.com RDS-RD-SERVER
When this process is complete, restart Server Manager. The Remote Desktop Services section should be functional again.

More Information


For more information about remote desktop cmdlets in Windows PowerShell, see http://technet.microsoft.com/en-us/library/jj215451(v=wps.620).aspx.