Forum Discussion
Editing Lockscreen with Script via Registry
- Sep 10, 2020
Hi Schulzi
You will need to create a Registry Value in key HKLM\Software\Policies\Microsoft\Windows\Personalization called LockScreenImage with a value of pointing to the file you want to use for lockscreen
You can also do this via Group Policy Computer Configuration > Policies > Administrative Templates > Control Panel > Personalization > “Force a specific default lock screen image”
Hi Schulzi
You will need to create a Registry Value in key HKLM\Software\Policies\Microsoft\Windows\Personalization called LockScreenImage with a value of pointing to the file you want to use for lockscreen
You can also do this via Group Policy Computer Configuration > Policies > Administrative Templates > Control Panel > Personalization > “Force a specific default lock screen image”
did not worked for me...
If I edit the Registy-Entry, nothing happens-it wont change the Lockscreen Picture to the specified value.
Maybe I did something wrong?
Had to create the Registry-Key but normally that shouldn't be a problem.
And is it possible to create a Lockscreen-Diashow on the same way as well??
Greetings
Yannik Schulz
- HidMovSep 23, 2020Iron Contributor
Hi Schulzi
Aside from the usual cavets with the machine being able to see the shared folder where the image resides, I'm not too sure what might have gone wrong. Does it work if you try it from the GPO, and if so is the reg key the same?
- SchulziOct 05, 2020Brass Contributor
Hi HidMov
me again.
So now that I know how that works, can I create a Slideshow on the same way aswell?
After that, I think we should have everything for the Lockscreen via Registry for everybody that is looking editing Lockscreen via Registry
PS: The best for everyone to read is probably to get all in one post and mark it as "Best Response"
Greetings
Yannik Schulz
- SchulziSep 28, 2020Brass Contributor
Hi HidMov
no, it does not work in GP aswell...
Path of the Picture is accessible for every User on the PC...(C:\install\Useful\Lockscreen.jpg)
I also tried putting it in "C:\Windows\Web\Screen" didn't work either
Greetings Schulzi
- HidMovSep 28, 2020Iron Contributor
Hi Schulzi
Sorry to hear you are having issues still. I've just spun up a test Win10 machine and manually added in the key and a downloaded a .jpg and it's set up the lockscreen to the picture after a gpupdate
The reg key is as shown:
The only thing I can recommend is to have a look through the event logs and see if there is any mention of the GPO being unable to apply and if it has an error. Have you also tried a different picture format/resolution/bit depth?