Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

screensaver local gpo/script

Posted on 2016-08-10
12
Medium Priority
?
121 Views
Last Modified: 2016-08-11
Hello folks, is there a way to change the screen saver for a specific picture via local gpo/gpo, or with a script?

I have a the computer list..

thanks for looking
0
Comment
Question by:ivan rosa
  • 7
  • 5
12 Comments
 
LVL 24

Expert Comment

by:yo_bee
ID: 41751397
You will need to copy the pictures to set location on each computer for this to work.

there are two registry areas you need to focus on .
This is the location and the way the slideshow performs
The folder location of the images are stored in an encrypted format.


[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows Photo Viewer\Slideshow\Screensaver]
"Speed"=dword:00000001
"Shuffle"=dword:00000001
"EncryptedPIDL"="FAAfVCVIHgOUe8NNsTHpRrRMjdUgAAAAGgDuu/4jAAAQAJ+ukKk7oIBOlLyZEtdQ

QQQAAAoOAAAEDoEZFBDaDSAAAAAAYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA

AAATDQAAMVNQU6ZqYyg9ldIRtdYAwE/ZGNCBDAAAIAAAAAAREAAAbQwAABQAH1Ql

SB4DlHvDTbEx6Ua0TI3VUQAAAEsA7rv+IzEAEACfrpCpO6CATpS8mRLXUEEELQAA

ADFTUFPDybiAu2GfQ7sf94pDmCN3EQAAAAIAAAAAEwAAAAEAAAAAAAAAAAAAAAAA

BgwAAAAMTGliTPULAQAAQQAAADFTUFMC1c3VnC4bEJOXCAArLPmuJQAAAA8AAAAA

HwAAAAoAAABNAGkAYwByAG8AcwBvAGYAdAAAAAAAAABuAAAAMVNQU1N97wxk+tER

ogMAAPgf7e4xAAAAAwAAAAAfAAAAEAAAAFAAaQBjAHQAdQByAGUAcwAgAEYAbwBs

AGQAZQByAAAAIQAAAAcAAAAAHwAAAAgAAABXAGkAbgBkAG8AdwBzAAAAAAAAAD4A

AAAxU1BTf7Z2XT2bu0S2riXaT2OKZxEAAAAFAAAAAAsAAAD//wAAEQAAAAMAAAAA

CwAAAP//AA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Ks0ag5siTQAAAAgAAAAAHwAAAB4A

AABDADoAXABVAHMAZQByAHMAXABNAGkAawBlAFwAUABpAGMAdAB1AHIAZQBzAFwA

SQBwAGgAbwBuAGUAAAAlAAAAAwAAAAAfEAAAAQAAAAcAAABmAG8AbABkAGUAcgAA

AAAAAAAAADEAAAAxU1BTsRZtRK2NcEinSEAupD14jBUAAABkAAAAABUAAACU2vr7

VA8f8gAAAAAAAAAAAAAAAA==

"

Open in new window

This is where you set the type of screensaver you want to use
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Control Panel\Desktop]
"ScreenSaveActive"="1"
SCRNSAVE.EXE"="C:\\WINDOWS\\system32\\PhotoScreensaver.scr"
"ScreenSaveTimeOut"="60"
"ScreenSaverIsSecure"="0"


What I would do is create the settings you desire on your computer can create a bat file that will copy the files to the desired location and run the reg.exe /s regfie

do you need help with creating the batch ?
Screensaver1.txt
0
 
LVL 3

Author Comment

by:ivan rosa
ID: 41751450
Hello yo_bee,
please correct me if I'm wrong,
  1. save the body context of the as .reg file
  2. import it within regedit ? if so, then I get this err
err.JPG
or is it that I have to find it, cause i don't see the path
nt fnd
ps. i did same for Windows 7 x86/x64 and Win10 Pro and path would not be found
0
 
LVL 24

Expert Comment

by:yo_bee
ID: 41752057
My Reg is just an example.
You need to manually create the directory where the images will be stored and apply the screensaver settings.
Once this is down the two Keys that contain the values that you want to push to the other computers will be setting.

Export them separately.
You will need to cleanup the   [HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows Photo Viewer\Slideshow\Screensaver] to only include the Screensaver key values

Once cleaned up and can merge the two together as one Screensaver.reg file to push out.

You will also need to create a folder on each computer you push this out to and well as copy the content to that new folder

All this can be done via a single Bat file.

I hope this explains it better.
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
LVL 3

Author Comment

by:ivan rosa
ID: 41752801
I manually created the path for the pictures,
so I got the path now, and export the regs separately  
Capture.PNG
am I doing it right? if so what is the next step?
0
 
LVL 24

Expert Comment

by:yo_bee
ID: 41752833
Did you set your Screensaver manually on your computer yet?
0
 
LVL 3

Author Comment

by:ivan rosa
ID: 41752839
yes, and the pictures are located in c:\SS\
0
 
LVL 24

Expert Comment

by:yo_bee
ID: 41752843
Did you setup the Screensaver on your computer?
If you have never configured the Slideshow as a screensaver then the Reg setting will not be there.
Once you configure it on your computer then the reg settings are written to the registry
0
 
LVL 24

Expert Comment

by:yo_bee
ID: 41752854
also do you have a Domain in place or is it a Workgroup?
0
 
LVL 3

Author Comment

by:ivan rosa
ID: 41752904
domain

so for this would i have to create an bat and trigger it with a psexec or can it be trigger after submitting the files...

in which case I have something like so

transferingfiles.bat
 for /f %%a in (clients.txt) do (
 xcopy "source" "\\%%a\c$\SS" /e/y
)

local.bat
 reg /s nameofgile.reg. ?

trigger bat
 for /f %%a in (clients.txt) do (
 psexec \\%%a\c:\path\local.bat
)



or if you have something cleaner that would be awesome
0
 
LVL 24

Expert Comment

by:yo_bee
ID: 41752911
You are missing the creation of the directory where the images will reside and the copying the images to this directory. This has to happen first before the registry are merged.

I found a link online that can help illustrate. I can get that for you in 1 hour.
0
 
LVL 24

Accepted Solution

by:
yo_bee earned 2000 total points
ID: 41753061
This talks about leverage GPMC to deploy via a domain, but you can swap the Logon scripts with your PSEXEC.

https://codegrue.wordpress.com/2011/04/20/implement-a-standard-photo-screen-saver-through-group-policy/
0
 
LVL 3

Author Comment

by:ivan rosa
ID: 41753198
yeaaah, good find, although I can see it might be a painful setup...., so I'll speak with the department and I just send the picture and instructions instead

since my deadline is tomorrow
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
A walk-through example of how to obtain and apply new DID phone numbers to your cloud PBX enabled users that are configured in Office 365. Whether you have 1, 10 or 100+ users in your tenant, it's quite easy to get them phone-enabled and making/rece…
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…
Screencast - Getting to Know the Pipeline

578 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question