Having recently upgraded to Windows 8, my script to retrieve the current desktop wallpaper image has broken.
For Windows 7, How could I find out the path to the current desktop image?, this works great. However, that registry key now always contains
What is the new registry key used for Windows 8?
I've found two possible solutions.
Firstly, this key contains what looks like a Base64 encoded path:
And then there is the "custom theme properties file" which also contains a "[SlideShow]" section which looks like Base64: