file for locking the PC

G

Guest

Hey guys,

I'm looking for the file that is executed when I hit ctrl+alt+del -> Lock
Computer...

I'd like this file to be executed on one of my configurable
short-cut-buttons I got on my laptop... anybody any experience with this??

thx in advance + regards
Bobby
 
G

Gordon

Bobby said:
Hey guys,

I'm looking for the file that is executed when I hit ctrl+alt+del -> Lock
Computer...

"Windows key-L" will automatically lock the computer.
 
J

John John

It's an exported function of the user32.dll file. To execute it you can
use rundll32.exe user32.dll,LockWorkStation .

John
 
P

Pedro Lerma

Hi Jhon

where I can found all activities that could runn under rundll32.exe
user32.dll,

thanks
pedro
 
B

Bruce Chambers

Bobby said:
Hey guys,

I'm looking for the file that is executed when I hit ctrl+alt+del -> Lock
Computer...

I'd like this file to be executed on one of my configurable
short-cut-buttons I got on my laptop... anybody any experience with this??

thx in advance + regards
Bobby


There at least 4 ways to lock a WinXP (Home or Pro) workstation,
any of which can be used, regardless of domain membership. (In fact,
I'm not aware of any method of locking a computer that's dependent upon
the presence of a domain.):

1) Use the Windows Key + L hot key.

2) You can press CTRL+ALT+DEL and then <ENTER>, once you've turned off
the Welcome Screen and Fast User Switching. (This is the default in a
domain environment, as FUS is contrary to the domain security paradigm.)

3) You can create a desktop shortcut with
"%windir%\System32\rundll32.exe user32.dll, LockWorkStation" in the
target field. (It is case-sensitive, BTW.) You can then assign a
keyboard shortcut.

4) Set a password protected screensaver, and wait the allotted time
without touching the mouse or keyboard.


--

Bruce Chambers

Help us help you:



They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety. -Benjamin Franklin

Many people would rather die than think; in fact, most do. -Bertrand Russell
 

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

Top