Aug 07

Citrix XenApp: Sessions disconnected right after connection

Ingmar VerheijComments Off on 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.

Continue reading »

Jul 05

“Management Interface: VHD Error” with PVS and DFSR

Ingmar VerheijComments Off on “Management Interface: VHD Error” with PVS and DFSR

You might encounter the following error when you use Microsoft DFSR to replicate the vDisk store in your Citrix PVS when uploading a vDisk:

Management Interface: VHD Error

Using a staging vDisk store helps preventing this error.

Continue reading »

Jun 10

Citrix Mobility Paris 13

Ingmar VerheijComments Off on Citrix Mobility Paris 13

On April 4th this year Citrix announced that no Synergy would be held in Europe, unlike previous years, and a new approach for the customer conference strategy was introduced: multiple regional mobility events.The article insinuated that Synergy Europe was replaced with the local conferences, starting with three mobility events (in Paris, Munich and London).

Today I’ve attended the first Mobility event in Paris with fellow peers Kees Baggerman (@KBaggerman) and Barry Schiffer (@barryschiffer) and I would like to share my experiences with you.

Continue reading »

May 30

Redirect Registry by Modifying .NET Executable

Remko WeijnenComments Off on Redirect Registry by Modifying .NET Executable

Yesterday I was troubleshooting an application that was migrated to Citrix XenApp.

The application is able to use a high precision scale which is attached to the client pc’s com port. This com port is redirected to XenApp.

While testing users reported several issues, let’s have a look at them.

Error configuring COM Port
Within the application the comport to which the scale is connected must be configured:

De compoort lezer staat uit

After pressing "Registreer" to register the new com port the following error message was shown

Er staat geen compoort in het register. Registreer eerste de juiste compoort

Continue reading »

Apr 21

Citrix Web Interface shared configuration the right way

Ingmar VerheijComments Off on 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.

Continue reading »

Mar 19

Scriptable Citrix Password Encoder

Remko WeijnenComments Off on Scriptable Citrix Password Encoder

A while ago I published a tool to Encode and Decode Citrix passwords. Today I am publishing a small update to this tool that makes it scriptable by adding a COM interface.

If you start the tool without parameters you will get the GUI, just like before:

Encrypt | Decrypt Password | Hash | Citrix | Ctx1

To use the COM interface you first need to register the executable with the /regserver switch:

CtxPass /RegServer

After the registration you can call it using any language that supports COM. To get you started I wrote a few examples

Continue reading »

Mar 11

The case of the COM Port Redirection

Remko WeijnenComments Off on The case of the COM Port Redirection

SecutestOne of my colleagues asked me to assist in troubleshooting an application called SmartWare FM running on Citrix XenApp.

This application reads data from an external device called SECUTEST.

The device is connected to a COM port which is redirected to the XenApp session. In contrast to Microsoft Remote Desktop Services COM ports are not automatically redirected in XenApp but need to be mapped via eg a logonscript (NET USE COM1: \\Client\COM1🙂 or using UEM.

In my case the COM port was mapped with RES Workspace Manager:

image

Continue reading »

Feb 08

Author:

With the release of Citrix XenServer 5.6 Citrix also released a new virtual appliance dedicated to licensing, the License Server VPX. The appliance is available since July 2010, in the 2.5 years the appliance is available only Citrix XenServer is supported.

Citrix ReadyIf you’re company is using VMware vSphere (or Microsoft Hyper-V) you’re unable to use the virtual appliance. Citrix refuses to release an appliance for other hypervisors then their own, let alone supporting other hypervisors. Technically it shouldn’t be too difficult to support other hypervisors (some people tried), they already do for the NetScaler VPX.

Continue reading »

Feb 05

Author: Ingmar Verheij

In a previous article I wrote that for streaming vDisks to endpoint you don’t necessarily need PXE, you can also attach an ISO to the virtual machine (“Who needs PXE for Citrix Provisioning Services?”). Although this eliminates the dependency for a PXE server (which is challenging to make high available), mounting an ISO file to the CD rom of a virtual machine creates another problem in some hypervisors.

When a hypervisor host needs maintenance a (storage) vMotion is a good way of moving all systems with no downtime. Mounting an ISO file breaks the ability to vMotion with some hypervisors.

Citrix XenServer and VMware vSphere 5 (Hyper-V I’m not sure of) can mount ISO files from shared storage, so this does not apply to all situations.

Fortunately the bootstrap can also be placed on a virtual hard disk (VHD). In this article I’ll guide you step-by-step how this is done. In this example I’m using VMware vSphere 5 but most steps are equal for other hypervisors.

Continue reading »

Jan 09

Citrix: Export to network drive really slow

Sander VisComments Off on Citrix: Export to network drive really slow

For one of our customers I was asked to troubleshoot an application that exports data to several file types, including Microsoft Excel’s XLS file type.

Environment

The client runs Citrix XenApp 5 on Windows Server 2003 (x86). All user homedrives are mapped to the H-drive.

Problem

The application lets you perform queries on your Oracle database, analyze and format the results and prepare those for presentation. When the application exports an XLS-file to the H-drive, it freezes for 5 minutes and then responds normally again. However, when the same application exports a TXT- or CSV-file to the same drive, it freezes for just a few seconds.

Continue reading »