Prev Previous Post   Next Post Next

Auto-login after remote desktop disconnect

Posted: 01-05-2006, 07:50 PM
We have a situation at work, where we have several computers that all
automatically login on boot as a certain user. What we would like to do is
use Remote Desktop to connect as that same user, then when the person who
remotely connects disconnects their session, the console will be logged in as
the user. This can be accomplished if the user runs the following command to
disconnect "tscon o /dest:console", but I can't rely on the users to always
do this. Is there a way to do something similar to that command when the
WM_WTSSESSION_CHANGED message with REMOTE_DISCONNECT comes across? I've tried
several ways, but haven't been successful.

The other idea I had was to make the script the only way the person could
disconnect. I can remove the "Disconnect" button from the start menu on the
server, but the user can still press the X on the Remote Desktop client,
anyone know of a way to disable this easily?

Thanks!

slide
Reply With Quote

Responses to "Auto-login after remote desktop disconnect"

 
LinkBack Thread Tools Display Modes
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Auto - login when resuming from remote desktop ? Guy Windows XP Work Remotely 6 02-24-2005 05:35 PM
Remote Desktop log-off instead of disconnect Danny O'Connor Windows XP Work Remotely 6 07-22-2004 01:37 PM
remote Desktop - disconnect Tabotbol Windows XP Work Remotely 4 12-23-2003 02:54 AM
One cause for remote desktop disconnect Rod Levine Windows XP Work Remotely 1 08-26-2003 06:01 PM
Remote Desktop disconnect shortcut David Shorthouse Windows XP Work Remotely 2 07-09-2003 01:12 AM