Assign wallpaper in intune

Filipe Augusto da Silva Braz 0 Reputation points
2025-02-12T17:00:23.43+00:00

Hi guys, i have deployed a wallpaper imagem to my organization through the intune, but in some machines doesnt apply, how i can force that deployment?

Microsoft Intune Configuration
Microsoft Intune Configuration
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Configuration: The process of arranging or setting up computer systems, hardware, or software.
1,996 questions
Microsoft Intune Application management
Microsoft Intune Application management
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Application management: The process of creating, configuring, managing, and monitoring applications.
982 questions
Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
5,568 questions
0 comments No comments
{count} votes

5 answers

Sort by: Most helpful
  1. Jonathan Pereira Castillo 14,460 Reputation points Microsoft Vendor
    2025-02-12T17:19:24.76+00:00

    Hi Filipe Augusto da Silva Braz!

    Welcome to Microsoft Q&A!

    It sounds like you're experiencing issues with deploying a wallpaper through Microsoft Intune on some devices. Here are some detailed steps and suggestions to help you troubleshoot and force the deployment:

    Steps to Troubleshoot and Force Wallpaper Deployment

    1. Verify Policy Status in Intune Portal
      • Go to the Intune portal and navigate to Devices > Configuration profiles.
      • Check the status of the wallpaper deployment policy to ensure it has been successfully applied to all targeted devices.
    2. Check Device Compliance
      • Ensure that the devices in question are compliant with the Intune policies. Non-compliant devices may not receive the wallpaper deployment.
      • Navigate to Devices > Monitor > Device compliance to check the compliance status.
    3. Check Registry Settings
      • On the affected devices, check the registry to see if the wallpaper policy has been applied: Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\PersonalizationCSP
      • Ensure that the wallpaper URL can be accessed from the device's browser.
    4. Update Device Configuration Profile
      • If the policy is not applying correctly, try updating the device configuration profile:
      • Go to Devices > Configuration profiles > Create profile.
      • Select Windows 10 and later > Device restrictions.
      • Configure the wallpaper settings and ensure the image URL is publicly accessible.
    5. Force Sync Intune Policies
      • On the affected devices, manually force a sync with Intune to apply the latest policies:
      • Open Settings > Accounts > Access work or school.
      • Select the connected account and click Info.
      • Click Sync to force a policy sync.
    6. Use PowerShell Script for Deployment
      • If the issue persists, consider using a PowerShell script to deploy the wallpaper. This can be done by creating a Win32 app in Intune and deploying the script:
      • Create a PowerShell script to set the wallpaper.
      • Package the script using the Microsoft Win32 Content Prep Tool.
      • Deploy the package as a Win32 app through Intune.

    I hope these tips help resolve your issue! If you need further assistance, I am here to help.

    Best regards, Jonathan


    Your feedback is very important to us! If this answer resolved your query, please click 'YES'. This helps us continuously improve the quality and relevance of our solutions. Thank you for your cooperation!

    0 comments No comments

  2. Filipe Augusto da Silva Braz 0 Reputation points
    2025-02-12T18:35:32.5+00:00

    In the regedit, doesnt have the Wallpaper URL, what to do?

    0 comments No comments

  3. Xenia-MSFT 4,290 Reputation points Microsoft Vendor
    2025-02-13T02:28:22.4333333+00:00

    @Filipe Augusto da Silva Braz Thanks for posting in our Q&A.

    To clarify this issue, we appreciate your help to collect some information:

    1.Which method did you use to deploy a wallpaper? Via configuration profile or PowerShell script?

    2.Please check if this profile's deployment shows success in intune portal.

    3.Is there any difference between these devices?

    4.Based on my researching, I find a script in the following post can be deployed to configure wallpaper via intune, you can test and see if it can work.

    https://www.reddit.com/r/Intune/comments/wvkoym/powershell_script_as_win32app_to_set_desktop/

    Note: Non-Microsoft link, just for the reference.

    If there is anything update, feel free to let us know.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  4. Filipe Augusto da Silva Braz 0 Reputation points
    2025-02-13T02:51:43.43+00:00

    Hello @Xenia-MSFT , i use the intune configuration profile, I even tested the custom OMA-URI configuration, but it also failed, the wallpaper was not deployed


  5. Thomas Samuel 0 Reputation points
    2025-02-17T14:50:14.3566667+00:00

    Hello!

    If you're using the Configuration Profile under Administrative Templates > Personalization, it's important to note that including a wallpaper URL here will only apply to machines if they are running the Enterprise edition of Windows 10/11.

    If your licensing is insufficient, you can use the below script to set the wallpaper. Make sure you set it to run as the logged in user (not system).

    If ($ENV:PROCESSOR_ARCHITEW6432 -eq "AMD64") {
        Try {
            &"$ENV:WINDIR\SysNative\WindowsPowershell\v1.0\PowerShell.exe" -File $PSCOMMANDPATH
        }
        Catch {
            Throw "Failed to start $PSCOMMANDPATH"
        }
        Exit
    }
    $RegKeyPath = "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\PersonalizationCSP"
    
    
    $DesktopPath = "DesktopImagePath"
    $DesktopStatus = "DesktopImageStatus"
    $DesktopUrl = "DesktopImageUrl"
    
    $StatusValue = "1"
    
    
    $url = "<URL TO WALLPAPER>"
    $DesktopImageValue = "C:\Users\Public\wallpaper\desktop-wallpaper.jpeg"
    $directory = "C:\Users\Public\wallpaper"
    
    
    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 | Out-Null
    New-ItemProperty -Path $RegKeyPath -Name $DesktopPath -Value $DesktopImageValue -PropertyType STRING -Force | Out-Null
    New-ItemProperty -Path $RegKeyPath -Name $DesktopUrl -Value $DesktopImageValue -PropertyType STRING -Force | Out-Null
    
    RUNDLL32.EXE USER32.DLL, UpdatePerUserSystemParameters 1, True
    
    

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.