Solved

screensaver local gpo/script

Posted on 2016-08-10
12
57 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 21

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//AAAAAAAAfQAAADFTUFOB+p8fpl49TIZBW8V8hM1oYQAAAAIAAAA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MAXABNAGkAawBlAFwAUABpAGMAdAB1AHIAZQBzAFwA

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 21

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
 
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 21

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
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
LVL 21

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 21

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 21

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 21

Accepted Solution

by:
yo_bee earned 500 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 Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

In this previous article (https://oddytee.wordpress.com/2016/05/05/provision-new-office-365-user-and-mailbox-from-exchange-hybrid-via-powershell/), we made basic license assignments to users in O365. When I say basic, the method is the simplest way …
OfficeMate Freezes on login or does not load after login credentials are input.
In this Micro Tutorial viewers will learn how to restore single file or folder from Bare Metal backup image of their system. Tutorial shows how to restore files and folders from system backup. Often it is not needed to restore entire system when onl…
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…

760 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now