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