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
- Press
Windows Key + Rto open the Run dialog box. - Type
regeditinto the field and pressEnteror click OK. - 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
- Check if a subkey named ActiveDesktop exists under the Policies folder.
- If it does not exist, right-click on the Policies folder, select New, and click Key.
- Name the new key
ActiveDesktopand pressEnter.
Step 4: Create and Configure the Value
- Click on the ActiveDesktop key in the left pane to open it.
- Right-click anywhere in the empty space in the right pane, select New, and choose DWORD (32-bit) Value.
- Name the value
NoChangingWallPaperand pressEnter. - Double-click the newly created
NoChangingWallPaperentry. - In the Value data field, change the value from
0to1. - 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:
- Navigate to:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System(Create theSystemkey if missing). - Right-click the right pane, select New >
String Value, and name it
Wallpaper. - Double-click
Wallpaperand enter the full file path of your image (e.g.,C:\Wallpapers\Corporate.jpg) into the Value data field. - (Optional) Create another String Value named
WallpaperStyleand set its value to2(Stretched),0(Centered), or4(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.