Summary
Application Streaming is a feature of the Enterprise and Platinum Editions of Citrix Presentation Server 4.5 and later. It requires Enterprise or Platinum Edition licenses on the License Server. This document will help with troubleshooting the various components of Application Streaming in Citrix Presentation Server 4.5.
This document contains the following sections:
How to isolate Application Streaming issues
Issues that occur when profiling applications for streaming
Issues that occur when publishing a streamed application
Failure to enumerate streamed applications on the client
User rights for the Citrix Streaming Service user account
The client-side processes involved with streaming
Using Raderun for troubleshooting
Known limitations for Application Streaming
How to isolate Application Streaming issues
Application Streaming issues can occur when profiling, publishing, or streaming an application. When troubleshooting application streaming issues, it is important to identify where the issues occur because the troubleshooting methodologies are different depending on the type of failure.
First, verify that you are using the supported product versions in your environment. The latest software is located at Citrix Downloads.
• Presentation Server 4.5 and later
• Citrix License Server 4.5 and later
• Web Interface 4.5 and later
• Program Neighborhood Agent or Web client 10.x and later
Note: Application streaming is only supported with these product versions. It is not backwards-compatible with previous versions of these products.
Issues that occur when profiling applications for streaming
Creating a profile consists of running the application installation inside the profiler application wizard. Citrix recommends that you install the profiler application on a computer that matches the target computer’s operating system, language, and boot-drive letters. It is possible to have the profiler computer running an older operating system than the target computer, however, this might cause problems during the streaming process. It is possible to select multiple targets during the profiling process.
Errors that occur during the profiling process are often related to the specific application being profiled. Ensure that the latest profiler software and any updates are installed.
If an application fails during the profiling process, consider the following troubleshooting actions:
For application specific issues it is best to understand the application and what it needs to do.
Issues that occur when publishing a streamed application
Application publishing is done using the Access Management Console. Applications can be streamed to the client desktop or to the Presentation Server desktop. Where an application will be streamed is defined during Application Publishing process.

