Citrix XenApp – Cannot Remove from Farm

Occasionally when administrating or building a Citrix XenApp server farm you may find the need to to remove your server from the farm but then you cannot remove the server. You may get the following error message “Server not available”.

Luckily there is a fairly simple registry fix that you can do to simplify things and allow the disjoin from the farm.
Locate the following registry key and change the value from 1 to 0

HKEY_LOCAL_MACHINESOFTWAREWow6432NodeCitrixIMAStatus
“Joined“=dword:00000000

 
Then run:

C:Program Files (x86)CitrixXenAppServerConfigXenAppConfigConsole.exe /ExecutionMode:Leave
 

After the registry fix and the running the command you’ll be able to remove the server from the farm and then join an existing farm or create a new one again.
 


2 Responses to Citrix XenApp – Cannot Remove from Farm

  1. Dude this saved us the yesterday when we reverse imaged some systems and they got all banged up. Thanks for the post. Keep it up!!!

    Dave Claussen

  2. Worked like a treat! Many thanks.