I installed RDS server in windows 2012 R2. Then as business need, we renamed servername1 to servername2. In Server Manager - Remote Desktop Services, there shows error "The following server in this deployment are not part of thee server pool"
1. servername1.domainname.com
The servers must be added to the server pool.
I tried to fix this problem by running powershell to remove servernmame1 and add servername2. but each get write error. Any help to result these are highly appreciated!
xception of type 'Microsoft.RemoteDesktopServices.Common.RDManagementException' was thrown.
+ CategoryInfo : NotSpecified: (:) [Write-Error], RDManagementException
+ FullyQualifiedErrorId : Microsoft.RemoteDesktopServices.Common.RDManagementException,Micros
oft.PowerShell.Commands.WriteErrorCommand
+ PSComputerName : localhost
Add-RDServer : The server is joined to the deployment as a RD Session Host server.
The following servers did not validate successfully.
EQRCTX11NEW.EQRWORLD.COM
At line:1 char:1
+ Add-RDServer -Server "servername1.domainname.com" -Role "RDS-RD-SERVER"
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Add-RDServer
- John