[Tip] Disable or Remove Windows 10 Lock Screen

Lock Screen feature was first introduced in Windows 8 operating system which works similar to the Lock screen present in a smartphone. It shows current date and time along with a background wallpaper which can be customized. The same Lock Screen is also present in the latest Windows 10 operating system.

But for some Windows users this Lock Screen might be a useless and unnecessary addition as it requires one extra step in sign into Windows Desktop. Following is the screenshot of the Windows 10 Lock Screen in action:


Long time back we shared a group policy trick and registry tweak to disable Lock Screen in Windows 8, Windows 8.1 and Windows 10 operating systems which can be found at following link:

How to Disable Lock Screen in Windows 8 and Later?

Unfortunately that trick no longer works in the recently released Windows 10 Anniversary Update (version 1607). If you have upgraded to the Anniversary Update build of Windows 10 and you apply the previous trick to turn off the Lock Screen, it'll not work as expected. The Lock Screen will still appear at login.

It seems Microsoft has removed that group policy support for Windows 10 Pro edition. Now this group policy only works in Windows 10 Enterprise, Server and Education editions. The same group policy preference is still present in Group Policy Editor but if you apply it in Pro edition, it doesn't disable Lock Screen.

Don't worry! There are still tricks to disable Lock Screen in newer Windows 10 builds such as Anniversary Update. Today in this topic, we are going to share 2 methods to disable or completely remove the Lock Screen in Windows 10.

After following these methods, Windows will directly show the login screen without showing the Lock Screen as shown in following screenshot:


So without wasting time, let's start the tutorial:

METHOD 1: Disable Windows 10 Lock Screen Using Registry Editor

Microsoft has added a new key in Windows Registry to customize the Lock Screen visibility. Check out following steps to disable Lock Screen in Windows 10 Anniversary Update:

1. Press "WIN+R" key combination to launch RUN dialog box then type regedit and press Enter. It'll open Registry Editor.

2. Now go to following key:


3. In right-side pane, double-click on AllowLockScreen DWORD and set its value to 0


That's it. Try to lock your computer by pressing WIN+L keys together and you'll not see the Lock Screen. It'll directly show the Login Screen.

NOTE: For your convenience, we are providing ready-made registry script to automatically disable the Lock Screen. You can download following ZIP file, extract it and run the extracted REG file:

Download Registry Script to Disable Lock Screen in Windows 10

But there is a small issue in this method! The AllowLockScreen DWORD is automatically reset to 1 after each unlock. For example, you change the value of AllowLockScreen to 0 and then you lock Windows. Now when you unlock it and check value of AllowLockScreen in Registry, it'll be again set to 1 by Windows.

To overcome this issue, you'll need to either apply the Registry trick each time you unlock the computer or create a new task in Task Scheduler to apply the Registry tweak every time which is not very comfortable.

We have another method to completely disable or remove Lock Screen in Windows 10 and it'll never appear again. Check out following method:

METHOD 2: Remove Windows 10 Lock Screen Completely

This method will always work whether its the new Windows 10 Anniversary Update or previous Windows 10 RTM or November Update build.

Actually Lock Screen is shown by an exe file LockApp.exe present in C:\Windows\SystemApps\Microsoft.LockApp_cw5n1h2txyewy folder and if you delete or rename this folder, Windows will be unable to find the file and will never show Lock Screen.

We have already shared this method in following article:

[Windows 10 Tip] Remove Cortana, Microsoft Edge, Contact Support and Feedback Apps

Check out BONUS TIP 1 in the above mentioned tutorial.

For your convenience, we are sharing the same trick again here:

1. Open This PC and go to "C:\Windows\SystemApps" folder.

2. Now rename "Microsoft.LockApp_cw5n1h2txyewy" folder. Just add anything before the original folder name. For example you can add BACK or ! (Exclamation mark) or any desired text before folder name.


We renamed the folder to !Microsoft.LockApp_cw5n1h2txyewy and it immediately disabled the Lock Screen completely in Windows 10.

NOTE: If you find any difficulty in renaming the folder, take ownership of the folder first using any of following tutorial and then rename the folder:

[Tip] Add "Take Ownership" Option in Files / Folders Context Menu in Windows

[Guide] How to Take Ownership of a File or Folder Manually in Windows

That's it guys. You can safely rename the Lock Screen folder and it'll have no side effects. You can see in the screenshot that we have also renamed Contact Support, Cortana and Xbox folders to get rid of those apps as well.

Also Check:

[Windows 10 Fun Tip] Disable Login Screen and Lock Screen and Enable Console Mode

How to Disable or Change Background Image of Windows 10 Login Screen

How to Automatic Log into Windows Without Entering Username and Password?


Please share this article: Facebook | Twitter | Google+ | Reddit | Tell a friend

Posted in: Windows 10

Next: Follow us on social networks | Tip us | List of popular articles

Other similar articles that may interest you


  • Tried method #2 and although it stopped the Lock Screen via the Winkey + L route, it didnt stop it on a reboot. By that I mean rebooted my machine and it went straight to the Lock Screen.

    Any idea's?

  • VG

    ^^ The LockApp file is used by Windows when you are already signed in and lock the Desktop. The lock screen shown at system startup is different and integrated into Windows Shell.

  • Hi! I tried the Registry Script ( Well, I also did it manually before that ) and after restart it shows Logon Screen again. Then I checked the registry, it came back to default one. Any ideas? I didn't try Method 2 so i have no idea about it. Thank you :)

  • Neither of these two methods work.

    Method 1: registry setting resets to enabled (1) after sleep/reboot.

    Method 2: folder remains renamed with "!" character, but lock screen displays anyway upon reboot.

  • VG


    I already told that registry value is automatically reset to 1 by Windows upon unlock so you'll need to rerun the registry script each time. Or create a new task to run it automatically.

    Regarding renaming lock screen folder, it'll prevent lock screen after each unlock attempt. The lock screen will be shown only once when you reboot the computer.

  • VG,

    You mentioned this:
    The LockApp file is used by Windows when you are already signed in and lock the Desktop. The lock screen shown at system startup is different and integrated into Windows Shell.

    The old registry key to remove the lock screen at system startup worked until I upgraded to build 1607. Is there a way to eliminate the lock screen at system startup (e.g. go directly to the logon screen)?


  • VG

    ^^ Try following trick:


  • VG,

    Thanks for replying

    For security reasons, I prefer to log on to a machine using my user name and password. What I really want is to eliminate the lock screen while logging onto a machine. This functionality work on the prior build but not on the new build (1607).

    Do you know of any workarounds?


  • VG

    ^^ Check out following:


  • Hi VG,
    thank you so much for your work. Your tips and tricks are very usefull !

    I would like to set my Desktop wallpaper with the SlideShow option, with a personal pictures folder. And of course, I want it to do it with command lines / registry editions. ;)
    I would like to do it also for my LockScreen.

    Do you have a solution for me ?

    Keep going !


  • VG

    ^^ You can set image slideshow on Desktop as well as Lock Screen using Settings -> Personalization.

  • Hi,
    yes, of course ! But is there a way to do it without going and clicking in Settings etc. ? I would like to do it with command lines or registry editions only.
    Thank you for your answer !

  • VG

    ^^ The desktop wallpaper slideshow settings are stored in following Registry key:


  • Thanks for the guide VG, you rock! One question though. When I'm away from my computer long enough for the screen to turn off, the lock screen is back when I wake the screen back up. I did the trick and renamed the SystemApps file, but would like if my computer went straight to my desktop when waking the screen back up. Thanks again!

  • VG

    ^^ Try following:


Leave a Comment