Reply to thread

http://riccardo.raneri.it/blog/eng/index.php/2006/04/24/windows-xp-multiuser-remote-desktop/


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 : http://www.fpschultze.de/smartfaq+faq.faqid+87.htm :


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


Top Bottom