home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
Moving Pictures
Remote Maintenance
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="RoChess" data-source="post: 554456" data-attributes="member: 18896"><p>You can also install a little hack, by using the termsrv.dll from Windows 2008 Server, which will enable concurrent RDP.</p><p></p><p>This works on Vista and Windows 7. You can download the termsrv.dll from Microsoft.com, but as to where and how, you'll have to figure that one out yourself.</p><p></p><p>I use the same with mine, and it allows me to use the HTPC at the same time as my wife is running MediaPortal. Just be extra careful to not run any configuration programs when MediaPortal is running. For this reason I wrote many little batch files myself that automatically detect if MediaPortal is running.</p><p></p><p>For example this is the auto-start script I use.</p><p></p><p>[code]@Echo Off</p><p>If "%SESSIONNAME%" == "RDP-Tcp#0" GoTo RDPSession</p><p></p><p>:NoRDP</p><p> ping 4.2.2.2 -n 1 -w 30000</p><p> ping 192.168.1.11 -n 1 -w 30000</p><p> C:\Windows\sent.exe /d:XPC "Battle Cruiser Operational -- By Your Command"</p><p> start "MediaPortal" "C:\Program Files (x86)\Team MediaPortal\MediaPortal\MediaPortal.exe"</p><p>GoTo EndBat</p><p></p><p>:RDPSession</p><p> tasklist | find /i /c "MediaPortal.exe" &&start wscript.exe C:\Users\HTPC\sent_msg.vbs</p><p></p><p>:EndBat[/code]</p><p></p><p>The first line detects if I'm using RDP or if the script is started by the HTPC itself. When no RDP session is detected, I first run 2 ping commands to verify that enough time was given for the network connection to kick in. When it does, it sends a broadcast message to this computer via LAN (helps to remind me that the HTPC has completed startup, incase I use Wake On LAN). And then it launches MediaPortal.</p><p></p><p>When I connect via RDP, it runs the added command to verify if MediaPortal is still running, the sent_msg.vbs is as follows:</p><p></p><p>[code]Set wshShell = CreateObject( "WScript.Shell" )</p><p>wshShell.Popup "MediaPortal *IS* Currently Running", 10, "WARNING", 64[/code]</p><p></p><p>To create a small popup warning.</p><p></p><p>And I've modified the desktop shortcuts to use a simelair batch file to verify MediaPortal isn't already running.</p></blockquote><p></p>
[QUOTE="RoChess, post: 554456, member: 18896"] You can also install a little hack, by using the termsrv.dll from Windows 2008 Server, which will enable concurrent RDP. This works on Vista and Windows 7. You can download the termsrv.dll from Microsoft.com, but as to where and how, you'll have to figure that one out yourself. I use the same with mine, and it allows me to use the HTPC at the same time as my wife is running MediaPortal. Just be extra careful to not run any configuration programs when MediaPortal is running. For this reason I wrote many little batch files myself that automatically detect if MediaPortal is running. For example this is the auto-start script I use. [code]@Echo Off If "%SESSIONNAME%" == "RDP-Tcp#0" GoTo RDPSession :NoRDP ping 4.2.2.2 -n 1 -w 30000 ping 192.168.1.11 -n 1 -w 30000 C:\Windows\sent.exe /d:XPC "Battle Cruiser Operational -- By Your Command" start "MediaPortal" "C:\Program Files (x86)\Team MediaPortal\MediaPortal\MediaPortal.exe" GoTo EndBat :RDPSession tasklist | find /i /c "MediaPortal.exe" &&start wscript.exe C:\Users\HTPC\sent_msg.vbs :EndBat[/code] The first line detects if I'm using RDP or if the script is started by the HTPC itself. When no RDP session is detected, I first run 2 ping commands to verify that enough time was given for the network connection to kick in. When it does, it sends a broadcast message to this computer via LAN (helps to remind me that the HTPC has completed startup, incase I use Wake On LAN). And then it launches MediaPortal. When I connect via RDP, it runs the added command to verify if MediaPortal is still running, the sent_msg.vbs is as follows: [code]Set wshShell = CreateObject( "WScript.Shell" ) wshShell.Popup "MediaPortal *IS* Currently Running", 10, "WARNING", 64[/code] To create a small popup warning. And I've modified the desktop shortcuts to use a simelair batch file to verify MediaPortal isn't already running. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
Moving Pictures
Remote Maintenance
Contact us
RSS
Top
Bottom