Lock Computer

How to Create a Lock Computer Shortcut in Vista


information   Information
This will show you how to create a shortcut to Lock the computer. You can place this shortcut where you like for easy usage.
Note   Note
When you lock the computer, there is also a Switch User option in the lock computer Security Screen as well.
Tip   Tip
If you would like to create a keyboard shortcut key for this new Lock Computer shortcut, then see: How to Create a Keyboard Shortcut for a Program in Vista

EXAMPLE: Default Lock Location in the Start Menu
NOTE:
The default Lock keyboard shortcut is Windows Key + L.
Lock_Before.jpg




METHOD ONE
Download the "Lock Computer" Shortcut

1. Click on the download button below to download the Lock.zip file.​
download

2. Click on Save and save it to the Desktop.​
3. Right click on the Lock.zip (On desktop) and click on Open.​
4. Click on Allow in the UAC prompt.​
5. Extract the Lock Computer shortcut to the desktop.​
6. Put the shortcut where you like for easy use.​
7. When done, you can delete the Lock.zip file.​





METHOD TWO
Manually Create the "Lock Computer" Shortcut

1. Right click on a empty area of desktop.​
2. Click on New and Shortcut.​
3. Type rundll32.exe user32.dll, LockWorkStation into the location area. (See screenshot below step 4)​
4. Click on the Next button.​
Location.jpg

5. Type Lock Computer for the name. (See screenshot below step 6)​
NOTE: You can name it anything you would like.
6. Click on the Finish button.​
Name.jpg

7. Right click on the new Lock Computer shortcut (on desktop) and click on Properties.​
8. Click on the Change Icon button. (See screenshot below)​
NOTE: For more on how to change a shortcut folder or file icon, see: How to Change a Shortcut Folder or File Icon in Vista
Properties.jpg

9. Click on the Browse button. (See screenshot below step 12)​
NOTE: If you have your own icon you would rather use, then just navigate to where you have it saved. Vista needs a 256 bit icon for the best viewing results.
10. Scroll down and click on the file imageres.dll and click Open button. (See screenshot below)​
imageres.jpg

11. Click on the icon highlighted in blue below. (See screenshot below)​
12. Click on OK.​
Change Icon.jpg

13. Click on OK to apply. (See screenshot below step 8)​
14. Move or copy the new Lock Computer shortcut to wherever you like for easy use.​
That's it,
Shawn


 

Attachments

  • Lock.zip
    642 bytes · Views: 3,105
Last edited:
Hi Jim,

They are close to being the same thing. When you have multiple user accounts, the Switch User will let you select a user account where the Lock computer will just let you log back on to the current user account by default.

Shawn
 

My Computers

System One System Two

  • Operating System
    Windows 10 Pro 64-bit
    Manufacturer/Model
    Custom
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G7 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gb/s Download and 35 Mb/s Upload
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S23 Plus phone
  • Operating System
    Windows 10 Pro
    Manufacturer/Model
    HP Envy Y0F94AV
    CPU
    i7-7500U @ 2.70 GHz
    Memory
    16 GB DDR4-2133
    Graphics card(s)
    NVIDIA GeForce 940MX
    Sound Card
    Conexant ISST Audio
    Monitor(s) Displays
    17.3" UHD IPS touch
    Screen Resolution
    3480 x 2160
    Hard Drives
    512 GB M.2 SSD
Jim,

Especially when you can just click on the red box arrow and select Switch User from the Lock screen.
 

My Computers

System One System Two

  • Operating System
    Windows 10 Pro 64-bit
    Manufacturer/Model
    Custom
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G7 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gb/s Download and 35 Mb/s Upload
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S23 Plus phone
  • Operating System
    Windows 10 Pro
    Manufacturer/Model
    HP Envy Y0F94AV
    CPU
    i7-7500U @ 2.70 GHz
    Memory
    16 GB DDR4-2133
    Graphics card(s)
    NVIDIA GeForce 940MX
    Sound Card
    Conexant ISST Audio
    Monitor(s) Displays
    17.3" UHD IPS touch
    Screen Resolution
    3480 x 2160
    Hard Drives
    512 GB M.2 SSD
Back
Top