Oct 23

Error 1603 when installing Microsoft App-V 5.0 SP1 client

Remko WeijnenComments Off on Error 1603 when installing Microsoft App-V 5.0 SP1 client

I wanted to do an unattended install of the Microsoft App-V 5.0 SP1 client.

I wanted to install using the MSI’s instead of using the exe installer so I unpacked the MSI’s from the installer as documented here.

The install failed however with MSI error 1603. I activated logging but that was not very helpful since it only logged "MainEngineThread is returning 1603".

Manual install of the MSI gave a bettor error message:

Microsoft Application Virtualization (App-V) Client 5.0 Service Pack 1 x86 requries Microsoft Visual C++ 2005 Redistributable (x86) with minimum version 8.0.61001

I had already installed the MSVC++ 2005 SP1 runtime but the version was slightly lower.

Unfortunately Microsoft doesn’t publish the build numbers with their downloads so it takes some searching to determine the correct download.

Version 8.0.61001 is labeled as "Microsoft Visual C++ 2005 Service Pack 1 Redistributable Package MFC Security Update" and can be downloaded here.

There is a similar requirement for the Microsoft Visual C++ 2010 runtime which should be at least 10.0.40219. This one is easier though because the required version is extracted together with the MSI files.

As a final note you need to set the AcceptEULA MSI property to 1 for both the client and language pack MSI or the install will fail.

Sep 24

Run a Process when Citrix Receiver Exits

Remko WeijnenComments Off on 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:

Continue reading »

Sep 13

The publisher could not be verified when launching an application with RES Workspace Manger

Remko WeijnenComments Off on The publisher could not be verified when launching an application with RES Workspace Manger

Today I was troubleshooting a warning message that popped up when launching a network application with RES Workspace Manager:

The publisher could not be verified. Are you sure you want to run this software?

Usually this is a simple fix: add the servername (file://server) to the Local Intranet zone:

You can add and remove websites from this zone. All websites in this zone will use the zone's security settings.

That worked when I launched the application directly. However when launching the application with RES Workspace Manager I would still get the warning. Even stranger: when I clicked Cancel the application would still be launched.

Continue reading »

Aug 15

RD Gateway connection fails on Windows 7

Remko WeijnenComments Off on RD Gateway connection fails on Windows 7

I needed to connect remotely via Remote Desktop to a Windows Server 2012 machine.

I received an rdp file that was configured to use an RD Gateway server:

Remtoe Desktop Connection | RD Gateway Server Settings

However when trying to connect from my Windows 7 laptop (x64) machine, I got the following error message:

The two computers couldn't connect in the amount of time allocated. Try connecting again. If the problem continues, contact your network administrator or technical support.


Continue reading »

Jun 05

HDMI Output in Black & White

Remko WeijnenComments Off on HDMI Output in Black & White

imageI connected my Dell laptop to my TV via HDMI and the picture on the TV was in Gray scale instead of Color.

I had connected my laptop before and it worked fine so I knew that my TV and the HDMI cable were working correctly. I had recently updated the drivers for my NVIDIA graphics card so I went into the NVIDA Control Panel.

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 »

May 24

Application Compatibility Fixing to the Extreme?

Remko WeijnenComments Off on Application Compatibility Fixing to the Extreme?

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):


Continue reading »

May 22

Programmatically Set Excel LinkedCell Property with VBA

Remko WeijnenComments Off on Programmatically Set Excel LinkedCell Property with VBA

Yesterday I was working with an Excel document that contained Combobox form controls.

I wanted to count the number of cells containing a particular value using the COUNTIF formula. However the count returned 0 because the LinkedCell property of the Combobox was not set to the Cell that contained the Combobox.

To set the LinkedCell Ctrl-Click the Combobox to select it, right-click and select Format Control. Then set the correct Cell in the Cell link field:


My sheet contained about 150 Comboboxes, so obviously I was going to do this using a script. I couldn’t find anything useful with Google so I wrote my own Macro.

Continue reading »

Apr 08

The Dell vWorkspace (previously Quest vWorkspace) Client can save a connection to a .pit file which is very similar to an .rdp file with one big difference: it is encrypted!

I am not sure why Dell/Quest have chosen to encrypt their files but a while ago I needed to know what was in a particular pit file so I could troubleshoot an issue.

I first created a test .pit file with the client (pntsc.exe version 7.6.305.791).


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 »