Apologies ..my mistake.... you are correct.
From the moment you click the "Lock Computer" option, PrintScrn appears to
be disabled.
Also tried to capture it using the following vbs script in conjunction with
an ActiveX object making API calls to capture the screen. That didn't
capture it either (ie running the script, waiting one minute and then
relogging on). Last screen captured was at the point where you click the
"Lock Computer" option.
'*********************************************
set ScreenCapture = WScript.CreateObject("Screen.Capture")
time1 = Now
do
if minute(now) - minute(time1) > 0 then wscript.quit
ScreenCapture.PrintScreen
loop
'**************************************
where the ActiveX component (with ProgID "Screen.Capture") consisted of the
following Visual Basic code to capture the screen to clipboard
Option Explicit
Private Declare Sub keybd_event Lib "user32" (ByVal bVk As Byte, ByVal _
bScan As Byte, ByVal dwFlags As Long, ByVal dwExtraInfo As Long)
Private Const VK_SNAPSHOT = &H2C
Sub PrintScreen()
keybd_event VK_SNAPSHOT, 1, 0, 0
End Sub
Jon
Dan Quinton said:
Jon
Are you certain you have captured the windows security screen? The
question was not about the task manager, but the Windows security screen
where you can lock the computer/change password etc.