Close-up of Vikash's eyes behind his favourite dark-rimmed glasses About Roy

How to remove XenDesktop DDC5 gracefully from the XD5 farm

In my previous blog I mention hard way to remove stale DDC from XD database.

Launch the Desktop Studio and highlight controllers as shown below. Select the controller you want to remove and choose "Remove Controller"

How to remove XenDesktop DDC5 gracefully from the XD5 farm — screenshot 1

This will prompt for action to update Database . Choose "NO " here How to remove XenDesktop DDC5 gracefully from the XD5 farm — screenshot 2

This will prompt for generating SQL script which needs to be run on SQL server database

How to remove XenDesktop DDC5 gracefully from the XD5 farm — screenshot 3

Script looks like this . Copy this script

How to remove XenDesktop DDC5 gracefully from the XD5 farm — screenshot 4

And then choose DDC database on SQL manager . Right click and select new script . Paste  it from previous step and run "Execute"

How to remove XenDesktop DDC5 gracefully from the XD5 farm — screenshot 5

Once the script is ran then it will give following message

How to remove XenDesktop DDC5 gracefully from the XD5 farm — screenshot 6

Once Desktop Studio is update , controller will be removed

How to remove XenDesktop DDC5 gracefully from the XD5 farm — screenshot 7

Run powershell command Get-BrokerController and confirm that other controller is out completely.

How to remove XenDesktop DDC5 gracefully from the XD5 farm — screenshot 8

Comments

Adam said…
Thank you that helped a lot