Share via


Specify a Program to Start When You Connect

Applies To: Windows Server 2008

When you configure a connection in the Remote Desktops snap-in, you can specify a program to start on connection.

Any user account can be used to complete this procedure. Review details about using the appropriate accounts and group memberships at https://go.microsoft.com/fwlink/?LinkId=83477.

To specify a program to start

  1. Open the Remote Desktops snap-in. To do this, click Start, point to Administrative Tools, point to Terminal Services, and then click Remote Desktops.

  2. If you have not already done so, add the connection. For more information, see Add a New Connection.

  3. In the console tree, expand Remote Desktops.

  4. Right-click the connection that you want to configure, and then click Properties.

  5. If you are connecting to a computer that is running Windows Server 2003 or Windows XP, clear the Connect with /admin option check box on the General tab.

  6. On the Other tab, under Start a program, click to select the Start the following program on connection check box.

  7. Specify the program path and file name, and the working directory.

Note

If you do not specify the program to start, the connection starts at the Windows desktop.

  1. Optionally, to allow the remote computer to access drives on the local computer, click to select the Redirect local drives when logged on to the remote computer check box.

  2. When you are finished, click OK.

Additional references

Modify an Existing Connection