Tech Tip: Change Background on Multiple Desktops in Windows 11

When setting a photo as your desktop background in Windows 11, it only sets the background on the currently focused virtual desktop. In this guide, I'll walk you through how to set an image as your desktop background on all desktops at the same time.

To get this working, you'll need the PSVirtualDesktop PowerShell commands.

  1. Open up a Powershell window as an administrator
  2. Enter Install-Module VirtualDesktop
  3. Press 'Y' at each step to confirm installing

Once you have it installed, you can set a wallpaper as your background on all desktops with the following PowerShell command: Set-AllDesktopWallpapers followed by a space, and then the path to your image you want as your background. The easiest way to grab the image path is to open it in explorer, right-click, "Copy as path" and paste the path into the PowerShell window.

Easiest way to copy a file path

Following all the above steps should look roughly like the below screenshot:

Enjoy easily being able to set all of your desktop backgrounds in one command!

Benjamin Kaiser

Benjamin Kaiser

Software Engineer working on the SharePoint team at Microsoft. I'm passionate about open source, slurpess, and Jesus.
Gold Coast, Australia

Post Comments