How do I kill the lockscreen after the Windows 10 anniversary update?

Solution 1:

For Anniversary Update Builds

There is a workaround to disable the Lock Screen in Anniversary Update builds, in any edition of Windows.

Create a Scheduled Task that runs the following command-line, or a batch/script that runs the following command:

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

The idea is to reset the AllowLockScreen value data to 0 on these two trigger events:

  • Log on
  • Workstation unlock.

So you need to use multiple triggers for that task.

(or)

Download the Task XML from here: How to Disable the Lock Screen in Windows 10 Anniversary Update (1607)?

And use the Import Task option in Scheduler to create/import the task automatically.

Lock the workstation and unlock it. From the 2nd time onwards you shouldn't see the lock screen.

For Pre-Anniversary Update Builds

Start Regedit.exe and go to:

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows

Create a subkey named Personalization

Select Personalization and in the right-pane, create a REG_DWORD value named NoLockScreen and set its value data to 1.

Exit the Registry Editor.

This registry edit corresponds to the following GPO.

Computer Configuration > Administrative Templates > Control Panel > Personalization > Do not display the lock screen