Lock Windows Wallpaper Using Registry Editor

This guide explains how system administrators can lock down the desktop background in Windows to prevent unauthorized modifications using the Windows Registry Editor (Regedit). By configuring specific registry policies, administrators can enforce a uniform corporate wallpaper across managed accounts and completely disable the user interface options for changing the desktop background.

Step 1: Open the Registry Editor

  1. Press Windows Key + R to open the Run dialog.
  2. Type regedit and press Enter (or click OK).
  3. If prompted by User Account Control (UAC), click Yes to continue.

Step 2: Enforce the Background Image Path

To set a specific image as the permanent desktop background:

  1. Navigate to the following path:

    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies

    (Note: To apply this globally for all users on the machine, navigate to HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies instead.)

  2. Right-click the Policies key, select New > Key, and name it System (if it does not already exist).

  3. Select the System key. In the right pane, right-click and choose New > String Value.

  4. Name this value Wallpaper.

  5. Double-click Wallpaper and set its Value data to the full file path of your desired image (e.g., C:\Wallpapers\corporate_background.jpg).

  6. Right-click in the right pane again, choose New > String Value, and name it WallpaperStyle.

  7. Double-click WallpaperStyle and enter a value to define how the image is displayed:

    • 0 = Centered
    • 1 = Tiled
    • 2 = Stretched
    • 3 = Fit
    • 4 = Fill
    • 5 = Span

Step 3: Prevent Users from Changing the Background

To disable the personalization settings and block users from modifying the wallpaper:

  1. Navigate to:

    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\ActiveDesktop

    (If the ActiveDesktop key does not exist under Policies, right-click Policies, choose New > Key, and name it ActiveDesktop.)

  2. Right-click inside the ActiveDesktop key, select New > DWORD (32-bit) Value, and name it NoChangingWallPaper.

  3. Double-click NoChangingWallPaper and set its Value data to 1.

  4. Click OK.


Step 4: Apply the Changes

To make the restrictions take effect immediately:

  1. Open Task Manager (Ctrl + Shift + Esc).
  2. Locate Windows Explorer under the Processes tab.
  3. Right-click it and select Restart, or simply log out and sign back in to the Windows account.

Once applied, the specified background will be locked in place, and the background customization options in the Windows Settings app will be grayed out with a message stating that the setting is managed by the organization.