General discussion

Locked

Remotely Checking If A Server Is Locked

By Aakash Shah ·
Is there a way to remotely check whether all my Windows 2000/2003 servers have been locked. I imagine that some change is made to the registry when the computer is locked, but I don't quite know what. All of my servers have screensavers that are usually set to lock after 1 minute, but occasionally, we disable the screensaver when working on the servers for longer periods of time. I want a way to verify before I leave for the night that all the servers are indeed locked.

Thanks.

This conversation is currently closed to new comments.

6 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

by Aakash Shah In reply to Remotely Checking If A Se ...

Point value changed by question poster.

Collapse -

by Nico Baggus In reply to Remotely Checking If A Se ...

If you have VNC installed on your servers you
can allways access the console. The If there is
a screen saver active you can have to unlock it
first to use your system. If not you can start
your screen save from a distance.

It also makes your screen systems manageble from
a remote location.

If you have a tool that can view processes on a
remote computer you should be able to see if
your screen save is running from the list of
active programs.
A toolset like this should be able to help you

http://www.sysinternals.com/Utilities/PsTools.html

Kind regards,
Nico Baggus

Collapse -

by Aakash Shah In reply to

Nico:

Thanks for responding. I tried running "pslist \\comp_name scrn" and found that it did tell me when the screensaver was activated. However, it could not tell me whether the computer was locked. If the computer was locked, but the screensaver had not clicked in yet, then the program would not return any information. I am trying to determine whether a remote computer is locked. Any other suggestions, please?
Thanks!

Collapse -

by Gigelul In reply to Remotely Checking If A Se ...

Hi,
An interesting questions, so I search a while and I found this:

http://www.softpedia.com/get/System/System-Miscellaneous/PowerOff.shtml

Actually have more options not PowerOff only. I tried "lock" options on my XP desktop and it works.
You can try it or search for other tools.

Collapse -

by Aakash Shah In reply to

Florinel: Thanks for responding. This looks like what I was looking for. I also found another way of approaching this problem without having to use other programs:
1. Create a shortcut with the target as "%windir%\System32\rundll32.exe user32.dll,LockWorkStation"
2. Set a scheduled task to automatically run this after hours.

Thank for your help though!

Collapse -

by Aakash Shah In reply to Remotely Checking If A Se ...

This question was closed by the author

Back to Security Forum
6 total posts (Page 1 of 1)  

Related Discussions

Related Forums