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
Development
Improvement Suggestions
[REQ] Detection of RDP connection and closing MP
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="thachaser" data-source="post: 82749" data-attributes="member: 17851"><p><a href="http://riccardo.raneri.it/blog/eng/index.php/2006/04/24/windows-xp-multiuser-remote-desktop/" target="_blank">http://riccardo.raneri.it/blog/eng/index.php/2006/04/24/windows-xp-multiuser-remote-desktop/</a></p><p></p><p>You can find a manual example here.</p><p></p><p>I'll post a link to the program tonight, because i don't have this @work</p><p></p><p>[USER=17179]Bram[/USER]</p><p></p><p>You can try to write a wsh script in vbs, that's detecting if you're running a RDP session. This has te be adjusted to run continueasly so it keeps checking for remote desktop.</p><p></p><p>I found this here : <a href="http://www.fpschultze.de/smartfaq+faq.faqid+87.htm" target="_blank">http://www.fpschultze.de/smartfaq+faq.faqid+87.htm</a> :</p><p></p><p>If fctCheckTS Then </p><p>WScript.Echo "I am running on TS"</p><p>End If</p><p>Function fctCheckTS </p><p>Dim objWsh : Set objWsh = WScript.Shell </p><p>Select Case Left(objWsh.ExpandEnvironmentStrings("%SESSIONNAME%"),3) Case "RDP", "ICA" </p><p>fctCheckTS = True </p><p>Case Else </p><p>fctCheckTS = False </p><p>End Select</p><p>End Function</p></blockquote><p></p>
[QUOTE="thachaser, post: 82749, member: 17851"] [url]http://riccardo.raneri.it/blog/eng/index.php/2006/04/24/windows-xp-multiuser-remote-desktop/[/url] You can find a manual example here. I'll post a link to the program tonight, because i don't have this @work [USER=17179]Bram[/USER] You can try to write a wsh script in vbs, that's detecting if you're running a RDP session. This has te be adjusted to run continueasly so it keeps checking for remote desktop. I found this here : [url]http://www.fpschultze.de/smartfaq+faq.faqid+87.htm[/url] : If fctCheckTS Then WScript.Echo "I am running on TS" End If Function fctCheckTS Dim objWsh : Set objWsh = WScript.Shell Select Case Left(objWsh.ExpandEnvironmentStrings("%SESSIONNAME%"),3) Case "RDP", "ICA" fctCheckTS = True Case Else fctCheckTS = False End Select End Function [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
Improvement Suggestions
[REQ] Detection of RDP connection and closing MP
Contact us
RSS
Top
Bottom