Quantcast
Channel: Remote Desktop Services (Terminal Services) forum
Viewing all articles
Browse latest Browse all 1106

Unable to add or remove RDS server using PowerShell command

$
0
0

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


Viewing all articles
Browse latest Browse all 1106

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>