Remko Weijnen's Blog (Remko's Blog)

About Terminal Server, Citrix, Delphi and other stuff

Archive for the ‘Citrix’ Category

Convert Citrix License Server VPX to OVF

I wanted to run a virtual Citrix License server in my LAB.

Unfortunately Citrix only provides the VPX License Server in XenServer format (.xva). If you want to run the VPX on VMware ESX or Microsoft Hyper-V you need to convert it first.

The option to convert a Xen Virtual Appliance to OVF format was removed in XenConvert 2.4.1. So for a conversion you need version 2.3.1.

Here are the direct download links:

However when I tried to convert the downloaded VPX (Citrix_License_Server_VPX_v11.10.0_Build_12002.xva) I got the error "Failed to decode tar header record":

Failed to decode tar header record

 

(more…)

  • 1 Comment
  • Filed under: Citrix
  • Run a Process when Citrix Receiver Exits

    A while ago I was doing some research for Magic Filter when I stumbled upon something interesting within Receiver.

    Inside wfica32.exe is a function called _Eng_RunExecutableOnExit. That name caught my interest, I’ve made it a little more readable with Ida Pro:

    (more…)

  • 3 Comments
  • Filed under: Citrix
  • PNAgent Icon Data Algorithm

    Some time ago I wrote about the PNAgent data that is stored in the registry in XML format.

    After that post Andrew Morgan asked me if I could extract the PNAgent icons from the XML data.

    That got me interested so let’s look at this data!

    If you look at XML from PNAgent the icondata as in the AppData.Details.Icon node you’ll see something like this:

    image

    Seems like the icon data is stored/encrypted in a proprietary format.

    (more…)

    ClickOnce is a Microsoft technology that enables an end user to install an application from the web without administrative permissions.

    That’s great isn’t it?
    While ClickOnce may sound great to developers it’s actually a nightmare for Enterprise administrators because they try to prevent users from installing software themselves.

    ClickOnce also incorporates an Automatic Updates mechanism which means that users might run different or not tested/approved versions…

    Virtual Environments
    It get’s even worse in virtual environments such as VDI and SBC where machines are often non-persistent. Each time the users starts the application they will see a screen similar to the one below while they actually download and install it over and over again:

    SNAGHTML87937a

    If the environment is persistent, it’s not guaranteed that the user works on the same machine each day. This means that the application will be installed on every box the user ever logs onto…

    How does it work?
    In order to understand how we can best treat ClickOnce applications we need to understand how they work since MSDN documentation does not describe this in detail.

    (more…)

    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

    (more…)

    Today’s blog is about an application that was migrated to Citrix XenApp. During testing the users reported that several application menu’s were missing.

    An example is the settings menu where the System tab is missing:

    Fat Client:XenApp:
    clip_image002[5]clip_image002

    I suspected a permissions issue so I added the account to the Local Administrator group to verify that. And indeed the System tab was visible.

    Process Monitor
    I removed the account from the Administrators group and fired up Process Monitor. I set a filter on the process name (ra60.exe) and on Result (ACCESS DENIED):

    SNAGHTML1b3aa033

    (more…)

    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

    (more…)

    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

    (more…)

    The case of the missing audio

    Yesterday I was asked to investigate a problem with a presentation pc. Even though the volume was set maximal there was not audio output.

    The machine was used to connect to a Citrix XenApp desktop and RES Workspace Extender was used to integrate local applications in the XenApp desktop.

    The local sound volume control was published as a subscribed application so I launched that and verified that the volume was set to Maximum:

    Volumeregeling

    I decided to launch the local explorer shell and noticed that there were two volume control icons in the Traybar:

    Volume Controls

    (more…)

    File:VMware ThinApp v4.0 icon.pngOne of the lesser known features of VMware ThinApp is that you can supply a Virtual Computer name.

    This is documented as follows in the package.ini reference guide:

    VirtualComputerName Parameter
    The VirtualComputerName parameter determines whether to rename the computer name, to avoid naming conflicts between the capture process and the deployment process.

    (more…)

    Profile

    Tags

    Views

      Donate


      Blogroll


      Categories


      Archives