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.
11 lines
482 B
11 lines
482 B
# Description:
|
|
# This script disables the new lock screen and login screen background
|
|
# image.
|
|
|
|
echo "Disabling login screen background image"
|
|
mkdir -Force "HKLM:\Software\Policies\Microsoft\Windows\System"
|
|
sp "HKLM:\Software\Policies\Microsoft\Windows\System" "DisableLogonBackgroundImage" 1
|
|
|
|
echo "Disabling new lock screen"
|
|
mkdir -Force "HKLM:\SOFTWARE\Policies\Microsoft\Windows\Personalization"
|
|
sp "HKLM:\SOFTWARE\Policies\Microsoft\Windows\Personalization" "NoLockScreen" 1
|
|
|