Windows Desktop Wallpaper Registry Key Location
In Windows, the active desktop background image path for the currently logged-in user is stored directly within the Windows Registry. This article explains the exact registry key, the specific value name responsible for storing the image path, and how to locate or modify it using the Registry Editor.
The Wallpaper Registry Key and Value
The active desktop wallpaper path for the current user is controlled by the following registry key:
- Registry Key Path:
HKEY_CURRENT_USER\Control Panel\Desktop - Value Name:
Wallpaper - Value Type:
REG_SZ(String Value) - Value Data: The full file path to the active image
file (for example,
C:\Users\Username\Pictures\Wallpaper.jpgorC:\Users\Username\AppData\Roaming\Microsoft\Windows\Themes\TranscodedWallpaper)
How to View or Change the Wallpaper Path in Regedit
Press Windows Key + R, type
regedit, and press Enter to open the Registry Editor.Navigate through the left-hand folder tree to:
HKEY_CURRENT_USER\Control Panel\DesktopLocate the
Wallpaperstring value in the right-hand pane.Double-click
Wallpaperto view or edit the Value data field, which contains the full path to the image currently set as your desktop background.Enter a new file path if you want to change the image manually, then click OK.
Related Wallpaper Settings
Within the same HKEY_CURRENT_USER\Control Panel\Desktop
key, additional string values control how the image is displayed on the
screen:
WallpaperStyle: Defines the layout of the wallpaper (e.g.,0for Centered/Tiled,2for Stretched,6for Fit,10for Fill,22for Span).TileWallpaper: Set to1if the image is repeated across the screen as tiles, or0if it is not tiled.
Changes made directly in the registry will take effect after restarting Windows Explorer, signing out and back in, or restarting the computer.