Information does not exist in the Inventory. You would have to script. Somewhat complex as you would have to interrogate the event logs and look for event http://www.ultimatewindowssecurity.com/securitylog/encyclopedia/event.aspx?eventid=4800. Just wondering why you would need to know this? If you set the lock policy via GPO the screen lock when you define. Also be advised that pprior to Windows Vista there is no event when a workstation is locked. Unlock is a pair of events (528+538) with logon type 7.
Is it to know the activity or for security reasons? For security, as Zman said, it's better to force a policy. Anyway, I think you need to take a look at Marxtar's Power State Notifier, a great little tool, but I'm sure Mark will join this discussion to tell you all about it : http://landesk.marxtar.co.uk/Products/MarXtar/State_Notifier/LANDesk%20State%20Notifier.html
1 of 1 people found this helpful
And here I am!
Indeed, State Notifier collects the real-time information of the machine and user state including the locking of the device so you can see at a glance how long a machine has been in a particular state and set alerts so you know when people come back to their desk (amongst other things).
Take a look and give the trial version a go to make sure it does what you need.
Thanks for the plug Frank
MarXtar Ltd/MarXtar Corporation
LANDesk Expert Solution Provider
The One-Stop Shop for LANDesk Enhancements
Update - New Stand-Alone State Notifier Console for Service Desk Operators
Update - State Notifier now detects machine and user Idle states
Update - WoW & State Notifier now integrate for even more functionality
Thanks. I will take a look at the MarXTar trial. This was to monitor employees who work a second shift and managers wanted to know if they were away from they computers when they shouldn't be.
Sorry Mark I forgot about the state notification of your product.