Click here to Skip to main content
15,881,810 members
Articles / Operating Systems / Windows
Tip/Trick

Quickly lock your pc without using CTRL+ALT+DEL or a screensaver

Rate me:
Please Sign up or sign in to vote.
5.00/5 (4 votes)
12 Feb 2010CPOL 34.8K   4   3
Quickly lock your pc without using CTRL+ALT+DEL or a screensaver.You can simply double-click a shortcut on your desktop to quickly lock the your pc.STEPSTo create a shortcut on your desktop to lock your computer:Right-click the desktop.Point to New, and then click...
Quickly lock your pc without using CTRL+ALT+DEL or a screensaver.

You can simply double-click a shortcut on your desktop to quickly lock the your pc.

STEPS
To create a shortcut on your desktop to lock your computer:

Right-click the desktop.
Point to New, and then click Shortcut.

The Create Shortcut Wizard opens. In the text box, type the following:
rundll32.exe user32.dll,LockWorkStation

Click Next.

Enter a name for the shortcut. You can call it "Lock Workstation" or choose any name you like.

Click Finish.


You can also change the shortcut's icon if you wish to by:

Right click the shortcut and then select Properties.
Click the Shortcut tab, and then click the Change Icon button.

In the Look for icons in this file text box, type:
Shell32.dll.

Click OK.

Select one of the icons from the list and then click OK

You could also give it a single shortcut keystroke to be more convenient for you.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer sirdre.com
Canada Canada
I'm fascinated about new technology and innovations.

Comments and Discussions

 
GeneralReason for my vote of 5 Because my keyboard doesn't have a w... Pin
xsgluozi15-Jul-11 15:59
xsgluozi15-Jul-11 15:59 
AnswerRE:Even shorter way. Pin
Andre' Gardiner13-Feb-10 6:27
professionalAndre' Gardiner13-Feb-10 6:27 
AnswerEven shorter way. Pin
dwilliss13-Feb-10 4:40
dwilliss13-Feb-10 4:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.