Missing farm and “Configure and run discovery” in XenApp 5 Delivery Services Console

Gradually rebuilding servers to upgrade from Presentation Server 4.5 R04 to XenApp 5.0 FP3 R06, both on Windows Server 2003 SP2. Management consoles were installed onto the terminal servers from the Administration folder of the XA5_FP3_ENT_ML1 download.

Have found that Delivery Services Console (was called Access Management Console – and still is depending where you look…) will not show anything useful, especially the “configure and run discovery” option, and the XenApp entry in the left-pane.

This is a known issue, caued by various Citrix DLLs not being registered properly. Following through the forum posting stuff I skipped the .Net 2.0 repair stuff and went straight for checking CLSID registry keys. After finding the first six were missing I wrote a script to register all the DLLs mentioned, excluding the deprecated Web Interface and Licensing ones.

Now all sorted.

For info, the VBScript I use to register the DLLs is as follows:

oShell.Run "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\regasm /codebase ""C:\Program Files\Common Files\Citrix\Presentation Server - Administration Snap-in\PSE.Core.dll""",0,True
oShell.Run "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\regasm /codebase ""C:\Program Files\Common Files\citrix\Access Management Console - Diagnostics\CdfExtension.dll""",0,True
oShell.Run "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\regasm /codebase ""C:\Program Files\Common Files\citrix\Access Management Console - Dashboard Watcher\DWExtension.dll""",0,True
oShell.Run "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\regasm /codebase ""C:\Program Files\Common Files\citrix\Access Management Console - Knowledge Base\KnowledgeBaseExtension.dll""",0,True
oShell.Run "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\regasm /codebase ""C:\Program Files\Common Files\citrix\Access Management Console - Hotfix Management\HotfixExtension.dll""",0,True
oShell.Run "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\regasm /codebase ""C:\Program Files\Common Files\citrix\Access Management Console - Legacy Tools\MMCPlugIns\LegacyToolsExt\CMCLaunchExtension.dll""",0,True
oShell.Run "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\regasm /codebase ""C:\Program Files\Common Files\citrix\Access Management Console - Report Center\ReportCentreExtension.dll""",0,True

If you’re running x64 the path to the DLLs is just Program Files (x86) instead of Program Files.
For people not familiar with VBScript, you need to have created the oShell object before using the above script, e.g.:


Dim oShell
Set oShell = CreateObject("WScript.Shell")

This entry was posted in Scripting, XenApp. Bookmark the permalink.

10 Responses to Missing farm and “Configure and run discovery” in XenApp 5 Delivery Services Console

  1. Chris Charbonneau says:

    This worked like a charm – the fix on the Citrix site never worked for me.

  2. Matt says:

    Absolutely amazing this is the only fix out there, I had the problem in xenapp 4.5 on W2k3 R2 64 bit and this worked for that version as well, I had to change the drive letter since the drive remapping and append the (x64) to the line of code.

    Thank you Thank you, I just saved $400 calling their support.

  3. Bill says:

    awesome script man!!! mind if I repost on my Blog?

  4. Ryo says:

    Thanks. This worked on PS 4.5 RUP 7 as well.

  5. Satnam says:

    Worked like a wonder :)

  6. Devin says:

    This worked perfectly on a Windows 7 x64 machine connecting to a XA 5 farm. I just installed the latest console and ran the script. Thank you for posting this great information on a Citrix product.

  7. Rajeev says:

    thanks a lot.. worked great..

  8. Yonderbox says:

    Thanks, I remembered the issue, checked old notes, and found CTX125827. Memories made my eyes roll. Your VBScript was simpler and faster.
    BTW, I looked for ways of doing this with Powershell, and Google supplied articles that detailed how to do this WITHOUT regasm. It seems goofy to me that I should dedicate more time and energy fixing a one-off problem. I could spend my time learning Powershell. Right?

  9. Fazal says:

    Thanks dear, great job.
    It worked for me…..

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s