Published by

Brink's Avatar

Posts: 32,325

Show Printable Version 

How to Enable or Disable Lock Computer in Windows

information   Information
Locking your PC protects it from unauthorized use when you need to step away from the PC, and don't want to sign out or shut down. When you lock the computer, you will be taken to the lock screen by default to dismiss (unlock) and sign in when ready to continue where you left off. Other users can still sign in to their accounts from the sign-in screen.

This tutorial will show you how to enable or disable the ability to lock the computer for all users in Vista, Windows 7, Windows 8, and Windows 10.

If you disable lock computer, Lock will also be removed from the Start menu, Power menu, Ctrl+Alt+Del screen, and Alt+F4 Shut Down Windows locations in Windows.

You must be signed in to Windows as an administrator to enable or disable lock computer.

Note   Note
I would like to thank our member @WOT for bringing this to my attention to create a tutorial for.

The downloadable .reg files below will modify the DWORD in the registry key below.

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon

DisableLockWorkstation DWORD

0 = Enable
1 = Disable

Here's How:

1. Do step 2 (enable) or step 3 (disable) below for what you would like to do.

 2. To Enable Lock Computer for All Users

NOTE: This is the default setting.

A) Click/tap on the Download button below to download the file below, and go to step 4 below.



 3. To Disable Lock Computer for All Users

A) Click/tap on the Download button below to download the file below, and go to step 4 below.



4. Save the .reg file to your desktop.

5. Double click/tap on the downloaded .reg file to merge it.

6. If prompted, click/tap on Run, Yes (UAC), Yes, and OK to approve the merge.

7. If you like, you can delete the downloaded .reg file if you like.

That's it,