Forum Discussion

Schulzi's avatar
Schulzi
Copper Contributor
Sep 10, 2020
Solved

Editing Lockscreen with Script via Registry

Hey there,

 

does somebody know the Registry-Path to edit the Lockscreen-Picture?

I want to automate it, so Powershell is the best way i guess.

 

Greetings

Yannik Schulz

  • 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”

8 Replies

  • HidMov's avatar
    HidMov
    Steel Contributor

    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”

    • Schulzi's avatar
      Schulzi
      Copper Contributor

      Hi HidMov 

       

      apparently it is an Error on my PC I used to write the scripts.

      Yesterday I set-up another PC and it worked there.

       

      Thanks for your help.

       

       

      Greetings

      Yannik Schulz

    • Schulzi's avatar
      Schulzi
      Copper Contributor

      HidMov 

       

      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

       

      • HidMov's avatar
        HidMov
        Steel 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?

Resources