I dont use Windows Spotlight, I use static Lock screen picture
I have a solution for this but
- you will lost your old lockscreen caches in a systemdata folder
- you have to use NSudo
in zip file
you need that file "NSudoC.exe" from that folder "NSudo 6.1.1811.18\x64\"
change that file with your lock screen image
make a backup of that file "C:\Windows\Web\Screen\img100.jpg" simply you can rename it img100bak.jpg or you can erase it too.
rename your personal lockscreen image to img100.jpg and replace it at "C:\Windows\Web\Screen\"
write this code in a bat file, NSudoC.exe must be next to that bat file
Code:
@echo off
COLOR 1F
(Net session >nul 2>&1)&&(cd /d "%~dp0")||(PowerShell start """%~0""" -verb RunAs & Exit /B)
FOR /F "tokens=3" %%A in ('reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI" /V "SelectedUserSID"') DO (SET SID=%%A)
NSudoC.exe -ShowWindowMode:show -Wait -UseCurrentConsole -U:T -P:E cmd /c "del /q /f "%ProgramData%\Microsoft\Windows\SystemData\S-1-5-18\ReadOnly\LockScreen_Z\*.*""
NSudoC.exe -ShowWindowMode:show -Wait -UseCurrentConsole -U:T -P:E cmd /c "del /q /f "%ProgramData%\Microsoft\Windows\SystemData\%SID%\ReadOnly\LockScreen_A\*.*""
NSudoC.exe -ShowWindowMode:show -Wait -UseCurrentConsole -U:T -P:E cmd /c "del /q /f "%ProgramData%\Microsoft\Windows\SystemData\%SID%\ReadOnly\LockScreen_Z\*.*""
PAUSE
EXIT
run the bat file
lock your computer, and you have to see the result
NOTE:
I never use Windows Spotlight, Slideshow or any build-in lockscreen image of Windows.
From start with a clean install, I use that codes in a script, my own script also replace my lockscreen image at "C:\Windows\Web\Screen\img100.jpg"
When I want to change the lockscreen, i do the same procedure, I dont use Settings to change lockscreen image any at all.