mirror of
https://github.com/W4RH4WK/Debloat-Windows-10.git
synced 2024-11-15 18:12:57 +00:00
add disable-new-lockscreen (#4)
This commit is contained in:
parent
74af698dbe
commit
0ce99d3e50
9
scripts/disable-new-lockscreen.ps1
Normal file
9
scripts/disable-new-lockscreen.ps1
Normal file
@ -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
|
||||||
|
"@)
|
Loading…
Reference in New Issue
Block a user