Figure A
Publishing a streamed application is similar to publishing an installed ICA application because they both use the same wizard and write to the IMA data store.
Failure to enumerate streamed applications on the client
• If streaming to the Presentation Server, select the Dual mode streaming option during the Web Interface or Program Neighborhood Agent site configuration.
• If streaming to the client desktop, select either Dual mode streaming or the Streaming option during the Web Interface site or Program Neighborhood Agent site configuration. If the wrong option is selected, the appropriate application icons will fail to enumerate for the user.
Figure B
Once the application is profiled and published, it is ready for streaming. The streaming process is handled by the Streaming Client. The Streaming Client does not have a user interface and is only a service installed on a Windows computer called Citrix Streaming Service. After the application icon is enumerated by the Program Neighborhood Agent or the Web Client, the streaming process begins once the user clicks on the application icon. When streaming to the Presentation Server, the Streaming Client must be installed on the Presentation Server. When streaming to the client, the Streaming Client must be installed on the client computer. The Streaming Client is installed by default on the server running Citrix Presentation Server 4.5 or later. Only version 10.x and later of the Program Neighborhood Agent and Web Client are supported for application enumeration when streaming.
Note: The Program Neighborhood client is not supported with streaming.
• Ensure that the latest Streaming Client is installed. The latest client is located at Citrix Downloads.
• Verify that the Citrix Streaming Service is running and was started by the user account called Ctx_StreamingSvc. This user account has specific rights and permissions needed to run the Citrix Streaming service as explained in the section on User rights for the Citrix Streaming Service user account.
User rights for the Citrix Streaming Service user account
The account used to start the Citrix Streaming Service is called CTX_StreamingSvc. This account is a local user account and is part of the Users group only. On the computer with the Streaming Client installed, verify that the Ctx_StreamingSvc user has rights to the following objects:
• Registry:
Full Control: HKEY_LOCAL_MACHINE\SOFTWARE\CITRIX\RADE
Full Control: HKEY_LOCAL_MACHINE\SOFTWARE\CITRIX \RadeCache
• Files:
Read and Execute: <systemroot>\Program Files\Citrix\Radecache
Read and Execute: <systemroot>\Program Files\Citrix\Streaming Client
Read and Execute: <systemroot>\Program Files\Citrix\Deploy
Full Control: <systemroot>\Program Files\Citrix\RadeCache
Full Control: <systemroot>\Windows\Fonts
Full Control: <systemroot>\Windows\Registration
• File share:
Read: File share where the profile package is located.
The client-side processes involved with streaming
The following list describes the components that are used when streaming an application to the client computer or a Presentation Server desktop and the order in which the events occur.
Application Streaming is basically a file copy to a local directory on a client or server. The application executes from that local copy. The local cache directory is \Program Files\Citrix\RadeCache. This location is called the Install Root. When users make modifications to the application, those files are stored in the users profile under \Documents and Settings\<User>\Application Data\Citrix\RadeCache. This location is called the User Root. The default Install Root cache size is 1GB. Once the cache is full, older files are purged to make room for files to be streamed. To change the cache size or location, use the ClientCache.exe utility located in \Program Files\Citrix\Streaming Client\. This utility can only be used to modify the Install Root and not the User Root.
Because the application profile package is copied from a file server, then extracted and executed locally, the main bottlenecks are the file server where the package is copied from and the network. The file copy is done using the Service Message Block (SMB) protocol. If application streaming is slow, it may be because of a lack of resources on the file server where the package is being streamed from, network latency between the file server and the computer being streamed to, or the size of the application being streamed. For information on the profile size of particular applications see CTX114838 - Citrix Application Streaming - Sample Package Sizes. To assist in identifying whether a file system bottleneck on the file server is the issue, use the following procedure.
Using Raderun for troubleshooting
There are numerous Application Streaming troubleshooting utilities that can be used. One of those utilities is called Raderun. It is included with the install of the Streaming Client. The switches below can be placed in the registry which will affect all applications that are streamed to that client computer. For more information on how to use Raderun as well as other streaming troubleshooting utilities see CTX115137 - Application Streaming Utilities.
To enable the Raderun switches in the registry, create a new string value under HKEY_LOCAL_MACHINE\Software\Citrix\Rade\ called RadeRunSwitches and list the switches below as the values. Multiple switches can be used but they must be separated by a space, for example:
RadeRunSwitches Reg_SZ -x -D
Note: If the target computer with the Streaming client installed has a 64-bit Windows operating system, add the registry value to Wow6432node which is the 32-bit section of the registry. HKEY_LOCAL_MACHINE\Software\Wow6432Node\Citrix\Rade\
List of RadeRun Switches that can be placed in the registry:
-c clear the execution cache before the application opens
-C clear the execution cache and per-user cache before the application opens
-d clear the execution cache after the application terminates
-D clear the execution cache and per-user cache after the application terminates
-x execute a command prompt for every launched application (This is useful for debugging.)
-e pre-streams all files for the application to the client. (This pre-streams all application files instead of just the files that are needed at execution time. This is used when all components of an application are needed before the application can start).
Note: Adding the -e switch uses a larger amount of space on the client hard drive because all applications that the user has access to are pre-streamed and not just a particular application.
To assist in indentifing errors that occur during the streaming process, enable the client-side debug console in the registry of the computer with the Streaming Client installed. This debug console launches inside a command prompt at application execution time. It will show all steps of the streaming process such as .rad file download, license check out, file extraction requests, and so on. For directions on how to enable the client debug console see the article CTX112472 - How to Enable the Streaming Client Debug Console.
Applications that are streamed to the Presentation Server desktop create an ICA session and can be monitored and managed like any other type of ICA session. The Streaming client needs to be installed on the Presentation Server for the stream to server process to function.
When users stream applications to their local desktop, this is not classified as an ICA session but is listed as a RADE session in the Access Management Console. A RADE session cannot be managed like an ICA session because there are different components at work behind the scenes. Refer to article CTX112637 - Heartbeat Service for Desktop Streaming Session Monitoring Explained for more information about RADE sessions.
Known limitations for Application Streaming
There are certain kinds of applications that cannot be profiled or streamed and therefore are not supported with the Application Streaming feature. These applications contain components that cannot be successfully isolated in an isolation environment. For example:
• Device or kernel drivers: Isolation environments cannot isolate device or kernel drivers. For example, if the application installs and depends on a driver to function, it does not work in an isolation environment.
• Windows services: Some applications install and rely on a Windows service to function correctly. These applications cannot be isolated. To get around this limitation, investigate the application to see if there are components that can be disabled during the installation to prevent the service from being installed and see if the application can function without it. To verify whether an application attempted to install a service, examine the Event Viewer’s Application Log. Look for messages with source CtxSbxAppMsg.
• Windows class names or window names: Isolation environments do not isolate Windows class names or Window names. Applications that use Windows messages as an inter-process communication (IPC) mechanism are not supported with the Application Streaming feature.
• Distributed Component Object Model (DCOM): Applications that rely on DCOM to function are not supported.
• COM+ applications: CTX112719 - Limited Support for COM+ with Application Streaming and Application Isolation Environments discusses certain limitations of COM+ applications.
The Knowledge Center contains several documents on other environment-specific errors and issues.
CTX107864 - Troubleshooting Applications Installed into Isolation Environments
CTX112636 - Application Streaming Licensing Explained
CTX112810 - Application Streaming - FAQ
CTX112720 - Using the Strictly Isolate Rule for Application Streaming
CTX114663 - Application Streaming Delivery and Profiling Best Practices
CTX113491 - Obtaining a CDF Trace for Application Streaming Issues