PC Review


Reply
Thread Tools Rate Thread

Auto-login after remote desktop disconnect

 
 
=?Utf-8?B?U2xpZGUtTy1NaXg=?=
Guest
Posts: n/a
 
      5th Jan 2006
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
 
 
 
 
Peter
Guest
Posts: n/a
 
      5th Jan 2006
> 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
 
=?Utf-8?B?U2xpZGUtTy1NaXg=?=
Guest
Posts: n/a
 
      5th Jan 2006
>
> 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
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not 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 Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
disable auto-disconnect when using remote desktop Graphic Jazz Windows XP Work Remotely 0 14th Jan 2008 03:40 PM
Remote Desktop Auto Login To Windows Server 2003 R2 =?Utf-8?B?S2VubmV0aCBILiBCcmFubmlnYW4=?= Windows Vista General Discussion 4 25th Nov 2006 12:56 AM
Auto - login when resuming from remote desktop ? =?Utf-8?B?R3V5?= Windows XP Work Remotely 6 24th Feb 2005 05:35 PM
Auto - login when resuming from remote desktop ? =?Utf-8?B?R3V5?= Windows XP Help 1 23rd Feb 2005 11:54 AM
Auto login for remote desktop webservice (tsweb) =?Utf-8?B?TWF4?= Windows XP Work Remotely 1 30th Mar 2004 06:11 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:42 PM.