Forum Discussion
AB21805
Feb 04, 2022Bronze Contributor
unable to change backgroud on devices via intune
Hi all, I am using: $RegKeyPath = "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\PersonalizationCSP" $DesktopPath = "DesktopImagePath" $DesktopStatus = "DesktopImageStatus" $DesktopUrl = ...
AB21805
Feb 05, 2022Bronze Contributor
Hi both Rudy_Ooms_MVP Harm_Veenstra
So seems like the script works but for some odd reason it doesn't like the URL I used for the image. this image opens fine when entering on a incognito browser
So I have got it working a long way but it works even though the script fails.on intune.
What I have done is push the image out via win32 app to go into the location c:\MDM then the script does the rest. Even though this works I think the script is failing due to it having code in it which I no longer need due to deploying the image through a win32 app.
Any ideas which bit i need to remove? so it says successful on intune rather than failed for the script
Feb 05, 2022
If it does work, the wallpaper is actually set on the machine, then it could be that the script exits with a bad error code. You could try ending the script with "exit 0" ?