An application does not start in a Windows Server 2008 Terminal Services RemoteApp session

Article translations Article translations
Article ID: 951048 - View products that this article applies to.
Expand all | Collapse all

On This Page

SYMPTOMS

Consider the following scenario. You log on to a Windows Server 2008 Terminal Services RemoteApp (TS RemoteApp) session. The TS RemoteApp session includes the startup applications and the Run registry entry or the RunOnce registry entry. Then, you try to start an application in the TS RemoteApp session. In this scenario, the application does not start.

CAUSE

This issue occurs because you try to start an application that relies on the Explorer.exe file. By design, the TS RemoteApp session implements limited functionality. For example, the TS RemoteApp session does not process the following items:
  • The Run registry entry
  • The RunOnce registry entry
  • The startup applications

WORKAROUND

To work around this issue, use one of the following methods.

Method 1: Run the startup applications as a part of a user's logon settings

To run the startup applications in the TS RemoteApp session, you can specify the startup applications as a part of a user's logon settings in Group Policy. Because Group Policy controls these settings, any startup application that you specify runs as expected when the user logs on.

To specify the startup applications as a part of a user's logon settings, follow these steps:
  1. In the server Group Policy Management Console (GPMC), click Local Computer Policy, click Computer Configuration, and then click Administrative Templates.
  2. Click System, double-click Logon and then double-click Run these programs at user logon.
  3. In the Run these programs at user logon Properties dialog box, click Enable.
  4. Click Show, and then click Add.
  5. Type the name of the startup application.

    Note Unless the startup application is located in the %SystemRoot% folder, you must specify the fully qualified path of the file.
  6. Click OK.

Method 2: Start the Runonce.exe file together with the /AlternateShellStartup switch

Some applications that rely on the Explorer.exe file may run in the TS RemoteApp session if you add the Runonce.exe file to a user’s logon script. To do this, follow these steps:
  1. In the server GPMC, click Local Computer Policy, click User Configuration, and then click Windows Settings.
  2. Click Scripts (Logon/Logoff), and then double-click Logon.
  3. Click Add.
  4. In the Script name box, type runonce.exe.
  5. In the Script parameters box, type /AlternateShellStartup.
  6. Click OK two times.

Properties

Article ID: 951048 - Last Review: October 7, 2010 - Revision: 3.0
APPLIES TO
  • Windows Server 2008 Datacenter
  • Windows Server 2008 Enterprise
  • Windows Server 2008 Standard
  • Windows Server 2008 for Itanium-Based Systems
Keywords: 
kbstartup kbstartprogram kblogin kbexpertiseinter kbtshoot kbprb KB951048

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com