Site Loader

Recently I found a very interesting blog about an automated installation of a RDS Session Host farm 2016 from @citrixguyblog:

I thought this is cool and exactly what I was looking for! So setup my home lab for HA mode.

• 2x RDS Session Host
• 2x RDS Broker
• 2x RDS WebAccess
• 2x RDS Gateway
• 1x RDS Licensing

I ran into a strange issue for adding the second broker:

All test servers where made of 1 syspreped vhdx file. So I can assure you, the patch level and the windows version are exactly the same.
So why is it not the same version? Did I do something wrong? Checked everything I could, and in my opinion I did everything by the book.

After rebuilding my home lab 10 times. Run the script line by line until I reached the problem line in PowerShell. Checked everything again, run the peach of code and it still gives me this error… not again!
Started the server manager GUI and opened remote desktop section, added the second broker with the GUI. That worked! What the f*** was my first reaction, Why?

After some research I found a proper solution. First install the RDS-Connection-Broker role then re-run add-RDServer code. In my script it now looks like this:

I also made some other changes and refactored the code of @citrixguyblog. You can find these changes on github as well