Search code examples
windowspowershellwallpaper

Windows 10 Set default wallpaper for anyone who logs in?


Is there a way to set the default wallpaper for a new user logging into windows 10? I was supplied with the script below but only works for the current user. Is this possible to set it for any user that logs in?

Function Set-WallPaper($Value)
 {
    Set-ItemProperty -path 'HKCU:\Control Panel\Desktop\' -name wallpaper -value $value
    rundll32.exe user32.dll, UpdatePerUserSystemParameters
 }

Solution

  • For some reason that registry entry doesn't work with new profiles in Windows 10. Some other setup process clobbers it. I've seen scripts where the default .jpg is made writeable and then replaced. http://ccmexec.com/2015/08/replacing-default-wallpaper-in-windows-10-using-scriptmdtsccm/