7,023 questions
Hello,
To allow users to select multiple wallpapers from their laptops and manage this through Active Directory Group Policy (GPO), you can use a combination of GPO settings and folder redirection or script-based approaches. However, Windows does not natively support rotating multiple wallpapers using GPO directly. Instead, you can achieve this functionality with the following approach:
- Allow Users to Change Desktop Background
- Ensure that users have permission to change their desktop backgrounds. This is controlled via a GPO setting:
- Navigate to User Configuration > Administrative Templates > Control Panel > Personalization.
- Set Prevent changing desktop background to Disabled.
- Deploy a Wallpaper Folder
- Create a shared folder on a server where users can access multiple wallpapers.
- Use folder redirection or a logon script to copy or map this folder to users' local machines.
- Custom Script for Wallpaper Rotation
- You can deploy a PowerShell script via GPO that rotates wallpapers at a set interval:
powershellCopy code
$wallpapers = Get-ChildItem "C:\Wallpapers"
foreach ($wallpaper in $wallpapers) {
Set-ItemProperty -Path 'HKCU:\Control Panel\Desktop\' -Name wallpaper -Value $wallpaper.FullName
rundll32.exe user32.dll, UpdatePerUserSystemParameters
Start-Sleep -Seconds 600 # Change wallpaper every 10 minutes
}
- You can deploy this script through a scheduled task or a GPO startup script.
- GPO Settings for Wallpaper
- If you want to enforce a specific wallpaper, you can set it via:
- User Configuration > Administrative Templates > Desktop > Desktop > Desktop Wallpaper.
- Set the path to the desired wallpaper.
Thanks