Tag Archives: citrix

Citrix: Logon Process Hangs at “Running Logon Scripts…”

We had a citrix server issue today. User complained of not being able to launch their published application.

So I fired up my citrix neighbourhood and tried connection to a citrix desktop. I could logon fine… however, it hung at “Running Logon Scripts…” dialog box. So I searched the knowledgebase in the net and go referred to CTX107433: The Logon Process Hangs At the “Running logon scripts…” Step. However, this KB don’t seem to resolve my problem and I am very sure that its not a printer driver issue.

Then I remember that we had resolved an issue with citrix before in one of my previous article on citrix. However for that case the citrix services could not start, in the current case, all the services started without issues. However, I still decided to have a poke at the path environment variable on this Windows 2000 box. Read the rest of this entry »

Leave a comment

Posted by on May 15, 2008 in Windows



Citrix: wfshell.exe crashed

Well that day, we had a citrix server whose published apps when launch would crash wfshell.exe. Initially, we suspected it to be printer drivers, so I removed all the printer drivers from the citrix server and tried launching apps again. No luck, wfshell.exe still crashes.

After almost one day of checking for knowledgebase, it turns out that a previous installation of oracle client reduced the path variable for the citrix path to shortcut names. For example, c:\program files\citrix became c:\progra~1\citrix instead. This does not work well for wfshell.exe.

After reverting the paths back to c:\program files\citrix… , we managed to get the published apps running again.


Posted by on May 29, 2007 in Windows



Published apps won’t launch in Citrix

My team mates had a busy 2 days trying to troubleshoot a troublesome citrix server. The server was joined to a farm, but it refuses to launch any published applications, even notepad. He keeps getting this popup error:

The citrix server is unable to process your request to start this published application

But when he logon via a citrix desktop notepad launches just fine. My matey tried removing the server from the farm and rejoining it with no success.

Finally, he stumble upon this registry setting:

HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon

Key = Appsetup
Value = usrlogon.cmd, “cmd /c cmstart.exe”

This looks strange and when compare with a working server, he found that the second value was not correct.

Value = usrlogon.cmd, cmstart.exe

After replacing the value, the apps launched successfully! Good work matey!

It looks like the previous command tried to launch a shell to start cmstart.exe, thats why!

Related link:

1 Comment

Posted by on December 21, 2006 in Windows



Weird problem with Windows environment variables at startup

Strange problem occured today with one of my Windows 2000 server, its a citrix server and had some issues with the database, so I tried to start and stop the IMA service and rebooted the server.

Upon reboot, it threw up one of the dreaded errors:

Application popup: ImaSrv.exe – Unable To Locate DLL : The dynamic link library BRAPI.dll could not be found in the specified path

Having an long path doesn’t help neither, but then the path is only 582 chars long… only half way to 1023 chars.

Its a strange error as all I did was to start stop a service and reboot the server, so there is no reasons why some of the dlls will go missing after that.

The problem was that Windows could not find the dlls located in C:\Program Files\Citrix\System32 when it starts up. Also the path variable contains environment variable %pf% which substitutes for c:\program files. That is, the string in the path variable is actaully %pf%\citrix\Sytem32. Now if we execute an echo on %pf% and %path%, all works fine. Somehow and suddenly, during the service startup time, Windows was not able to recognize or resolve the %pf% variable and hence, the dlls was not found.

Obviously, replacing the %pf% string with a literal string C:\program files seems to solve this probem upon next reboot. I have seen this problem before in NT but I am surprised to see this also in 2000. Also why Citrix is still depending on the path variable to start services is a mystery to me.


Leave a comment

Posted by on July 16, 2006 in Windows


Tags: ,