Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm running a Windows Server 2008 box and would like to have users login via RDP, but only be able to run 1 program and if they close the program, to log off the session. Is this possible? The clients will be connecting from WinXP SP3 computers.

Thanks! JFV

share|improve this question
Here's a similar question from earlier today:… – Doug Chase May 15 '09 at 16:03
up vote 7 down vote accepted

There is a new feature in Server 2008s terminal services called remoteapp that does what you're looking for I believe.


MS Guide:

share|improve this answer
Thanks for the info! I checked it out and I was able to publish to the desktop. I didn't know that Server 2008 had this Citrix-like setup. Thanks! – JFV May 17 '09 at 12:20

You can set environment settings for every user on the Terminal server. Check in user environment settings to set startup program. It is built in feature. And if they close application, session will log off.

share|improve this answer
Thanks for the info! I'll look into that also! Never can have too much information! – JFV May 28 '09 at 23:39

This is easily done using the Remote Desktop Connection program that is installed on every computer Windows XP SP2 and higher.

When you start the program, click the "Options" button to display all options, and then click the "Programs" tab. Enter the local path of the program you wish to start (ie: c:\windows\notepad.exe).

Then save the connection as an RDP file and distribute it to your users.

share|improve this answer

2X ApplicationServer for Windows Terminal Services does exactly what you are asking for and has a free version available with some limits.

I haven't used RemoteApp for 2008, so you might want to try that first, but I know the 2X software works and can also work with 2003.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.