This tutorial will show you how to enable or disable the ability to lock the computer for all users in Windows 10 and Windows 11.
When you lock the computer, it protects the computer from unauthorized use when you need to step away from the PC, and don't want to sign out or shut down causing everything open to be closed.
When you lock the computer, you will be taken to the lock screen by default to dismiss 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.
If you prefer, you can completely disable the ability to lock the computer using any method forcing users to either sign out or shut down instead. If you disable lock computer, Lock will be removed from the Start menu, Power menus, Ctrl+Alt+Del screen, and Alt+F4 Shut Down Windows locations.
You must be signed in as an administrator to enable or disable lock computer.
Here's How:
1 Do step 2 (enable) or step 3 (disable) below for what you would like to do.
2 Enable Lock Computer for All Users
This is the default setting.
A) Click/tap on the Download button below to download the file below, and go to step 4 below.
Enable_Lock_computer.reg
Download
(Contents of REG file for reference)
Code:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
"DisableLockWorkstation"=dword:00000000
3 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.
Disable_Lock_computer.reg
Download
(Contents of REG file for reference)
Code:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
"DisableLockWorkstation"=dword:00000001
4 Save the .reg file to your desktop.
5 Double click/tap on the downloaded .reg file to merge it.
6 When prompted, click/tap on Run, Yes (UAC), Yes, and OK to approve the merge.
7 You could now delete the downloaded .reg file if you like.
That's it,
Shawn Brink
Related Tutorials
- Lock Computer in Windows 11
- Enable or Disable Ctrl+Alt+Delete Secure Sign-in on Lock Screen in Windows 11
- Turn On or Off Dynamic Lock to Automatically Lock Windows 11
- Automatically Lock Computer after Inactivity in Windows 11
- Enable or Disable Lock Screen in Windows 11
- Add or Remove Lock in Power Menu on Start Menu in Windows 11
Attachments
Last edited: