Question Locked

Windows XP desktop to logon directly to Terminal sever

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

How to a setup the xp desktop to logon to the termail server only like a thin cleint? Is this possible? I have set the shell in the reg to RDP which when the machine boots does come up to the TS login however you have to reboot the machine to login as new user after you log off the TS. Is there a better way?

Thank you

4 replies

by scott_heath

Just kidding! The problem is that when you log off terminal services you kill that instance of the client application and since there is no longer a shell the PC shuts down.

There may be a better way to do this, but I would right a script that initializes the Win32_Process WMI instance and creates a new instance of the process mstsc. Then the script loops, waiting for the process to end, maybe check every 30 seconds?, and when it does it restarts the process again. You could compile this script into an EXE. This will most likely cost you a few bucks, I know of no free vbs compiler. I use EXEScript and it works great.

If you would like some samples let me know.

This discussion is closed to new replies.