Solved

Computer startup script to insert reg for all users

Posted on 2004-09-22
6
1,096 Views
Last Modified: 2012-06-27
I have a question similar to: http://www.experts-exchange.com/Operating_Systems/WinXP/Q_21140002.html

I'm creating a script that will configure the properties of our screensavers to be customized for our organization.  We are using the builtin Windows 3D flying objects screensaver under the Textured flag option with a custom texture of our company's logo.  Group Policy is in place to set the screensaver to the 3D flying objects scr but as far as I can tell, does not have an option to configure the specific screensaver.  I found the registry entries that relate to the settings we need:

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Screensavers\Flying Objects]
"Options"=dword:00000001
"Type"=dword:00000006
"Tesselation"=dword:000000c8
"Size"=dword:0000004b
"Texture"="C:\\Windows\\System32\\texture.bmp"
"TextureFileOffset"=dword:00000028
"AllScreensSame"=dword:00000000

I am trying to configure a computer startup script that will run a batch file to import these settings.  It works fine if I do it as a user logon script, but since users move between sites, I want the texture to be based on the computer's location in Active Directory and not the user's.  I've done registry entries during XP setup that get applied to all users, but having it run at a normal computer startup does not seem to have the same affects.

How can I get this registry file to affect all users when it gets imported at comptuer startup, or another good idea to overcome this issue?  I have a batch file configured to do all of this that is a little more in depth, using variables, using if exists to test if the file is there or not so we conserve bandwidth, so I don't want to change the method too much if I can help it.

Running as a logon script will not produce the desired results unless I can test for the computer's location in AD at logon which would involve a vbs file I'm sure.
0
Comment
Question by:Eagle6990
[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
6 Comments
 
LVL 31

Expert Comment

by:Justin Owens
ID: 12127794
What type of login script are you using?  This will be a big factor in how you go forward.
0
 
LVL 17

Author Comment

by:Eagle6990
ID: 12127897
I'm currently using a batch file, but it redirects the output to create a .reg file that it then imports via regedit.

I'm doing this for both XP and 2K machines.
0
 
LVL 24

Expert Comment

by:Kenneniah
ID: 12128636
Instead of logon scripts I'd look at creating my own adminstrative template for use with group policy. It can be a pain to learn how to write them, but once you do you can edit just about anything in the registry with it. The whitepaper explaining how to make these can be found at http://download.microsoft.com/download/1/7/2/1725520f-1228-4dff-9c5d-594042475844/rbppaper.doc

A simple example of one is at http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q225087
0
 
LVL 17

Author Comment

by:Eagle6990
ID: 12138182
I resolved it in a way that works for us.  I split the policy up into a Machine Startup and a User Logon script.  The Machine Startup script creates a .reg file in the system32 folder and leaves it there on bootup depending on it's location in AD.  The User Logon script then imports this registry entry every time the user logs in.  So the .reg file is created based on the machine's location but it still gets imported on every login.  Problem solved.
0
 

Accepted Solution

by:
ee_ai_construct earned 0 total points
ID: 12160811
Closed, 250 points refunded.
ee_ai_construct (replacement part #xm34)
Community Support Admin
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

We have adopted the strategy to use Computers in Student Labs as the bulletin boards. The same target can be achieved by using a Login Notice feature in Group policy but it’s not as attractive as graphical wallpapers with message which grabs the att…
If you have done a reformat of your hard drive and proceeded to do a successful Windows XP installation, you may notice that a choice between two operating systems when you start up the machine. Here is how to get rid of this: Click Start Clic…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
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…
Suggested Courses

751 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