Page 1 of 1

Is there a key sequence to Lock a T520 or any Think Pad?

Posted: Tue May 10, 2011 4:04 pm
by Dude
Is there a key sequence to Lock a T520 or any Think Pad? The fastest way I can Lock it now, is press Windows Key > select the arrow next to Shut Down, select Lock. In a rush it is all to easy to hit the Shut Down button, so that is annouying to say the least.

Re: Is there a key sequence to Lock a T520 or any Think Pad?

Posted: Tue May 10, 2011 4:38 pm
by blackomegax
since XP
winkey+L

Re: Is there a key sequence to Lock a T520 or any Think Pad?

Posted: Tue May 10, 2011 4:39 pm
by EOMtp
... or create a shortcut on the Quick Launch Toolbar; then it's one click, + it can be executed remotely.
The shortcut should point to:
%windir%\System32\Rundll32.exe user32.dll,LockWorkStation

Re: Is there a key sequence to Lock a T520 or any Think Pad?

Posted: Tue May 10, 2011 6:23 pm
by yak
blackomegax wrote:since XP
winkey+L
Didn't know that. I always used Fn+F2 followed by Enter.

Re: Is there a key sequence to Lock a T520 or any Think Pad?

Posted: Tue May 10, 2011 7:39 pm
by blackomegax
in the win98 days
i set up a desktop shortcut to a screen saver and set auto-lock in it, then bound a hotkey to it.ctrl-alt-shift+whatever was close at hand.

Re: Is there a key sequence to Lock a T520 or any Think Pad?

Posted: Tue May 10, 2011 9:21 pm
by craigmontHunter
I know about the Fn+F2 hotkey, but winkeyL always seemed faster. Now if you could set an option so that Fn+F2 could turn off the screen when it locks the system, that would be all I used (right not it is winkeyL then Fn+F3)

Re: Is there a key sequence to Lock a T520 or any Think Pad?

Posted: Wed May 11, 2011 12:02 am
by Colonel O'Neill

Code: Select all

Sleep 100
SendMessage 0x112, 0xF170, 2,,Program Manager
Run %WinDir%\System32\rundll32.exe user32.dll`,LockWorkStation
Compile to EXE using AutoHotkey, rename to TPFnF2.exe, replace the one in C:\Program Files\Lenovo\HOTKEY with the compiled exe and voila. :mrgreen:

Re: Is there a key sequence to Lock a T520 or any Think Pad?

Posted: Wed May 11, 2011 5:24 am
by craigmontHunter
:bow: :bow: :bow: Thank You - That works awesome (just what I was looking for) :bow: :bow: :bow: :bow:

Re: Is there a key sequence to Lock a T520 or any Think Pad?

Posted: Wed May 11, 2011 9:40 am
by Dude
blackomegax wrote:since XP
winkey+L
Haha, jokes on me, my IBM T43 does not have a Winkey.

These are all good solutions. Thanks. :bow:

Re: Is there a key sequence to Lock a T520 or any Think Pad?

Posted: Wed May 11, 2011 10:00 am
by craigmontHunter
Since you do not have the winkey, you have the choice of fn+f2, or use keyboard customizer to map a key to the winkey (I always used the right control key, you may need to see what works for you)

Re: Is there a key sequence to Lock a T520 or any Think Pad?

Posted: Wed May 11, 2011 3:55 pm
by blackomegax
use the IBM hotkey tool to re-assign right-alt as winkey. problem solved. :D