Is there a windows registry entry for the original background location?
Is there a windows registry entry for the original background location? At "HKEY_CURRENT_USER\Control Panel\Desktop", the value "Wallpaper" is "C:\Users\CURRENTUSER\AppData\Roaming\Microsoft\Windows\Themes\TranscodedWallpaper.jpg".
It actually depends how the wallpaper got there.
This works on Windows 7, when the wallpaper is set via the control panel and wallpaper slideshows are enabled:
In other situations, however, that key may not exist or may be stale.
(Ignore the fact it has "Internet Explorer" in the path. Who knows why that is, but IE isn't involved!)
(FWIW, I found/used this when making a desktop context menu (via VBScript) to delete the current wallpaper. Here it is if it's useful.)