Windows 2003 Terminal Server - Best Way to Configure Single Application with Auto Login

Posted on 2005-03-15
Medium Priority
Last Modified: 2008-01-16
I have a client/server application that supports Windows Terminal Server 2003.  I need to have a few remote users connect to this application through a VPN using a terminal services client.  I would like to have these remote users just launch the terminal services client (without a username or password) and have the application launch without a desktop.  The application has its own username and password.  

The 2003 server is a member server of a domain already.  The licensing server will be on the DC once it is installed.  The application is already installed and running on the LAN.  Terminal Server has not yet been installed.  All remote user systems will run XP Pro.

Any thoughts on how the best way to do this would be greatly appreciated.  Thank you.


Question by:kbgnet
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
LVL 11

Accepted Solution

Joseph O'Loughlin earned 2000 total points
ID: 13549831
Hi kbgnet,
In the registry there's a setting shell= that's set to explorer.exe
For the default terminal servives account you want to change this to the name of the program executable in the ntuser.dat file in the user profile using regedit or regedt32.
usual disclaimers apply.

Author Comment

ID: 13552668
Hi Atheist,

Thanks for the information in your response.  I was able to figure out how to change the shell.  However, is there a way to have the terminal session log off automatically when the application is closed?  If the terminal sessions are not closed properly, I am afraid it will use up all the available terminal sessions thus locking some remote users out.

Also will having the one "terminal server app user" cause an issue with mutliple connections for that user?

Also this particular business application needs access to printers in order to properly run reports (it sends a report to a preview mode but there needs to be printers active).  What would be the best option to add network printers for this user while only running the application itself?  Is it the same as adding network printers for any user?

I would appreciate your thoughts.  Thank you in advance.


Author Comment

ID: 13552734
Hi Atheist,

Regarding automatically logging off of the terminal session when the application is closed, I realize you can set the disconnected time out to 1 minute but I was wondering if there was a way to auto log off when the application closes.


Get real performance insights from real users

Key features:
- Total Pages Views and Load times
- Top Pages Viewed and Load Times
- Real Time Site Page Build Performance
- Users’ Browser and Platform Performance
- Geographic User Breakdown
- And more

LVL 11

Expert Comment

by:Joseph O'Loughlin
ID: 13553068
I would suggest using a login script to map the printers, or in the terminal service session settings configure local printing

Author Comment

ID: 13555123
Thank for all the good information atheist.


Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

by Batuhan Cetin In this article I will be guiding through the process of removing a failed DC metadata from Active Directory (hereafter, AD) using the ntdsutil tool in a Windows Server 2003 environment. These steps are not necessary in a Win…
A quick step-by-step overview of installing and configuring Carbonite Server Backup.
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Suggested Courses

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question