Hi,
I try to do some ondemand screen capture to monitor some machines on the network.
I have two autoit scripts, a sender (on pc1) who send mailslot to request a screencapture, and a listener (on pc2), running in the user session, who listen mailslot, get it, and do a screencapture.
Now :
- if pc2 have its session opened or locked, screencapture works nice, even when the session is locked I get the capture of the windows of the user desktop.
- if I connect to pc2 with rdp, the listener script get a black screencapture
- if I connect to pc2 with rdp, then close the rdp connection (the session stay opened on pc2), , the listener script get a black screencapture
So, how can I get a screencapture of the screen on pc2 when pc2 have been rdp connected and then unconnected ?
The scripts themselves are pretty simple, I use mailslot UDF, then on the listener when a mailslot beginning by 'screen' is detedted it does :
_ScreenCapture_Capture(@ScriptDir&"\FullScreen_"&@ComputerName&".jpg")
Any idea would be nice, having this function working would really rocks to monitor some calculating machines that we connect to only via rdp (there is no one working on the machine).
EDIT : all machines on win7 pro x64, with nvidia cards, on a domain (I am network admin in case gpo etc required)
Kib