Create a shortcut to lock your desktop.
Create a shortcut to lock your desktop.
Create a new file on your desktop with a name like "Lock.bat" or "WhoGivesAFuckWhatTheFileIsCalled.bat". Open it in Notepad and insert the following line: rundll32.exe user32.dll, LockWorkStation. Save the document. Go back to the desktop and double-click the file to lock your computer. REMOVE: Simply make a shortcut to rundll32.exe user32.dll.
I've set up a quick shortcut to rundll32.exe with the required DLL.
Hi, To protect your machine by locking it when you're not at your desk, use the built-in feature: if you're on a domain, press Ctrl+Alt+Del and select Lock Computer. Only you and members of the Administrators group can unlock it—just press Ctrl+Alt+Del, enter your password, then click OK. For faster security, add a shortcut to your desktop: 1) Right-click an empty space, choose New → Shortcut. 2) In the Location field, type %windir%\System32\rundll32.exe user32.dll,LockWorkStation. 3) Click Next, name it something like "Lock Computer," then Finish.