Instructions on how to package, upload, and configure a wallpaper management script as a Win32 app in Microsoft Intune. The script only copies or deposits a folder with potential wallpaper images. To actually configure the Wallpaper for the user there would also need to be an Intune Configuration Profile wih the setting "Desktop Wallpaper (User)" configured.
Below the instructions on how to package and distribute as Win32 App package.
- Microsoft Intune subscription
- Windows 10 or Windows 11 devices enrolled in Intune
- Administrative privileges on the Intune portal
- PowerShell scripting knowledge
- Prepare your PowerShell script that copies the desired wallpaper images to the
%SystemRoot%\Web\Wallpaper
directory. - Ensure the script includes parameters for install and uninstall actions.
- Download the Microsoft Win32 Content Prep Tool.
- Run the
IntuneWinAppUtil.exe
and follow the prompts to package your script and related files into an.intunewin
file.
- Log in to the Microsoft Endpoint Manager admin center.
- Navigate to
Apps
>Windows
. - Click on
+Add
and selectWindows app (Win32)
from the app type dropdown. - Upload the packaged
.intunewin
file.
⚠️ WARNING: This is an example, modify as needed.
📝 Note: Example instructions assumes you'll use "Nature" as parameter.
- Name: Wallpaper Management
- Description: This app configures the desktop wallpaper for Intune-managed devices.
- Publisher: [You might want to put your name here?]
- Install command:
powershell.exe -executionpolicy bypass -file ".\Install_Wallpaper.ps1" -theme "Nature"
- Uninstall command:
powershell.exe -executionpolicy bypass -file ".\Install_Wallpaper.ps1" -theme "Nature" -Uninstall
- Install behavior: System
- Rule type: File
- Path:
%SystemRoot%\Web\Wallpaper
- File or folder: Nature
- Detection method: File or folder exists
- Operating system architecture: Select as per your target devices
- Minimum operating system: Windows 10 or later
- The standard return codes.
- Assign the app to the relevant user or device groups as per your organizational policies.
- Check the Intune management portal for deployment status.
- Verify the wallpaper has been applied on a test device.
- Consult the script logs if available.
- For a deeper understanding of deploying wallpapers as a Win32 app and the rationale behind the script's file placement, refer to the following articles: