Follow

ProfileUnity is executed twice during logon while launching XenApp application.

Product: ProfileUnity

Product Version: 5.5

Expires on: 365 days from publish date

Updated: October 16, 2014

 

Problem: 

ProfileUnity splash screen executes twice running configuration when launching any application from XenApp server. 

 

Symptoms: 

After installing Citrix XenApp on the server which had ProfileUnity installed previously the ProfileUnity is executing twice. ProfileUnity GPO is applied to execute startup.vbs each time the server is restarted.

ProfileUnity executed twice because ProfileUnity is listed twice in "Winlogon" Tree:

HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon "AppSetup=C:\Program Files\ProfileUnity\ctxinit.exe"

and location which is for Non-Citrix machines:

HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon "Userinit=C:\Program Files\ProfileUnity\userinit.exe"

Example:

userinit.png

Possible Resolution(s):

When originally ProfileUnity is installed on the machine without Citrix, LwL.ProfileUnity.Client.Startup.exe is modifying "Userinit" Key and replacing "C:\Windows\System32\userinit.exe" with "C:\Program Files\ProfileUnity\userinit.exe" when XenApp is installed on the machine the LwL.ProfileUnity.Client.Startup.exe is replacing "ctxinit.exe" within "AppSetup" key with ProfileUnity version "C:\Program Files\ProfileUnity\ctxinit.exe" thus leaving "Userinit.exe" unedited. This only happens in this order of events (1. ProfileUnity 2. Citrix XenApp). If Citrix XenApp was installed on the server prior ProfileUnity only one key (AppSetup) would be modified thus ProfileUnity would execute only once.

 

Solution

On the XenApp server hosting the applications edit manually "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\Userinit"

Replace: "C:\Program Files\ProfileUnity\userinit.exe"

With: "C:\Windows\System32\userinit.exe"

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

0 Comments

Article is closed for comments.