Recently I’ve been looking at how to get RES Workspace Manager working with Session Prelaunch in XenApp 6.5. As I was unable to find anything specific on the topic, I had to roll up my sleeves and figure it out for myself:
A bit of background information: XenApp 6.5 offers the Session Prelaunch feature, which basically initiates a silent connection to the XenApp server, the moment that you log on to your local desktop. For the end-user this means lightning fast access to published applications. You can read more about it on the Citrix blog here. To get started, you need to configure a RES Managed application on the XenApp environment, so fire up the RES console on one of the XenApp boxes where you’ve installed the full product. Remember, you must have the Advanced Administration module enabled, either in eval mode or fully licensed for Citrix integration to be enabled in WM.
Create a new app for the executable C:\Program Files (x86)\Citrix\system32\CtxPreLaunch.exe like show below. In my example, the managed app is named RES WSM PreLaunch.
Be sure to uncheck “Create Start Menu shortcut” as we don’t want users to be firing up this app themselves. Now go to the Properties|Publishing tab of the app and ensure that it’s being published to XenApp. This may take a moment or two. Once this is done, go to your XenApp AppCenter console and find the newly created published application.
Rightclick on the published app, then chose Other Tasks and select Create pre-launched application. This will create a new separate published app with the prefix PreLaunch, thus the full name of the new published app will be “PreLaunch RES WSM PreLaunch”.
Next, copy the command line from the RES-created published app (the one you did first):
And paste it into the Prelaunch published app, created by the Citrix AppCenter console:
You now have a prelaunced application, which initially launches the RES Workspace Manager, which in turn launches the ctxprelaunch.exe executable. The session will now be able to rapidly launch additional apps. At this point you may consider adding the server(s) to worker groups if necessary.
Editor’s note: In addition to the above, in order to obtain a completely silent launch of the RES managed app, you may want to consider disabling the splash screens in RES Workspace Manager. In order to do so, go to Composition|Desktop|Lockdown & Behavior and type the word ‘splash’ in the instant search field:
Also, be advised that if you hide the main splash screen, this will affect every agent connected to this RES datastore, and you cannot make exceptions with workspace containers either.