[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

activate screensaver for many PCs

Posted on 2004-10-13
1
Medium Priority
?
155 Views
Last Modified: 2010-05-18
I need to activate a large number of screensavers on windows 2000 PCs , in a NON active directory environment.

currently:
I can start up MMC and activate the Local Computer Policy remotly on any PC and:
Local Computer Policy > User Configuration > Administrative Templates > Control Panel > Display >
and edit the 4 screen saver options

Saves visits to desktops, but this is going to lame with 100 PCs.

How can I export a user configuration and then import it to workstations from the commandline? (I plan on doing this via login batch script)

0
Comment
Question by:Marketing_Insists
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 20

Accepted Solution

by:
Debsyl99 earned 2000 total points
ID: 12304355
Hi

I'm not at a 2k pc with available resources right now so can't give you the solution exactly. Here's what to consider though:

First setup a win 2k pc as you want it (I only have acess to xp right now). Then export the relevant registry key - just easier than writing it yourself plus I'm on XP pro right now so can't guarantee you can copy the below and paste it into a notepad file then save as .reg file.

ie export the desktop settings to a registry file  (say you call it screen.reg - then edit to keep only the settings you need: ie screensaver settings only (this is for winxp right now) - timeout is in seconds  - this example is for 1 minute so adjust as you need.

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Control Panel\Desktop]
"ScreenSaverIsSecure"="1"
"ScreenSaveTimeOut"="60"
"ScreenSaveActive"="1"
"SCRNSAVE.EXE"="C:\\WINDOWS\\System32\\ssflwbox.scr" (or whichever you want)

This should give you a relevant .reg file so long as you save it with .reg extension. Next you need a batch file to merge it with the client registry - test it first obviously!
A batch script would use for example:

regedit.exe /s C:\screen.reg                            - this is assuming screen.reg is saved in C:\ - use relevant path to screen.reg

Your next issue, and the hardest is how to get the reg file to merge with the existing registry with relevant permissions. Problem is with user logon scripts is they usually run under the permissions of the user account they apply to. This is fine where a user is a local admin. Often they won't execute where a user doesn't have relevant permissions to that part of the registry. (Wherein lies some of the beauty (if you can call it that!) of active directory)

Registry Scripting
http://www.windowsitlibrary.com/Content/314/1.html

Hope that's a start at least,

Deb :))

0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
As much as Microsoft wants to kill off PST file support, just as they tried to do with public folders, there are still times when it is useful or downright necessary to export Exchange mailboxes to PST files. Thankfully, it is still possible to e…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

649 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