Microsoft Windows graphic

Start a program on connection

Requirements: At least Microsoft Windows XP Terminal Services

Location: User Configuration\Windows Components\Terminal Services\


Description:
Directs Terminal Services to run the specified program automatically upon connection.

Use this setting to specify the program that runs automatically when a user logs on to a terminal server, overriding Start Program settings by the server administrator or user. The Start menu and Windows Desktop are not displayed, and when the user exits the program the session is automatically disconnected.

By default, Terminal Services sessions provide access to the full Windows desktop, unless otherwise specified with this setting or by the server administrator or by the user in configuring the client connection.

To use this setting, in "Program path and file name", type the fully qualified path and file name of the executable file to be run when the user logs on. If necessary, in "Working Directory", type the fully qualified path to the starting directory for the program. If you leave "Working Directory" blank, the program runs with its default working directory. If the specified program path, file name, or working directory is not the name of a valid directory, the terminal server connection fails with an error message.

If you enable this setting, Terminal Services sessions automatically run the specified program and use the specified Work Directory (or the program default directory, if Working Directory is not specified) as the working directory for the program.

If you disable this setting or do not configure it, Terminal Services sessions start with the full desktop, unless the server administrator or user specify otherwise.

Note

ADM File: system.adm