Hy guys!
After much research and breaking the head, I got a simple and clean method of changing the windows 10 lock screen to the image you want and prevent the user from modifying it.
1º - Place in dependence on Kace the image , it will be copied to a local folder in windows... In my case I used the C:\#Utilitarios , as it already exists on all computers in the company.. but don't worry, if the folder doesn't exist, KACE creates it for you, wherever it is.
2º - In Success, create a batch file and insert this script:
reg add HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\PersonalizationCSP /f /reg:64
reg add HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\PersonalizationCSP /v LockScreenImageStatus /t REG_DWORD /d 00000001 /f /reg:64
reg add HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\PersonalizationCSP /v LockScreenImagePath /t REG_SZ /d C:\#Utilitarios\LockScreenImage.jpg /f /reg:64
reg add HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\PersonalizationCSP /v LockScreenImageUrl /t REG_SZ /d C:\#Utilitarios\LockScreenImage.jpg /f /reg:64
replace C:\#Utilitarios\LockScreenImage.jpg the path of your image
If all goes well, it will show you this :
As you can see in the included screenshot here, the background is still set for Windows Spotlight and you can no longer change it via the dropdown. It doesn't always happen right away, but I have seen that after a period of time the Windows Spotlight clickbait text boxes start to pop up over your custom lockscreen image... which ends up looking sort of silly. - jjacob 3 years ago