How to install application on Windows 2008 Terminal Server

It’s recommended to install Terminal services role before installing any application which will be available to terminal server users. If TS role installed after the applications are installed, some the application may not work correctly in a multiple user environment.

In that scenario uninstalling and reinstalling the affected programs can resolve the issue.

To ensure that an application is installed correctly to work in a multiple user environment, the Terminal Server must be switched into Install mode before applications are installed on the server.

A Terminal Server canbe placed into Install mode using one of the following methods:

++Using the Install Application on Terminal Server tool in Control Panel\Programs.

This tool is available only when we install terminal server. It will automatically put terminal server into execute mode when application installation is complete.

++ Run Change user /install from command promptto place the server into Install mode and install the application. After installing the application, use the Change user /execute command (or restart the server) to place the server back intoExecute mode before using the application.

Change user /query command can be used to find the current mode. 

When an application is installed in Install mode, HKEY_CURRENT_USER information is primarily written to the following registry key:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Terminal Server\Install

 

This information is then circulated to HKEY_CURRENT_USER for each user when they log on to the Terminal Server.

MrxSmb

External exception C0000006 – Windows 2008 Terminal Server

With applications which start from a network share on a Windows 2008 Terminal Server , the error “External exception C0000006” can occur.
This is a known problem when multiple users start the same executable  from a network share.

To fixes this problem you need to add a reg setting.

Subkey: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MRxSmb\Parameters

Type: REG_DWORD
Entry: MultiUserEnabled
Value: 1

External exception C0000006

Resources:

Programs that are run from a network share on Terminal Services close or generate errors
http://support.microsoft.com/default.aspx?scid=kb;en-us;294816

Problems when more than one user accesses the same file through Terminal Services
http://support.microsoft.com/kb/818528/