Alex Hirsch
9 years ago
3 changed files with 17 additions and 20 deletions
@ -1,10 +0,0 @@ |
|||||
# Description: |
|
||||
# This script will disable the 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 |
|
||||
"@) |
|
@ -1,10 +0,0 @@ |
|||||
# Description: |
|
||||
# This script disables the new lock screen via Group Policies. |
|
||||
|
|
||||
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\reg-helper.psm1 |
|
||||
|
|
||||
echo "Disabling new lock screen" |
|
||||
Import-Registry(@" |
|
||||
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Personalization] |
|
||||
"NoLockScreen"=dword:00000001 |
|
||||
"@) |
|
@ -0,0 +1,17 @@ |
|||||
|
# 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 |
||||
|
"@) |
Loading…
Reference in new issue