?
Solved

activate screensaver for many PCs

Posted on 2004-10-13
1
Medium Priority
?
156 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
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…
Currently, there is an issue with being able to copy values from an external application to a dropdown list in Project Web Access (PWA).  The standard copy and paste methods don't seem to work properly. Here is a way to accomplish this task to s…
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Suggested Courses

840 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