XenApp 6.5 Unattended deployment through SCCM 2007

I have been busy troubleshooting an unattended XenApp 6.5 for Windows 2008 R2 SP1 deployment lately. This deployment was done through SCCM 2007.

The whole installation went correct up until the point of running XenAppConfigConsole.exe with it’s appropriate parameters. After trying a whole bunch of different deployment techniques, I found one that works!

The Task Sequence (at least the part of the XenApp 6.5 setup), looks as follows:

  • Move Computer Object in AD to an OU without policy objects
  • Restart Computer
  • Install Citrix XenApp 6.5
  • Restart Computer
  • Disable COM+ Application Access Check
  • Install Citrix Hotfixes XA 6.5 EN
  • Restart Computer
  • Copy XenApp Configuration DSN file to %TEMP%
  • Copy MDT Tools to %TEMP%
  • Run Citrix XenApp Config Tool
  • Restart Computer
  • Install Citrix EdgeSight 5.4 XenApp Agent
  • Restart Computer

 

The syntax for the task: Run Citrix XenApp Config Tool is as follows:

“%WINDIR%\Temp\MDT\ServiceUI.exe” -process:tsprogressui.exe “C:\Progra~2\Citrix\XenApp\ServerConfig\XenAppConfigConsole.exe” /ExecutionMode:%Citrix_Create_Join% /FarmName:%Citrix_Farmname% /CitrixAdministratorAccount:%Citrix_Username% /DsnFile:%WINDIR%\Temp\%Citrix_DSNFile% /AuthenticationType:Windows /ODBCUserName:%Citrix_Username% /ODBCPassword:%Citrix_Password% /LicenseServerName:%Citrix_LicenseServer% /LicenseModel:XA /AddLocalAdmin:True /ForceShadowPopup:True /ForceShadowLogging:True /CreateAnonymousUserAccounts:False

The variables are set through Collection Variables in SCCM and contain the appropriate information for creating / joining a Citrix XenApp 6.5 Farm.

 

Hope it helps!

Citrix End User Experiencing Monitoring service crashing.

I recently ran into the problem that in Citrix EdgeSight 5.4 the Citrix End User Experiencing Monitoring service kept crashing.

It created the following error message in the Logfile:

Failed to co-create SEMS plugin. hr=0x8007041D

 

This error message is related to the fact that this service seems to check it’s certificate online. In this environment, there was no internet activity available, hence the error message.

 

You can prevent this error message from appearing by creating the following file in Notepad:

C:\Program Files (x86)\Citrix\Euem\Service\SemsService.exe.config

Give it the following contents:

<?xml version=”1.0″ encoding=”utf-8″?>
<configuration>
<runtime>
<generatePublisherEvidence enabled=”false” />
</runtime>
</configuration>

 

Or you can download the file here: SemsService.exe.config

 

After restarting the “Citrix End User Experiencing Monitoring” service, the problem is resolved.