You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
510 B
18 lines
510 B
9 years ago
|
# Description:
|
||
|
# This script disables the new lock screen and login screen background
|
||
|
# image.
|
||
|
|
||
|
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\reg-helper.psm1
|
||
|
|
||
|
echo "Disabling login screen background image"
|
||
|
Import-Registry(@"
|
||
|
[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\System]
|
||
|
"DisableLogonBackgroundImage"=dword:00000001
|
||
|
"@)
|
||
|
|
||
|
echo "Disabling new lock screen"
|
||
|
Import-Registry(@"
|
||
|
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Personalization]
|
||
|
"NoLockScreen"=dword:00000001
|
||
|
"@)
|