I know there is probably something out there that does this already, but I'm working on a program that selects a random wallpaper from a user-defined list each time Windows starts. I assumed the best way to do this is by replacing the path to the current wallpaper in the registry so I searched for any key that contained "wallpaper" or the name of my current image and started experimenting.
The problem is the only key that seems to cause any change is WallpaperStyle (0 centered, 1 tiled, 2 stretched,) and nothing else seems to have any affect even after a restart. I have listed the keys I have played around with below. Does anyone know of any keys that I have missed or something else I can try?
Code:HKEY_CURRENT_USER\Control Panel\Desktop\
ConvertedWallpaper
ConvertedWallpaper Last Write Time
TileWallpaper
WallpaperStyle
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Themes\LastTheme
HKEY_USERS\ <some long #> \Control Panel\Desktop\
ConvertedWallpaper
ConvertedWallpaper Last Write Time
HKEY_USERS\ <another long #> \Microsoft\Windows\CurrentVersion\Themes\
LastTheme