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
This can be done by editing the registry (or using the Local Group Policy editor in Windows 10 Pro and higher versions prior to the "Anniversary Update" release).
(Assumes your system is not part of a domain.)
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
Disable the lock screen....how you do that on the current version of Windows 10 has been explained in another answer to a question – Ramhound – 2016-08-02T20:27:16.200