Solved

Computer startup script to insert reg for all users

Posted on 2004-09-22
6
1,095 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Most of the time we are in fix when all of sudden our systems behave weirdly.  Such problems cost time and effort... so it's best to take some preventive actions so that we can avoid such issues or overcome such problems more easily. Preventive M…
Sometimes people don't understand why download speed shows differently for Windows than Linux.Specially, this article covers and shows the solution for throughput difference for Windows than a Linux machine. For this, I arranged a test scenario.I…
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…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

735 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