About the author

My name is David Evans, I live out in CT. I am a Microsoft Certified Systems Engineer and also carry a few certifcations on Windows Vista Media Center/Home Server. I started with Media Center back in 2004, as a way to not have to pay the cable company for a DVR. It turned into a hobby and a passion of mine.

I run a small business building them and supporting them, as well as one of the top posters on TGB. I started this site to start blogging tips and tricks for Media Center, as well as being a 3rd party site run on my own guidelines.

Exit remote desktop with out rebooting

by DavidinCT 17. February 2010 09:11

A lot of us run a home theater PC, a Dedicated PC just for your TV entertainment. Most of us use remote desktop (a nifty built in program that works awesome), the problem is that we have reboot to get media center back or go to the TV to re-logon. This little batch file will help you out.

This will disconnect your RDP session (assuming that it’s the only session), and go back to the console (where it was before), wait 5 seconds (to give the PC some time to do what It needs to do) and then restart Media Center…

Start notepad, copy the below into it….

tscon RDP-Tcp#0 /dest:console
ping -n 5 localhost > NUL
RunDLL32.exe C:\Windows\ehome\ehuihlp.dll,BootMediaCenter

and paste into notepad, save as, “exitremote.bat” (with out the quotes), when your done with what you were doing over remote desktop, double click the file. It should punt you off remote desktop and on your TV it should not be at a logon window and Media Center should start up after a few seconds.

This was something I found to be very, very useful.

Note: For Home Premium and People who want more RDC sessions…Here is the link. I have not used it but I am sure some people are looking for it…

http://thegreenbutton.com/forums/p/79427/393664.aspx#393664

clubhouse, media center, media center-windows 7, how-to, Tip

Tags: , , , , ,

HTPC | Media Center | Media Center-Windows 7 | VMC

Comments are closed