Slackbot
05/19/2020, 7:56 AMDennis
05/19/2020, 9:20 AMWindows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Personalization]
"NoLockScreen"=dword:00000001
"LockScreenImage"="C:\\Windows\\Web\\Wallpaper\\Windows\\img0.jpg"
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\System]
"DisableLogonBackgroundImage"=dword:00000001
"LockScreenOverlaysDisabled"=dword:00000001Dennis
05/19/2020, 9:22 AMtakeown /f $ENV:SystemRoot\WEB\wallpaper\Windows\img0.jpg
takeown /f $ENV:SystemRoot\Web\4K\Wallpaper\Windows\*.*
icacls $ENV:SystemRoot\WEB\wallpaper\Windows\img0.jpg /Grant 'System:(F)' '*S-1-5-32-544:(F)'
icacls $ENV:SystemRoot\Web\4K\Wallpaper\Windows\*.* /Grant 'System:(F)' '*S-1-5-32-544:(F)'
if (-NOT (get-childitem -Recurse $ENV:SystemRoot\WEB\wallpaper\Windows | Where-Object {$_.name -eq "<http://img0.jp|img0.jp>_"})) {
Rename-Item $ENV:SystemRoot\WEB\wallpaper\Windows\img0.jpg $ENV:SystemRoot\WEB\wallpaper\Windows\<http://img0.jp|img0.jp>_ -EA SilentlyContinue
Dir $ENV:SystemRoot\Web\4K\Wallpaper\Windows | Rename-Item -NewName { [io.path]::ChangeExtension($_.name, "jp_") }
cp "your_source\Wallpaper\Windows\img0.jpg" $ENV:SystemRoot\Web\Wallpaper\Windows -EA SilentlyContinue
cp "your_source\Wallpaper\4K\*.*" $ENV:SystemRoot\Web\4K\Wallpaper\Windows -EA SilentlyContinue