Set Corporate Wallpaper with Intune for Non Windows 10 Enterprise or Windows 10 Education Machines
By default, there is an Intune device configuration property that can set a devices wallpaper (Profile Type: Device Restrictions > Personalization) BUT this is only applicable on devices running Windows 10 Enterprise and Windows 10 Education. Luckily, using PowerShell we can download a image from the web, save it locally, and set it as our users wallpapers.
First we need to create our PowerShell script. In PowerShell ISE I created the following script and saved it to my local machine
$RegKeyPath = "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\PersonalizationCSP" $DesktopPath = "DesktopImagePath" $DesktopStatus = "DesktopImageStatus" $DesktopUrl = "DesktopImageUrl" $StatusValue = "1" $url = "https://www.thelazyadministrator.com/wp-content/uploads/2019/07/nicewall.jpg" $DesktopImageValue = "C:\MDM\wallpaper_LazyAdmin.jpg" $directory = "C:\MDM\" If ((Test-Path -Path $directory) -eq $false) { New-Item -Path $directory -ItemType directory } $wc = New-Object System.Net.WebClient $wc.DownloadFile($url, $DesktopImageValue) if (!(Test-Path $RegKeyPath)) { Write-Host "Creating registry path $($RegKeyPath)." New-Item -Path $RegKeyPath -Force | Out-Null } New-ItemProperty -Path $RegKeyPath -Name $DesktopStatus -Value $StatusValue -PropertyType DWORD -Force |… Continue...