I’ve been updating my unattended windows deployment setup recently, and one of the things I wanted to enable was the slideshow wallpaper with the location set to my wallpapers location on my server. This isn’t as straight-forward as it ought to be, but after bit of fiddling around I figured out how to do it fairly simply.
2 parts are neede — a reg script and copying a file (which I do via a self-extracting archive file).
reg स्क्रिप्ट इस प्रकार है
विंडोज रजिस्ट्री संपादक संस्करण 5.00 [HKEY_CURRENT_USERकंट्रोल पैनलनिजीकरणडेस्कटॉप स्लाइड शो] "मध्यान्तर"=शब्द:000927सी0 "मिश्रण"=शब्द:00000001 [HKEY_CURRENT_USERSOFTWAREMicrosoftWindowsCurrentVersionExplorerवॉलपेपर] "स्लाइड शोस्रोतनिर्देशिकासेट"=शब्द:00000001 "पृष्ठभूमि प्रकार"=शब्द:00000002 "स्लाइड शोडायरेक्टरीपाथ1"="/लंबे-यादृच्छिक-दिखने-स्ट्रिंग-गो-यहाँ"
Note — you will need to set up the slideshow with the correct path on one of your पीसी and then export the value for “SlideshowDirectoryPath1” from your registry for this to work
दूसरा भाग स्लाइडशो नामक फ़ाइल की प्रतिलिपि बनाना है। ini (also after setting up your own slideshow) जो में रहता है %appdata%\Microsoft\Windows\Themes
The contents of this file contain an encoded reference to the location of your slideshow I believe.
Once you have copied the file and imported the reg file you just need to restart explorer or wait for the interval period to pass (मेरा सेट है 10 मिनट) and I have shuffle turned on — your values may be different if you set them differently and export the changed values from the registry
I have put my slideshow.ini into a self-extracting exe that extracts to (और चुपचाप ओवर-राइट) %appdata%\Microsoft\Windows\Themes
. मैं फिर अपना चलाता हूं 2 commands using the following SynchronousCommands in my ImageUnattend.xml
<सिंक्रोनस कमांड wcm:क्रिया ="जोड़ना"> <गण>6</गण> <विवरण>स्लाइड शो स्थान सेट करें</विवरण> <कमांड लाइन>सी:\अतिरिक्तslideshow.exe</कमांड लाइन> </सिंक्रोनस कमांड> <सिंक्रोनस कमांड wcm:क्रिया ="जोड़ना"> <गण>7</गण> <विवरण>स्लाइड शो सक्षम करें</विवरण> <कमांड लाइन>सी:\अतिरिक्त एलिवेट -सी reg आयात c:\अतिरिक्तslideshow.reg</कमांड लाइन> </सिंक्रोनस कमांड>
For more information about my use of the command “elevate” and having files in the c:\extras folder please read my previous article about how I used a “आरक्षित डीएचसीपी नाम के आधार पर पीसी का नाम बदलने के लिए बैच स्क्रिप्ट"
Seems Microsoft has changed something, or they don’t do it the same for all configurations. When I turn on slidshow for my reference PC, there is no slideshow.ini file to copy in %appdata%\Microsoft\Windows\Themes. Instead, to files get created named transcoded_000 and transcoded_001.
It’s almost like Microsoft doesn’t want us to be able to easily control slideshow using scripts.
Hi James
These instructions were for Windows 10 — they still seem to work for that. Are you using windows 11? If so no doubt Microsoft will have changed things for no good reason
Also note — I had to create a slideshow for these files and settings to appear. I then copied the file to other machines to make this work. So if you haven’t first set up a slide show then I guess the ini file won’t exist
Hi James
I realise it has been a long while, but I just checked this on windows 11 (build 23H2) and there is definitely still a slideshow.ini in that folder
It is a hidden file by default so you would need to change explorer options to view hidden files