bodja_b

Lock the Computer By a Shortcut

Jan 8th, 2017
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.95 KB | None | 0 0
  1. Lock the Computer By a Shortcut
  2.  
  3. Just follow these steps...
  4.  
  5. Right click on an empty area of the desktop and choose new >shortcut.
  6. The create shortcut wizard will open
  7. In the first text box, type ‘%windir%\System32\rundll32.exe user32.dll,LockWorkStation’ and then give your shortcut an appropriate name on the next page like "Locker" and hit finish
  8. You will notice that the shortcut you created has a blank icon. To select a more appropriate one, right click on the shortcut and hit properties. In the shortcut tab, click the change icon button.
  9. In the ‘look for icons in this file’ box, type ‘%SystemRoot%\system32\SHELL32.dll’ then click ‘ok’ to see a range of icons for your new shortcut. Choose an appropriate icon. Your desktop locking shortcut is now ready for use.
  10. This works on Windows 8 and Windows 7 (tested). Now you don't have to look Rude when you want to lock your PC in a close situation just a click will do that.
Advertisement
Add Comment
Please, Sign In to add comment