Auto-login after remote desktop disconnect


Go Back   Computer Help Articles > Windows XP Work Remotely
User Name
Password
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 01-05-2006, 11:15 PM
Slide-O-Mix
 
Posts: n/a
Default Auto-login after remote desktop disconnect

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
  #2  
Old 01-05-2006, 11:15 PM
Peter
 
Posts: n/a
Default Re: Auto-login after remote desktop disconnect

> 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?


Not, AFAIK. But you can set "Set time limit for disconnected sessions" to "1
min" policy.


Reply With Quote
  #3  
Old 01-05-2006, 11:15 PM
Slide-O-Mix
 
Posts: n/a
Default Re: Auto-login after remote desktop disconnect

>
> Not, AFAIK. But you can set "Set time limit for disconnected sessions" to "1
> min" policy.
>



The issue with that is it causes a logoff to happen, all I want to have
happen is a switch back to the "console" instead of the remote session.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Remote Desktop disconnects at login nhdjoseywales@gmail.com Windows XP Work Remotely 0 01-05-2006 07:14 AM
Moving Remote Desktop destroys mouse pointer scheme. theyas@community.nospam Windows XP Work Remotely 1 01-05-2006 07:14 AM
Remote Desktop - suddenly can't connect! Stroller Windows XP Work Remotely 18 01-05-2006 07:13 AM
Remote Desktop doesn't work properly (network issue) christophesav Windows XP Network Web 0 01-05-2006 04:06 AM
On startup, displays Microsoft folder which contains Synctoy Dave Williams Windows XP General 9 01-05-2006 02:36 AM


All times are GMT. The time now is 06:45 PM.


Powered by vBulletin Version 3.5.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd. SEO by vBSEO 2.3.2 © 2005, Crawlability, Inc.

Auto-login after remote desktop disconnect