Prevent Users Changing Wallpaper Using Regedit

This guide explains how Windows administrators can prevent users from modifying their desktop background image by configuring the Windows Registry Editor. By adding a specific policy key to the registry, you can disable the wallpaper customization settings in Windows Settings and the Control Panel, ensuring a consistent desktop environment across managed user accounts.

Step 1: Open the Registry Editor

  1. Press Windows Key + R to open the Run dialog box.
  2. Type regedit into the field and press Enter or click OK.
  3. Click Yes if prompted by User Account Control (UAC).

Step 2: Navigate to the Policies Key

To apply the restriction to the current logged-in user, navigate to the following path using the left-hand navigation pane:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies

Note: To apply this restriction to all users on the machine, navigate to the same subfolder under HKEY_LOCAL_MACHINE instead:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies

Step 3: Create the ActiveDesktop Key

  1. Check if a subkey named ActiveDesktop exists under the Policies folder.
  2. If it does not exist, right-click on the Policies folder, select New, and click Key.
  3. Name the new key ActiveDesktop and press Enter.

Step 4: Create and Configure the Value

  1. Click on the ActiveDesktop key in the left pane to open it.
  2. Right-click anywhere in the empty space in the right pane, select New, and choose DWORD (32-bit) Value.
  3. Name the value NoChangingWallPaper and press Enter.
  4. Double-click the newly created NoChangingWallPaper entry.
  5. In the Value data field, change the value from 0 to 1.
  6. Ensure the Base is set to Hexadecimal, then click OK.

Step 5: (Optional) Enforce a Specific Default Wallpaper

If you also want to mandate a specific image before locking it:

  1. Navigate to: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System (Create the System key if missing).
  2. Right-click the right pane, select New > String Value, and name it Wallpaper.
  3. Double-click Wallpaper and enter the full file path of your image (e.g., C:\Wallpapers\Corporate.jpg) into the Value data field.
  4. (Optional) Create another String Value named WallpaperStyle and set its value to 2 (Stretched), 0 (Centered), or 4 (Fit).

Step 6: Apply the Changes

Close the Registry Editor and either restart the computer, sign out and sign back in, or restart the Windows Explorer process via Task Manager for the policy to take effect.

Once applied, the background customization options in the Windows Settings app will be grayed out with a message stating that the settings are managed by your organization. To reverse this change, navigate back to the NoChangingWallPaper value and set its data to 0, or delete the value entirely.