Remove a Remote Desktop Server from a deployment.

Good afternoon all.  I figured I would take a few minutes for a quick RDS (Remote Desktop Services) tip.  There are some instances where it may be necessary to remove a role from a RDS server or remove a whole server.  You might think this is as easy as just removing the installed role(s).  There is one additional step though if you want the server to be removed from the list of Deployment Servers.

rds-remove-server

To remove a role from a server do the following:
1. Launch a PowerShell window as administrator2. Run: Remove-RDServer -Server “RDS.mydomain.com” -Role “RDS-Licensing”
3. Run: Remove-WindowsFeature RDS-Licensing

The above example will remove the RDS licensing role from the deployment and the role from the server.  The command can be changed to remove other role services.  You can run Get-Help Remove-RDServer for full details or go here.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s