script to set screensaver

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi Guys

I have various PC's that I need to set the screensaver to be a picture slide
show from a particular directory, to be set for 15 min and not to allow the
user to change the screensaver and also add a weekly task (if it is not
already present) to run a exe.

I have found ways to do parts of this in mmc but have not found a way to do
this via a script or executable.

Is it possible,

thanks
Matt
 
If your computers are in an Active Directory domain you can use Group Policy
user configuration to apply screen saver settings. If not, and I have never
done this myself, you could probably use a .reg file to do the screensaver
settings. You can use a registry snapshot program such as the free regshot
to see what registry keys are changed or created when you configure screen
saver settings. Do a snapshot before and then after you change the settings
via mmc. However you want to use the HKCU key for that registry setting and
it will apply to all users that logon to the computer. As far as a weekly
task you could look at using Scheduled Tasks and there is a command line
version called schtasks. Below is the example of what was shown using
regshot after using Group Policy to set screen saver timeout to 900 seconds
though like I said you want to use HEY_CURRENT_USER in the .reg file and not
specify user SID as in
HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Control
Panel\Desktop\ScreenSaveTimeOut: "900" . You can also export a registry key
from a configured computer to a .reg file to import into other
computers. --- Steve
--- Steve

http://support.microsoft.com/kb/310516 -- using .reg files
http://www.snapfiles.com/get/regshot.html -- Regshot

HKEY_USERS\S-1-5-21-1123561945-152049171-1343024091-1003\Software\Policies\Microsoft\Windows\Control
Panel\Desktop\ScreenSaveTimeOut: "900"
 
Back
Top