How to Disable Lock Screen in Windows 10?

Do you find the Windows 10 lock screen inconvenient and unnecessary in desktop computers? This post explains the different methods to disable Lock Screen in Windows 10 Anniversary Update v1607 and higher.

Windows 10 v1511 allowed users to disable Lock Screen using Group Policy or equivalent registry-based policy setting. Unfortunately, Microsoft took back this GPO setting in the Anniversary Update.

With the Anniversary Update, the NoLockScreen registry value and its corresponding GPO “Do not display the lock screen” has no effect in Windows 10 Home and Professional Editions. These settings now apply only to Enterprise and Education editions. But here are some ways to disable Windows 10 Lock Screen — instructions apply to any edition and build of Windows 10.

Disable Lock Screen in Windows 10

Method 1: Using Task Scheduler

The following registry value if set to 0, disables the lock screen and shows the logon screen instead when the computer is locked. Note that the lock screen would still show at startup and there seems to be no workaround for that, other than using a 3rd party patching tool as in “Option 3” in this post.

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI\SessionData

The problem is, every time you login to your account or unlock the computer, the value data is automatically set to 1.

A participant at Quarter to three forums (via Ghacks) has a clever workaround for this. The trick is to create a Scheduled Task which resets the value data to 0 on these two trigger events:

  1. At logon
  2. Workstation unlock

Create a task that runs the following command-line, and set it to run with highest privileges.

reg.exe add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI\SessionData /t REG_DWORD /v AllowLockScreen /d 0 /f

Download the Task

To quickly create this task, download Disable Lock Screen.XML task. Then from the Actions pane in Task Scheduler, click Import task.. and import the XML file you downloaded.

disable lock screen windows 10 anniversary update

After importing it, the task properties would look like this:

disable lock screen in windows 10

disable lock screen in windows 10

disable lock screen in windows 10

After importing the task, lock the computer (WinKey + L) to test it. From the 2nd time, you’ll see the logon screen instead of the lock screen.

Method 2: Rename the LockApp folder

When you lock the workstation the system runs LockApp.exe which is responsible for displaying the Lock Screen. So to prevent it from running, simply rename the following folder using File Explorer.

C:\Windows\SystemApps\Microsoft.LockApp_cw5n1h2txyewy

disable lock screen windows 10

Add “-OLD” suffix to that folder, so that the system won’t be able to locate LockApp.exe.

There are many PC and laptop users who are not very much fond of the Lock screen. The lock screen although conceals the login screen with a nice looking wallpaper, it take an extra mouse click or key press to go to the login screen where you input your credentials. This is not just during the first login, but every time you need to unlock a workstation – locked either due to screensaver or power options timeout, when resuming from sleep or hibernate mode, or the user voluntarily locked the workstation earlier. The extra key press is certainly a pain for PC, laptop users.

About the author

Ramesh Srinivasan founded Winhelponline.com back in 2005. He is passionate about Microsoft technologies and has a vast experience in the ITeS industry — delivering support for Microsoft's consumer products. He has been a Microsoft MVP [2003 to 2012] who contributes to various Windows support forums.

14 thoughts on “How to Disable Lock Screen in Windows 10?

  1. God damn. Finally. The slider is so fucking annoying. My login fails EVERY TIME I try to login it responds so slowly. So frustrating.

  2. Don’t use this scheduled task! It’s dangerous! I installed it and then my computer was almost broken. It could no longer log off or shut down. After restart, Explorer was constantly crashing until the system locked completely. I needed to delete this task with regedit in safe mode, now it works again.

  3. I tried a few other “solutions” that failed to mention that they didn’t work with the “home” anniversary version of Windows 10.

    That was time wasted, but you have really solved the issue with the task scheduler workaround.

    Thank you very much!

  4. There’s a third, nice way, to do this with group policy: simply prevent any exe file to run from %WinDir%\SystemApps\Microsoft.LockApp_cw5n1h2txyewy

    Computer Configuration/Policies/Windows Settings/Security Settings/Software Restriction Policies

    Right click on that and create a new rule
    New Path Rule:
    Path: %WinDir%\SystemApps\Microsoft.LockApp_cw5n1h2txyewy
    Security Level: Dissalowed
    Description: Block the “Lock Screen” feature on Windows 10 1607 by preventing it from being executed

  5. THANK YOU SO MUCH!!!

    Really, this hurts newcomers who are my mom’s age too. For them to go from Windows 7 to Windows 10, where they have to double click, it gets confusing as hell. she just wants to click login and go! I had to sit down with her and explain how to do it, instead of her being able to just use her computer!!

    This fix definitely worked. Especially method 2!!! THANK YOU!! Hopefully they wont fix these and force this dumbass thing on us in a future update…

  6. Does not work at all for me. Tried creating my own task schedule, did nothing so I deleted it, then imported the xml, which also did nothing.

  7. At least with the first method above, using the scheduled task, there seems to be an unintended consequence of messing up whatever you might set as the background picture for the lock screen (which can now also used as the background of the sign-in screen).

    There’s no rhyme or reason to it — sometimes the sign-in screen and switch user backgrounds will properly get set to what you choose in the lock screen Personalization settings on the first lock, sometimes just the switch user screen background will get set to what you choose and sometimes both will remain the default cave-beach picture. But then, after unlocking and locking the machine again, one or both will go back to the default cave-beach background! This hack needs further work.

  8. I too am finding the lock screen reappears during each startup (in 1607). If there were some way to permanently block the lock screen, or as an alternative, to make the lock screen all black (the options to change the images also don’t seem to work) it would be very greatly appreciated!

Comments are closed.