Happy Friday! I'm trying to somehow "poll" or something similar RDP sessions that are not currently active (we're talking using the windows mstsc.exe here) so that they do not reach the time limit that knocks them into username/password screen. Thing is, I can't seem to do it Here is what I've tried: func RDPKeepAlive()
$aActiveServers = winlist("- Remote Desktop")
$hActiveWin = WinGetHandle(WinGetTitle(""))
For $x = 1 to $aActiveServers[0][0]
If $hActiveWin <> $aActiveServers[$x]