Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I need to connect via remote desktop to a Windows XP machine (logging out the current user), do some stuff, and then logout the rdesktop session and having a user X which log in (from the front-end I mean).

I try to be clearer:

I've some windows XP machines which offers some interactive informations in public places. I need to rdekstop them to do some assistance, and then I'd like to logout and have the main user (the one which offers the service) logged back. I know there's a command for the windows prompt to achieve this, but cannot find it out!

share|improve this question
add comment

2 Answers

The command I was looking for is:

tscon 0 /dest:console

which ends the current rdesktop session and reset the user as logged in! Found after days of research (and hours after posting here...)

share|improve this answer
add comment

If you are actually assisting the user, you can offer what is referred to as Unsolicited Remote Assistance, and send them an RA request. This way it does not log off the user who is logged on at the console.

Here is the link to run on your computer when you offer assistance:

hcp://CN=Microsoft%20Corporation,L=Redmond,S=Washington,C=US/Remote%20Assistance/Escalation/unsolicited/unsolicitedrcui.htm

You also need to change a group policy setting on the target computer:

Administrative Templates\System\Remote Assistance\Offer Remote Assistance Setting: Enabled, Allow users to remote control

share|improve this answer
    
Actually is not what I'm looking for... The fact is that I'm connected from a linux box via rdesktop, and need the command to write in command prompt that logs out me and log back an user. –  carlesso Apr 21 '10 at 12:02
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.