I do a lot of remote desktop sessions within my house. I constantly remote from my netbook to my PC to work remotely and it seems I'm always poking around within the two Media Center PC’s in the house as well.
One thing I’ve always disliked is when I jump into my Media Center via remote desktop (RDP) and then exit the screen locks back to a password screen. Yes, I could always do away with the password but I like the fact that I can log into it via RDP when I’m away from the house. I then have a need to keep a keyboard handy to enter the password. That’s not high on the wife acceptance factor in the living room.
I did some searching around and found a solution to this little conundrum and I wanted to share it with you. The solution was found at thegreenbutton.com and also at arsetechnica.com.
All you have to do is run a simple command that will log you off and return the system to it’s console. Here is the command:
%windir%\System32\tscon.exe RDP-Tcp#0 /dest:console
Create a shortcut on the desktop called End RDP and use this command as the target. Change the icon to something pretty and your done.
A couple of things to remember. If you find it not working, check the user session that you are using on the RDP. Open Task Manager and check the users tab. See the session tab at the right? That number, in this case it’s 0, corresponds to the number in the command. RDP-Tcp#0
The last thing to remember is in Windows 7 you will have to run it as an administrator. You will be prompted by User Account Control as well. Right Click the icon on the desktop and Run as Administrator and you will be booted from the RDP session and it will return to it’s normal desktop. All the programs running will still be there when you check it next.
I hope that helps someone else as much as I appreciate it.
Recommended Comments
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now