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).
নিবন্ধের লিপিটি নিম্নরূপ
1 2 3 4 5 6 7 8 9 10 | Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Control Panel\Personalization\Desktop Slideshow] “Interval”=dword:000927c0 “Shuffle”=dword:00000001 [HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Wallpapers] “SlideshowSourceDirectoriesSet”=dword:00000001 “BackgroundType”=dword:00000002 “SlideshowDirectoryPath1”=”/long-random-looking-string-goes-here” |
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
1 2 3 4 5 6 7 8 9 10 | <SynchronousCommand wcm:action=“add”> <Order>6</Order> <Description>Set slideshow location</Description> <CommandLine>c:\extras\slideshow.exe</CommandLine> </SynchronousCommand> <SynchronousCommand wcm:action=“add”> <Order>7</Order> <Description>Enable slideshow</Description> <CommandLine>c:\extras\elevate -c reg import c:\extras\slideshow.reg</CommandLine> </SynchronousCommand> |
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 “সংরক্ষিত ডিএইচসিপি নামের উপর ভিত্তি করে পিসির নাম পরিবর্তন করতে ব্যাচ স্ক্রিপ্ট"
মনে করি আমরা কিছু মিস করেছি? আমাদের নীচের মন্তব্য করে জানতে দিন. আপনি সদস্যতা করতে চান তাহলে উপরের ডানদিকের মেনু এর লিঙ্কে সাবস্ক্রাইব ব্যবহার করুন. এছাড়াও আপনি নীচের সামাজিক লিঙ্ক ব্যবহার করে আপনার বন্ধুদের সাথে ভাগ করতে পারেন. চিয়ার্স.
উত্তর দিন