Re: DST 2007 on 2000 machines
- From: "Richard Mueller [MVP]" <rlmueller-nospam@xxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 12 Mar 2007 14:45:45 -0500
"Richard Mueller [MVP]" <rlmueller-nospam@xxxxxxxxxxxxxxxxxxxx> wrote in
message news:ebKWkuNZHHA.1216@xxxxxxxxxxxxxxxxxxxxxxx
"bpaul833" <bpaul833@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:C3C0D700-C186-44CA-AF5E-B8E5C5E9F65D@xxxxxxxxxxxxxxxx
I have the reg files that I need to push to all the 2000 machines, but I
don't know how to push them to just those machines. Can anyone help me
out
on this? it would be greatly appreciated.
I'm on a mixed network we have DOS 6.22, 98, 2000, and XP client PCs. I
don't want to push these reg files to all machines.
First, be sure you are aware of issues discussed in this KB article:
http://support.microsoft.com/kb/914387
In particular, you must modify settings in [HKLM\System\Windows
NT\CurrentControlSet\Time Zones], at least for your time zone, and then in
[HKLM\Software\Microsoft\Windows\CurrentVersion\TimeZoneInformation]. I
prefer to use the TZEdit tool.
Next, you can create a startup script VBScript program in Group Policy for
this. The VBScript program can check the OS. The script can run the
command to merge the reg file into the registry. A method should be used
to indicate the update is already done, perhaps by reading a registry key.
Also, you probably can do this remotely in bulk using WMI. The script
could run on a text file of computer names, or again the script can use
WMI to check the OS.
I have a sample VBScript program that deploys patches or updates to remote
computers in bulk linked here:
http://www.rlmueller.net/Deploy.htm
The example deploys to all computers in a domain group (it prompts for the
name of the group). It uses WMI to connect to each computer in turn and
run a specified executable. The executable in your case could use the Run
method of the wshShell object to merge the reg file. Either have a group
with only W2k computers, or have the script you deploy check the OS (using
WMI). I hope this helps.
--
Richard Mueller
Microsoft MVP Scripting and ADSI
Hilltop Lab - http://www.rlmueller.net
--
A VBScript that updates the registry could be similar to below:
===============
Option Explicit
Dim strCmd, objShell
' Specify command to merge reg file into registry.
' This assumes the reg file is in a shared location.
strCmd = "regedit /s \\MyServer\MyShare\TZUpdate.reg"
' Merge the reg file into the registry.
Set objShell = CreateObject("Wscript.Shell")
objShell.Run(strCmd)
==========
I have not tested this. It could be deployed with the Deploy.vbs I linked
above. The Deploy.vbs program requires WMI, but all W2k clients have this.
--
Richard Mueller
Microsoft MVP Scripting and ADSI
Hilltop Lab - http://www.rlmueller.net
--
.
- References:
- Re: DST 2007 on 2000 machines
- From: Richard Mueller [MVP]
- Re: DST 2007 on 2000 machines
- Prev by Date: Re: DST 2007 on 2000 machines
- Next by Date: Re: [win98] Reset Daylight Savings Start/Stop...
- Previous by thread: Re: DST 2007 on 2000 machines
- Next by thread: Re: DST 2007 on 2000 machines
- Index(es):
Relevant Pages
|