Solved

activate screensaver for many PCs

Posted on 2004-10-13
1
143 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 500 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

Edgartown IT Case Study

Learn about Edgartown's quest to ensure the safety and security of the entire town's employee and citizen data. Read the case study!

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…
Read the original post on Monitis Blog. Believe it or not, the most important thing about the website of your business is not what’s on it but how fast it loads. Yes, that’s right!    As you can see on this infographic (an oldie but goodie!), …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

726 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