To decommission RD Session Hosts from an existing RAS Farm please do the following:
- Go to RAS Console → Farm → RD Session Hosts;
- Select the servers that should be decommissioned, right-click on them and click Delete:
- If you receive error message like Cannot delete 'SERVERNAME' because it is in use by: Published item: #ID.NAME,
please delete the mentioned published items or change their properties to use some other RDS Hosts:
To do do, please proceed to RAS Console → Publishing → Published Resources and edit the affected published items:
- Once there are no more items published from the RD Session Hosts, repeat Step 2.
The servers will be removed from the farm, RAS RDSH Agent will keep running on them but will not connect to any Publishing Agent. You will be able to add the server to another farm if needed without reinstalling RAS RDSH Agent.
If you want to uninstall RAS completely on the server, please follow this KB article: https://kb.parallels.com/en/123058