Skip to content

Instantly share code, notes, and snippets.

@Postrediori
Last active October 5, 2023 09:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Postrediori/f89ab31d0f7e10b1e9c09a3ac779bc59 to your computer and use it in GitHub Desktop.
Save Postrediori/f89ab31d0f7e10b1e9c09a3ac779bc59 to your computer and use it in GitHub Desktop.
Some info about where Windows stores info on desktop wallpapers

Wallpapers set from Photos app:

%LocalAppData%\Packages\Microsoft.Windows.Photos_8wekyb3d8bbwe\LocalState\PhotosAppBackground

Current wallpaper copy:

%APPDATA%\Microsoft\Windows\Themes\CachedFiles
%LOCALAPPDATA%\Microsoft\Windows\Themes\RoamedThemeFiles\DesktopBackground

Current wallpaper path:

HKCU\Control Panel\Desktop\WallPaper
HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Wallpapers\CurrentWallpaperPath

History of wallpapers:

HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Wallpapers\BackgroundHistoryPath0
HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Wallpapers\BackgroundHistoryPath1
...

Registry keys are duplicated in HKEY_USERS\S-1-5-...:

HKEY_USERS\S-1-5-...\Control Panel\Desktop\WallPaper
HKEY_USERS\S-1-5-...\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Wallpapers\BackgroundHistoryPath0
...

Standard wallpapers:

%windir%\Web
%windir%\Web\Screen
...

Photo app cache (may contain thumbnails for wallpapers):

%LocalAppData%\Microsoft\Windows\INetCache\thumbnails\normal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment