Citrix: NetScaler applet hangs at 99% “Logging in”

When a Citrix NetScaler is configured using a graphical interface a browser is used to connect to the Citrix NetScaler. Starting NetScaler release 10 a part of the configuration is migrated from Java Applets to HTML5, but most configuration are still depending on Java Applets.

When you open a more advanced configuration the Java Applet is loaded automatically., If it hangs at 1% “Downloading Applet…” you might want to read this article.If it hangs at 99% “Logging in” continue reading.

Logging in

Read more

Citrix: NetScaler hangs at Downloading Applet….

With the release of Java Runtime Environment (JRE) 7 update 45  new security measurements are introduced. Oracle describes the impact of the updated security baseline in this blog. While security is an important topic (especially when web applications are involved) breaking applications due to raised security could result in the opposite.

In case you’re running JRE 7u51, please read this article with an update.

Downloading applet...Citrix NetScalers are managed with a web interface which uses HTML5 and Java applets. With new security measurements these applets hang at “Downloading Applet…”

At the moment of writing there are two features that need to be disabled to enable the Java Applets of the Citrix NetScaler (as described by Barry Schiffer in this article):

  • Disable Temporary Internet Files
  • Lower Security

While this solves the problem (of not being able to administer a Citrix NetScaler) is potentially creates a new: the security level is lowered for the entire JRE. While Oracle was trying to increase the security for Java Applets with this update the opposite is achieved Sad smile.  Fortunately there is a way to lower the security for specific addresses SmileRead more

Citrix: Import NetScaler (10.1 Build 120.13) on Hyper-V Server 2012R2 / 8.1

Hyper-V did not find virtual machines to import from locationI tried importing a Citrix NetScaler Virtual Appliance on a Windows 8.1 machine and received the error “Hyper-V did not find virtual machines to import from location”. Importing the same appliance on Windows Server 2012 did work.

The cause of this error is that the virtual machine is exported from a Windows Server 2008R2 server (running Hyper-V 2) and Microsoft deprecated the WMI root\virtualization namespace v1 in Windows Server 2012 (Hyper-V 3) and removed it Windows Server 2012 R2 (see TechNet).  There’s no support for the old WMI format.

Read more

Citrix PVS: Enabling KMS licensing on a vDisk

When streaming a Windows machine the Windows license can be managed by a Key Management System (KMS). Citrix describes it as follows “KMS volume licensing utilizes a centralized activation server that runs in the datacenter, and servers as a local activation point (opposed to having each system activate with Microsoft over the internet).

To ensure KMS is working correctly the Windows machine needs to be prepared for KMS, this involves setting the right license key and “re-arming” the license. Citrix has done a pretty good job describing different scenarios in CTX128276 and explaining which actions to take, but there are more steps involved.

In this article I’ll explain what steps you can take to build a PVS vDisk where licensed are managed by KMS and how to troubleshoot some known caveats.

Read more

Citrix XenApp: Sessions disconnected right after connection

When new sessions are started, either via Microsoft RDP of Citrix ICA, they are disconnected within seconds. This applies to normal users and users with administrative privileges. This problem is caused by a chain of events. One components crash leads to an ungraceful shutdown of other components leaving a garbage configuration, preventing new connections.

Read more

Configure Citrix Session Printer via PowerShell

In a previous article I explained how you can set Citrix (domain) policies via PowerShell. In one of the comments I got a question from Tony who wanted to set Session Printers. In this article I’ll explain how this is done.

In the article I will first show a quick example and then show some more detailed setting.

Read more

Virtual desktop word bingo (XenDesktop 7)

XenDesktop 7In my previous article you’ve read about my aversion against the term VDI. The introduction of Citrix XenDesktop 7 showed us that delivery of  applications and desktops from shared and private computers are now integrated in one product. This requires us to explain the difference between shared versus private instead of XenApp versus XenDesktop, so now really is the time to start using new (and proper) terminology.

In the previous virtual desktop word bingo article I’ve asked you if you think we should abandon the term VDI, 61% agreed while 26% disagreed. The response showed that a lot of readers agree the term VDI is “incorrect” but replacing the term will be tough. Nonetheless I strongly believe we, as the community / experts, should strive to replace “VDI” with more future ready terminology.

Read more

Citrix Web Interface shared configuration the right way

Configuring sites on multiple Citrix Web Interface servers can be cumbersome. It is a repetitive task that needs to be executed exactly the same on each Citrix Web Interface server. Missing one setting results in a inconsistent environment, and as we all know those situations suck to troubleshoot.

Shared Configuration

Fortunately Citrix came up with a solution: shared configurations. With shared configuration slave servers use the configuration of a master server, all the changes needs to applied once on the master servers and the slave servers inherit the same configuration.

Read more

How-to Register a VDA to a XenDesktop Controller?

There are a lot of questions about how-to register the VDA to the desired DDC or DDC’s. Citrix has its own Policies. And those policies are configurable in the Active Directory and in the Desktop Studio. Which is leading? And what are those settings? Must I use Active Directory Discovery (FarmGUID) or Registry Discovery (ListOfDDCs)?

The Setup:

My setup is simple:

  • 2x a XenDesktop Controller (XenDesktop and XenDesktop2);
  • 1x a Windows7 machine;
  • The XenDesktop Controllers are hosting there own XenDesktop farm.

Read more

You don’t need XenDesktop for a virtual desktop

Author: Ingmar Verheij

XenDesktop 7For years Citrix has a product to host applications from a centralized locations offering great flexibility and efficiency, called Citrix XenApp. In 2008 Citrix released XenDesktop, the VDI solution from Citrix. With this first release of XenDesktop it was possible to (only) publish a desktop hosted on a single user operating system (like Windows XP, Vista or 7).

Citrix has tried to choose an appropriate name for their products to help customers understand what product offers what solution (and reducing the ridiculous times they rename their products). Although this is an admirable attempt they failed to reach that goal.

A lot of customer assume that with XenApp they can (only) publish applications and with XenDesktop (only) desktops, how wrong can they be?

Read more