How to tell if the system is locked?

  • Thread starter Thread starter Tom Ker
  • Start date Start date
T

Tom Ker

Overnight processes we're trying to run cannot reboot the PC if it has been
locked by the user or screen saver. The processes do run and successfully
reboot it if the user has logged off and the system is at the CAD screen.

My question then is, what is the best way to tell if someone is logged onto
a system? Once I determine that someone's logged on, is there a way to tell
if the system has been locked by the user or has automatically locked
because of a secure screen saver timeout?

Thanks,

Tom
 
Well, it's easy enough to see if someone is logged in, but I don't know
how you can tell if the workstation is locked.

nbtstat -a %ComputerName%

and look for '<03>' (w/o the quotes)
 
Thanks,

Where can I find nbtstat?

Ricardo M. Urbano - W2K/NT4 MVP said:
Well, it's easy enough to see if someone is logged in, but I don't know
how you can tell if the workstation is locked.

nbtstat -a %ComputerName%

and look for '<03>' (w/o the quotes)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top