Path to current desktop backgrounds in Windows 10?
There is another question on here that allows users to find the path to their current background image through a cmd command.
In Windows 10 this no longer works. It only returns the first image in the folder, it does not change with the backgrounds as they transition. I need a similar command that returns the path(s) to the current image on the desktop background(s) that actually works in Windows 10 if one exists.
5 Answers 5
A copy of the current wallpaper can be found by typing the below path in Windows File Explorer address bar.
Path 1 —
%AppData%\Microsoft\Windows\Themes\CachedFiles
If you don’t find a copy of your current desktop background image here, try below path instead.
Path 2 —
%AppData%\Microsoft\Windows\Themes\TranscodedWallpaper
Note: The file TranscodedWallpaper in Path 2 does not have a file extension. Use «Open With» or «How do you want to open this file?» dialogue box and select any image viewer, such as, «Windows Photo Viewer», «Honeyview» or the «Photos» app.
Note for Windows 10: The above locations have limitations. For example, if the wallpaper you’re looking for is no longer visible in the ‘Background’ tab in the Settings app, you can’t recover it. It will work for your last five wallpapers but nothing older. (Source)
Default Windows wallpapers can be found in
You will see 3 folders
- «4K» for 4K wallpapers,
- «Screen» for lock screen backgrounds, &
- «Wallpapers» for Default Windows wallpapers
Installed themes (Aero, etc):
Per-user installed themes (including pre-installed from OEM):
If you are looking for the location of Lock Screen images — visit this SuperUser question.
Personally, I use John’s Background Switcher to manage my desktop background.
John’s Background Switcher has an option to view the current/previous desktop background (set by the app itself). Follow below steps —
- Right click on the tray icon and select View Current Picture and the current desktop background opens in Windows Photo Viewer (or your default image viewer).
- In Windows Photo Viewer, you can right click on the image & select Open File Location to view the original location of current desktop background in windows File Explorer.
To activate Windows Photo Viewer in Windows 10 visit this article on HowToGeek
I have Windows 10, version 1709. One of the other answers got me looking in the registry and I found exactly what I needed in clear text at
No decoding needed.
Windows 8 and 10 still store the original path of the current background image — rather than the cached / transcoded file as in xypha’s answer:
Microsoft doesn’t want things to be easy though: this isn’t plain text so you have to decode it from binary.
The Winhelponline website has compiled a couple of scripts (VBA and PowerShell) which can print the image name, and launch Explorer to point to the image file.
To get the «Transcoded» PATH in cleartext, do this in PowerShell:
You don’t explain exactly what is the FINAL purpose of this, so I can give some tips here based on a guess: you want to change your wallpaper in certain conditions (for example, one wallpaper every time you restart your computer) or to use a custom file as wallpaper.
In Windows 7 the wallpaper was usually found in %AppData%\Microsoft\Windows\Themes\TranscodedWallpaper .
In Windows 10 you will find it in %AppData%\Microsoft\Windows\Themes\CachedFiles .
You can also interrogate the registry at
but note the warnings below about programs that are NOT writing a file to disk!
If you want to build your own CMD script, this might be unreliable IF you set the wallpaper not from Windows but from an external program. For example, if I see a nice image in my browser, I set it as wallpaper directly from there. Same for IrfanView. I can easily name another 10 popular programs that could change the wallpaper to a custom path.
Note that some programs are changing the wallpaper without actually writing a file to disk. This can be done by hooking to the Microsoft Windows Desktop window and drawing directly on its canvas. This is how GIF/AVI animations are drawn on desktop.
There is another issue if you build your own script: How to you handle images that don’t have same aspect ratio as your desktop, or when desktop resolution changes?
The solution (if I guessed your problem correctly) would be to use a program like John’s Background Switcher or BioniX Desktop Background Changer. The latter is much more customizable and can be controlled via command line. It also has auto-detection to detect the best way to resize the image (fill/fit/tile). BioniX can also draw GIF without writing anything to disk (as explained above).
A even better way would be to use the «Lock on folder» option. Set BioniX to change your wallpaper every 60 seconds (don’t worry, you won’t see a new wallpaper every 60 seconds since you will use only one file). Set BioniX to lock on any folder (let’s say C:\Wallpapers ). Inside that folder you put a single file called something like My Wallpaper.jpg . BioniX will use that file as wallpaper every 60 seconds. Now, every time you want to change the wallpaper you replace the old My Wallpaper.jpg with your new file. BioniX will see the change you have done to the folder and apply the new file (within 60 seconds).
Let us know what you want to achieve with your script to get a better solution.
Где находятся фоны рабочего стола в Windows 10?
Windows 10 хранит стандартный набор изображений для фонов рабочего стола, а также делает копии фотографии, которая используется в настоящее время в качестве фона рабочего стола, в два других места. Эта инструкция расскажет о всех возможных расположениях, где хранятся обои Windows 10.
Где хранится файл обоев рабочего стола, используемый в настоящее время
Копию текущих обоев можно найти, введя указанный ниже путь в адресной строке проводника Windows.
Если вы не можете найти здесь копию текущего фонового изображения рабочего стола, попробуйте вместо этого указать другой путь.
Примечание. Файл TranscodedWallpaper в пути 2 не имеет расширения. Используйте «Открыть с помощью» или диалоговое окно «Как вы хотите открыть этот файл?» и выберите любую программу просмотра изображений, например «Windows Photo Viewer», «Honeyview» или приложение «Фотографии».
Примечание для Windows 10: указанные выше местоположения имеют ограничения. Например, если обои, которые вы ищете, больше не отображаются на вкладке «Фон» в приложении «Настройки», вы не сможете их восстановить. Она будет работать с вашими последними пятью обоями, но не более ранними.
Где хранятся все файлы, используемые в качестве обоев
Обои Windows по умолчанию можно найти в
Вы увидите 3 папки
- «4K» для обоев 4K,
- «Screen» для фона экрана блокировки
- «Wallpapers» для обоев Windows по умолчанию
Установленные темы (Aero и др.) находятся в папке:
Темы, устанавливаемые каждым пользователем (в том числе предустановленные OEM):