Program a Function Key to Lock a PC

  • Thread starter Thread starter Felix Monclova
  • Start date Start date
F

Felix Monclova

Hi,

Looking to find out how to program a Function Key (IE. F5)
to lock a Windows XP PC. This would allow a doctor to
press one funtion key and "LOCK" the workstation once they
are done with a patient visit.

Is there a step by step procedure for this?

Thank You,
Regards,
Felix Monclova
 
Create a new shortcut on the Desktop. Give it the following command line:

%windir%\System32\rundll32.exe user32.dll,LockWorkStation

Name the shortcut as desired, then right click the newly created shortcut,
select Properties, and go to the Shortcut key field and press the desired
function key. Note, some function keys are reserved, F1 for Help, F5 for
Refresh and etc.
 
Greetings --

There at least 4 ways to lock a WinXP workstation:

1) Use the Windows Key + L hotkey.

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:



You can have peace. Or you can have freedom. Don't ever count on
having both at once. -- RAH
 
Hi,

Thank you for the help. I appreciate you taking your time.

Regards,
Felix Monclova
 
Hi,

Thank you for the help. I appreciate you taking your time.

Regards,
Felix Monclova
 
Greetings --

You're welcome.

Bruce Chambers

--
Help us help you:



You can have peace. Or you can have freedom. Don't ever count on
having both at once. -- RAH
 
Back
Top