How to (automatically) re-logon a local user when ending remote desktop session in XP Pro ?

  • Thread starter Thread starter Dirk B
  • Start date Start date
D

Dirk B

Hi,


On PC#1, I have a program running. This program was started on PC#1 by a
user named "userA".

Then, from PC#2 (XP Pro) I start a remote desktop session on PC#1 with
username "userA" .
On PC#1, the original "userA" is logged off as I start my remote session.

Now, when I closed the remote desktop session, the logon screen is displayed
on PC#1.

Is it somehow possible to have the local userA automatically re-logon on
PC#1 instead of getting the logon screen ?

The reason is that PC#1 is difficult to access physically, and
the program that is continiously running on PC#1 gives audio( waves) output
..
But for the waves to be heared from PC#1, userA should be logged on locally.

Thanks, in advance ...
Dirk
 
Racking my brain. Maybe you could set userA up for autologin, and when the
RD connection is done, reboot the computer rather than just logging off?
 
Try this in the RDP session when you are ready to terminate it:
Start, Run,
%windir%\System32\tscon.exe 0 /dest:console
 
Hi Bill,

Sorry for my late reply, but your command "%windir%\System32\tscon.exe 0
/dest:console " works great.
Just what I needed !

THANKS A LOT !
Dirk
 
Terrific--glad to hear that it did the job. I'm tempted to suggest to
Microsoft that they add a button or shortcut to this--so that it is somehow
available in any given session--it's useful.


----- Original Message -----
From: "Dirk B" <[email protected]>
Newsgroups: microsoft.public.windowsxp.work_remotely
Date: Monday, March 15, 2004 6:39 PM
S&ubject: Re: How to (automatically) re-logon a local user when ending
remote desktop session in XP Pro ?
 
Hi Bill,

Sorry for my late reply, but your command "%windir%\System32\tscon.exe 0
/dest:console " works great.
Just what I needed !

THANKS A LOT !
Dirk
 
Terrific--glad to hear that it did the job. I'm tempted to suggest to
Microsoft that they add a button or shortcut to this--so that it is somehow
available in any given session--it's useful.
 
Back
Top