Change Lock Screen and Desktop Background in Windows 10 Pro

This script allows you to change logon screen and desktop background in Windows 10 Professional using GPO startup script

5 Star
8,759 times
Add to favorites
E-mail Twitter Digg Facebook
Sign in to ask a question

  • GPO setup
    1 Posts | Last post November 27, 2019
    • Tell me with what parameters to configure the GPO
  • What are the settings to make the login screen a slideshow?
    1 Posts | Last post October 22, 2019
    • What do I need to change to make the lock screen a slideshow?
  • ps didnt work
    3 Posts | Last post September 13, 2019
    • we change the path to our shard storage to get the log screen 
      The term 'Set-Screen' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, 
      verify that the path is correct and try again.
          + CategoryInfo          : ObjectNotFound: (Set-Screen:String) [], CommandNotFoundExcepti
    • Set-Screen is the script name. You have to run it from PowerShell console:
      .\Set-Screen.ps1 -LockScreenSource "\\SERVER-FS01\LockScreen.jpg" -BackgroundSource "\\SERVER-FS01\BackgroundScreen.jpg" -LogPath "\\SERVER-FS01\Logs"
    • Consulta, cual es la forma correcta de ejecutar este script.
  • is there a way to change the desktop instantly?
    3 Posts | Last post June 18, 2019
    • Currenlty when you run the script you have to reboot to see the changes.
    • From posts like this:
      I can see you need to add this line and, for me, it worked (Windows 10 1809).
      rundll32.exe user32.dll, UpdatePerUserSystemParameters
    • Hi maximojo22
      can you indicate where you added the line "rundll32.exe user32.dll, UpdatePerUserSystemParameters" in the script?
      thank you
  • Windows 7 Support?
    1 Posts | Last post June 06, 2019
    • Thanks for the script! Works perfectly on my Windows 10 pro clients. I have some Windows 8 and Windows 7 Pro PCs on my network as well. Do you have a version of this script that can detect OS and run the corresponding commands? File locations are different on Windows 7, and I'm new to powershell :(
  • help?
    1 Posts | Last post April 27, 2019
    • I can't find the registry key PersonalizationCSP to delete - is this a  problem?
      What do I change to insert the path of the file I wanna use?
      What else I gotta change, I think it's only the source file path right (lock screen only)?
      PS, RE [ahmad alhendi / ps didnt work] I think ".\" missing twice in your examples  
          Set Lock Screen and Desktop Wallpaper with logs: 
          Set-Screen -LockScreenSource "\\SERVER-FS01\LockScreen.jpg" -BackgroundSource "\\SERVER-FS01\BackgroundScreen.jpg" -LogPath "\\SERVER-FS01\Logs" 
          Set Lock Screen and Desktop Wallpaper without logs: 
          Set-Screen -LockScreenSource "\\SERVER-FS01\LockScreen.jpg" -BackgroundSource "\\SERVER-
      ***Should read as?***
          Set Lock Screen and Desktop Wallpaper with logs: 
          .\Set-Screen -LockScreenSource "\\SERVER-FS01\LockScreen.jpg" -BackgroundSource "\\SERVER-FS01\BackgroundScreen.jpg" -LogPath "\\SERVER-FS01\Logs" 
          Set Lock Screen and Desktop Wallpaper without logs: 
          .\Set-Screen -LockScreenSource "\\SERVER-FS01\LockScreen.jpg" -BackgroundSource "\\SERVER-
  • Change picture
    2 Posts | Last post March 12, 2019
    • It seems you have to delete the PersonalizationCSP from the registry before you can apply a different lockscreen.
      Has anyone found a way around this?
    • Hi Marc, do you mean delete PersonalizationCSP and reboot before changing it again?
  • Breaks the Control Panel?
    1 Posts | Last post February 04, 2019
    • Seems to work, but now I can't change things the normal way in Control Panel. It says "Some settings are hidden or managed by your organization."
  • Change the Lockscreen twice doesn't work
    1 Posts | Last post January 16, 2019
    • Hi, I tried the script with win 10 1803 pro, It worked well BUT then I wanted to change the Lockscreen again with another image and It didn't work.
      I delete the Resgistry folder "PersonalizationCSP" and the C:\Windows\System32\LockScreen.jpg and I  rebooted the PC. I was able to change manually the lockscreen but when I used the script to change with  my new image It always used the first lokscreen image. It was like there is somewhere a copy of the lock screen.
      I checked the path in the  PersonalizationCSP and the C:\Windows\System32\LockScreen.jpg and the picture is good but the picture showne in the lockscreen.jpg is still the first one I used.
      Could you help me ? Thanks
  • In what versions of Windows 10 does it work?
    2 Posts | Last post November 05, 2018
    • In Windows 10 1803 and it does not work.
      He asks me to activate the Education mode.
      Is any change necessary to make it work?
    • I have no problem running it on Windows 1803 Pro. Lock screen changes as expected.