Link to home
Start Free TrialLog in
Avatar of GileadIT
GileadITFlag for United States of America

asked on

Remove Session Host server from RDS 2012 R2 Collection

Hello,

We have recently configured a new RDS 2012 R2 Collection (two of them actually) using a single management server for the Connection Broker, Licensing and Web Access (though we do not use the Web Access) and we do not use a Gateway.

I created a collection of 2 RDSH servers to test things out with, and one of them had a bunch of software tested on it and configuration changes made and un-made, etc, such that I would like to remove it, rebuild it from scratch, and put it back into the collection.  Turns out that I can't just delete it from AD, and I can't simply remove it from the ConnectionBroker Server Manager interface, because then I can't manage anything to do with the collection.  However, when I go to the collection, select the Session Host in question, go to Tasks and select Remove RD Session Host server and try to remove it, I get an error that starts off with

"System.Management.ManagementException: Generic failure" with the stack trace below.  Is there another way to remove Session host servers?  Is this a new bug?

Any help is greatly appreciated.  Thank you!
User generated image
ASKER CERTIFIED SOLUTION
Avatar of Mahesh
Mahesh
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of GileadIT

ASKER

Yes, that cmdlet does work.  It doesn't appear to cause any errors either.  I actually found that and tested it out right before leaving the office yesterday, but since you provided the answer and no one else even posted, I'm happy to give you the points.