Background image via Intune

Brass Contributor

Hi All,

 

We're currently busy with the Look and Feel of our Autopilot Workplace.

One demand of the customer is to have a changeable background image on the workplace.

 

I've found Michael Nihaus' tool but it's not applicable in our environment due Enterprise State Roaming. (source: https://github.com/mtniehaus/AutopilotBranding )

 

I've searched for CSP strings but did not find what is needed...

(source: https://docs.microsoft.com/en-us/windows/client-management/mdm/personalization-csp )

(source: https://www.petervanderwoude.nl/post/easily-configure-desktop-and-lock-screen-image-via-windows-10-m... )

 

How do you handle this?

 

5 Replies

@Abdelhakim_Y95 

 

You could push this as a device configuration profile..

 

Then assign the machines you want, to the necessary profile.

 

A guide on configuration profiles is found here...

 

https://docs.microsoft.com/en-us/intune/device-profile-create

@tweetiepie1983 Thanks for your response.

 

It's not what i'm looking for. Deploying a background via the device configuration profile results in a static background which can not be changed by anyone. You'll get the statement that its set by computer policy and may not be changed. 

@Abdelhakim_Y95 

Okay no worries make sense..

What registry value locks down this change? Could you push out a PS script to amend it.

 

We recently done something similar to prompt users for the UAC windows pop up when trying to install software

@tweetiepie1983 Do you mean which value enables preventing change of the background image?

 

Important: This is a friendly reminder to let you know that editing the registry is risky, and it can cause irreversible damage to your installation if you don't do it correctly. We recommend making a full backup of your computer before proceeding.

 

In the same way as with the Local Group Policy Editor, there are two ways to accomplish this task, you can enforce a default desktop wallpaper, or you can prevent users from changing the desktop background settings.

 

Prevent users from changing desktop background

Before you begin, make sure to set an image as default on the desktop using the Settings app or right-clicking an image and selecting Set as desktop background.

Then if you're running Windows 10 Home, or you simply prefer to use the Registry to make changes to the OS, use the following steps to restrict users from setting a new wallpaper:

  1. Use the Windows key + R keyboard shortcut to open the Run command.
  2. Type regedit, and click OK to open the registry.
  3. Browse the following path:

    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies

  4. Right-click the Policies (folder) key, select New, and click on Key.

  5. Name the key ActiveDesktop and press Enter.
  6. Right-click on the right side, select New, and click on DWORD (32-bit) Value.

  7. Name the new DWORD NoChangingWallPaper and press Enter.
  8. Double-click the newly created DWORD and change its value from 0 to 1.

  9. Click OK.

After completing the steps, users will no longer be able to set a new image as a background using the Settings app and the right-click "Set as desktop background" will not work.

Thanks for your response, appreciated