Determine Workstation Locked

Does anyone know how to detect if the workstation is currently locked?

I need to be able to tell if a system has been locked down. I also need to know how to tell if the system has someone logged into the computer.

This is a project to help augment a push install of some software to workstations but I need to be able to detect if the system is locked and then I can present the user with a dialog message asking them if they want to reboot now but if the system doesn't have anyone logged into it, I would just reboot the machine after pushing the software to the computer.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!