diff --git a/scripts/disable-new-lockscreen.ps1 b/scripts/disable-new-lockscreen.ps1 new file mode 100644 index 0000000..9683836 --- /dev/null +++ b/scripts/disable-new-lockscreen.ps1 @@ -0,0 +1,9 @@ +# Description: +# This script disables the new lock screen via Group Policies. + +Import-Module -DisableNameChecking $PSScriptRoot\..\lib\reg-helper.psm1 + +Import-Registry(@" +[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Personalization] +"NoLockScreen"=dword:00000001 +"@)