Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Unlock Workstation NT with a screensaver

6 views
Skip to first unread message

OUDRE

unread,
Dec 17, 1999, 3:00:00 AM12/17/99
to
I want to delock a station with a VBS (senkeys ~%{DEL}) but the programm is
not running .

Can I help me ?

Michael Harris

unread,
Dec 17, 1999, 3:00:00 AM12/17/99
to
Ctrl+Alt+Del sent through Sendkeys goes in the bit-bucket.  I doubt that you can programmatically unlock a work station with script (or possibly any other programming language).  What would you do when the password dialog popped up anyway?  Hard code your username/password in the script/program?  It's not even until Win2K that there is an API function LockWorkstation() to lock the workstation, but ASFAIK no UnlockWorkstation().

--
Michael Harris

Shawn

unread,
Dec 17, 1999, 3:00:00 AM12/17/99
to
This can be done (sorta)....

Modify the key to 0 as so.... "hkcu\control
panel\desktop\screensaverIsSecure=0"


The next time someone jiggles the mouse the password screen will come up,
but the screen saver (the logon screen saver anyway) will re-read the
registry setting for itself as it goes back to sleep from the jiggle (about
a minute later), the next time it's jiggled, it's not locked.

I did this to fix a hung SMS job throughout our environment a couple months
ago. I scheduled an AT command using Reg.exe from the Resource Kit because
you cannot get to HKCU remotely. We just had to have someone jiggle the
mouse on the workstations in their area to get it going, but not an Admin.

You may be able to get some code to work that attempts to wake the machine
(the replacement of jiggle the mouse) and it should work. It's kludgy but it
does work and in my opinion is a security flaw!

Shawn

"Michael Harris" <Please....@To.NewsGroup> wrote in message
news:OioCAoMS$GA.267@cppssbbsa05...

Dale Strickland-Clark

unread,
Dec 18, 1999, 3:00:00 AM12/18/99
to
That's excellent. What a fun trick.

Dale Strickland-Clark


Shawn <m...@viser.net> wrote in message
news:eXlEerNS$GA....@cppssbbsa02.microsoft.com...

0 new messages