From 0ce99d3e505054ae36d2f97247cad1134e208a4b Mon Sep 17 00:00:00 2001 From: Alex Hirsch Date: Thu, 13 Aug 2015 21:42:17 +0200 Subject: [PATCH] add disable-new-lockscreen (#4) --- scripts/disable-new-lockscreen.ps1 | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 scripts/disable-new-lockscreen.ps1 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 +"@)