Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Lock Computer - Create Shortcut


Lock Computer - Create Shortcut

How to Create a "Lock Computer" Shortcut in Windows 7 and Windows 8
Published by edrik
15 Jun 2009
Published by

How to Create a "Lock Computer" Shortcut in Windows 7 and Windows 8

information   Information
This tutorial will show you how to create a Lock Computer shortcut that can be used where you like in Windows 7 and Windows 8.

Tip   Tip
By default, you can also press the Windows + L keys to lock the computer.





Here's How:

1. Right click anywhere on your desktop, and click/tap on New and Shortcut.

2. Type rundll32.exe user32.dll,LockWorkStation and click/tap on Next.
Name:  createshortcut.png
Views: 81534
Size:  88.5 KB
3. Type Lock Computer for the name, and click/tap on Finish.
NOTE: You can name this shortcut what you like though.
Name:  lockcomputer.png
Views: 79977
Size:  74.7 KB
4. You are done. Now next time you want to lock your computer, simply click this shortcut. That’s all. Enjoy!

Tip   Tip
This is the icon I'm using right now if you would like to use it for your shortcut too.
Name:  lock.png
Views: 150894
Size:  10.0 KB


5. In Windows 7, you can now Pin to Taskbar or Pin to Start Menu, add to Quick Launch, assign a keyboard shortcut to it, or move this shortcut to where you like for easy use.

6. In Windows 8, you can Pin to Taskbar on desktop, Pin to Start screen, add to Quick Launch, assign a keyboard shortcut to it, or move this shortcut to where you like for easy use.










15 Jun 2009   #1
Chris White

Windows 7
 
 

I've been using Win-L for so long, it's second nature.


My System SpecsSystem Spec
15 Jun 2009   #2
edrik

Windows 7 Home Premium SP1 64-bit
 
 

well after creating the shortcut you could pin it at your taskbar and then delete the shortcut...

that way you could lock your computer in one click
My System SpecsSystem Spec
Comment

 Lock Computer - Create Shortcut




Tutorial Tools




Similar help and support threads
Windows 7 Tutorial Category
Restart Computer Shortcut - Create
How to Create a "Restart Computer" Shortcut in Windows This will show you how to create or download a Restart computer shortcut with or without a time-out delay and custom restart message before the computer restarts. The time-out period can also be for how many seconds you have to use the...
Tutorials
Remote Desktop Connection Shortcut - Create for Specific Computer
How to Create a "Remote Desktop Connection" Shortcut to a Specific Computer This tutorial will show you how to create a custom Remote Desktop Connection (RDC) shortcut that opens a RDC to a specific computer in Vista, Windows 7, and Windows 8. While all editions of Vista, Windows 7, and...
Tutorials
Num Lock - Create Shortcut in Windows
How to Create a Desktop Shortcut to Turn Num Lock ON or OFF Some modern laptop keyboards have no Num Lock key. Instead the user needs to set Num Lock in BIOS. Various applications might turn Num Lock ON or OFF without user knowing of it. This tutorial will show you how to create a...
Tutorials
Shut Down Computer Shortcut - Create
How to Create a Force "Shut Down" Computer Shortcut in Windows This will show you how to create or download a force Shut Down computer shortcut with or without a time-out delay and custom shutdown message before the computer shuts down and powered off. The time-out period can also be for...
Tutorials
Set Program Access and Computer Defaults Shortcut - Create
How to Create a "Set Program Access and Computer Defaults" Shortcut in Windows A program configuration specifies default programs for certain activities, such as Web browsing or sending e-mail, and which programs are accessible from the Start menu, desktop, and other locations. This...
Tutorials
Computer Name Properties Shortcut - Create
How to Create a "Computer Name Properties" Shortcut in Vista, Windows 7, and Windows 8 This tutorial will show you how to create or download a Computer Name properties shortcut that opens directly to the Computer Name tab in System Properties in Vista, Windows 7, and Windows 8. You must be...
Tutorials


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 00:07.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App