"Offering free computer help, hints, and tips to the Internet populace." Now with over 3,820 tips!

Windows 7

Lock the Desktop from the Taskbar

SUMMARY: Add an icon to the Windows 7 Taskbar that locks the Desktop.


 

Many people lock their Windows desktop while they are away from their computer for a few minutes. In Windows 7 you can do this by pressing Windows Key + L. However, what if you frequently lock the desktop and would like a one-click shortcut directly from the taskbar?

1. Right-click an empty area of the Desktop and choose "New" - "Shortcut".

2. The "Create Shortcut" dialog box appears. Underneath "Type the location of the item", type in:

rundll32.exe user32.dll,LockWorkStation


Creating a new shortcut to lock the Windows 7 workstation




3. Click "Next" to continue.

4. Underneath "Type a name for this shortcut", enter your desired description text. For this example we'll use the following:

Lock the Desktop

5. Click "Finish" to make your shortcut.

6. We're not done yet. Right-click your new Desktop shortcut and click "Properties".


Accessing properties for the new "Lock the Desktop" shortcut




7. The "Lock the Desktop Properties" multi-tabbed dialog box appears. Click the "Change Icon" button.


Changing the icon for the new "Lock the Desktop" shortcut




8. The "Change Icon" dialog box appears. Underneath "Look for icons in this file" type in the following and press Enter:

shell32.dll

9. Now scroll through the list of icons and you should see a nice lock icon. Double-click it.

10. Click "OK" on the "Lock the Desktop Properties" dialog box to close it.


11. Now drag the icon to the taskbar. Click and hold the left mouse button on the icon, then drag the icon to the taskbar until "Pin to Taskbar" appears and then release the mouse button.

12. If you don't want to keep the shortcut on the Desktop, you can click on the "Lock the Desktop" icon and press Del to remove it.


This tip was written for Windows 7 RC. Screenshots and information are subject to change between this and the official release of Windows 7.




 

Got something to add? Post a comment!

Everyone is invited to submit comments. Registered users also receive their own visitor profile page with a summary of recent posts.
Register | Login

Your name:
 E-mail:
* Home/Blog Page:
Comment:
(Max chars: 5000)

* = optional field

 


Print This Tip

Get E-Mail When New Tips are Online

Return to the Windows 7 page.

 


New in MalekTips:

RSS Feeds- Subscribe!

You want the latest tech tips and tricks in your e-mail Inbox - FREE? Type your e-mail address below and click 'Get Tips!'.
 


( sample / details )
( opt-out instructions )