Quickly locking your Windows PC


Okay, I know you can press Windows Key + L but I really like to have an icon in my taskbar for this little task so every time I install a Windows OS I tend to add this as one of my first tweaks. Why? Well I learnt early on at Microsoft that leaving your PC unlocked when you walk off to get coffee can result in email being sent from your account that can be quite embarrassing :)

Here's how to create a quick lock app on your taskbar

  1. Right click on your deksotp and select New, Shortcut
  2. Paste this text in - rundll32.exe user32.dll,LockWorkStation
  3. Click next and type a name for the shortcut (e.g. Lock)
  4. Click finish
  5. You can right click on your new shortcut and change the icon (there is a lock icon as part of the collection in %SystemRoot%\system32\SHELL32.dll)
  6. Now drag the icon to your taskbar

Done :)