Change Wallpaper

Laxson Paradza 20 Reputation points

I am looking for a Powershell script that really work to change desktop wallpaper.

Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,174 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Erik Moreau 161 Reputation points MVP

    Hi @Laxson Paradza ,

    This does the job quite good:

    reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v Wallpaper /t REG_SZ /d C:\temp\NewWallpaper.png /f

    Start-Sleep -s 10

    rundll32.exe user32.dll, UpdatePerUserSystemParameters

    Hope this helps

    0 comments No comments