Deploy Screensaver Windows 10 - Files .jpg .png
Dears, in my company we have a routine of apply screensaver in all computers. At least once a month we need to change the .jpg or .png files.
I would like to automate this work by SMA.
Has anyone managed to create a script for this job?
Thank very much!
I use this Online KScript, in my environment, this might not be exactly what you are looking for but can point you in the right direction.
You'll need to .zip the .jpg or .png and uploaded it to the script, to then have it extract it at the location you want it with the following lines:
- Verify that the directory “C:\LocationOfFiles\Pictures” exists
- Unzip “$(KACE_DEPENDENCY_DIR)\Pictures.zip” to “C:\LocationOfFiles\Pictures”
The settings below are 5 min time out (300 secs) and use the Mystify.scr, on your case you might change it to photoscreensaver.scr
Hope this helps you or at least gives you an idea to tweak it to your needs.
In fact, I already have a way to do it, through the Acme Photo Screensaver program I create an .exe and from it a .scr file is generated.
In SMA I have a script ready to launch this .scr file on all machines:
COPY \\anchieta\softwares$\Screensaver\Suncoke.Scr C:\Screensaver\Suncoke.Scr /y"
I created a schedule every 04 hours to apply to all desktops. From then on, all PCs apply the screen saver.
The problem is that the software started to be pointed out as a virus and after that, I had to stop using it.
I would like to try a script by SMA to not depend on external programs.
I will test this script and return with the answer.
Thank you very much!