3

I am looking for a way with script to change the folder that is used for desktop background slideshows (see image below):

enter image description here

There have been multiple questions on SuperUser about changing the background color, accent color, or how to advance the slideshow to the next picture via command line, but I haven't found anything that asks (or answers), how to set the directory for the slideshow via command line or script.

I've tried

reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v Wallpaper /t REG_SZ /d E:\pics\X\bee old\pics \f

then following up with:

RUNDLL32.EXE user32.dll,UpdatePerUserSystemParameters  

Also tried :

reg add "HKCU\control panel\desktop" /v wallpaper /t REG_SZ /d "E:\pics\X\bee old\pics\" /f

then following up with:

RUNDLL32.EXE user32.dll,UpdatePerUserSystemParameters 

but this does neither of these change anything.

There are some good techniques shown in this answer, however I do not want to have to kill explorer to make any changes. I'd like to explore the idea of swapping out the slideshow.ini file stored in ~\AppData\Roaming\Microsoft\Windows\Themes\ but this requires a restart of explorer (how does the Windows desktop manager change this without restarting explorer? HMMM).

0 Answers0