Prevent Locking of Computer

If you want to prevent users using the Lock Computer button, or don’t want to do it yourself (perhaps you are used from it from work, and don’t want to do it at home) then this tutorial explains how to disable and prevent locking of the computer.

Running Windows 10? Use our Registry Editor!

Are you running Windows 10? Then why not use 10Tweaker? Developed by WindowsInstructed for tweaking your Windows experience without endangering your system. You can download it by clicking on the button below. It includes more than 100 tweaks!

Download

The Tweak

Registry Editing can be dangerous and should be done with care. Please make a restore point before editing your registry. If you have doubts about what you are doing, then stop immediately and ask for support in the comments. We would like to remind you that editing your registry is at your own risk. If done wrong Registry Editing can lead to system corruption and might even make your system unusable resulting in re-installation of your operating system.

1. On your keyboard press the Windows flag and the R key at the same time (Windows +R) or open Start.

2. Now type Regedit.exe (1) and click on OK (2)

Run: Regedit Prevent Locking of Computer prevent locking of computer

Run: Regedit

3. Now Unfold HKEY_CURRENT_USER

HKEY_CURRENT_USER Prevent Locking of Computer prevent locking of computer

HKEY_CURRENT_USER

4. Then Unfold SOFTWARE

5. Then Unfold Microsoft

6. Then Unfold Windows

7. Then Unfold CurrentVersion

8. Then Unfold Policies

9. Then Unfold System

10. Now double-click on DisableLockWorkstation and change the value of DisableLockWorkstation to 1

If the key does not exists then right-click an empty spot and choose New then choose DWORD.

New DWORD Prevent Locking of Computer prevent locking of computer

New DWORD

11. Click on OK and close Regedit. A reboot might be necessary for the changes to take effect upon your system.

If you wish to disable this tweak at a later moment just repeat the steps above and change the value back to the original value, which was 0. If you have any questions about this tweak, please feel free to ask them.

What's your reaction?
Solved it!
0%
Helped me
0%
Didn't work
0%
Inaccurate Information
0%
About The Author
Yuri Pustjens
Yuri Pustjens
2014, 2015 & 2016 Microsoft Most Valuable Professional Windows Yuri specializes in troubleshooting (crash analysis and devices), system resource utilisation and system performance. He is also very interested in Customer Security. Yuri can be found as Windows Community Moderator and Wiki Author on Microsoft Answers and is active on different communities all across the web.

Leave a Response