Re: DST 2007 on 2000 machines




"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
--


.



Relevant Pages

  • Re: DST 2007 on 2000 machines
    ... The script can run the command ... you probably can do this remotely in bulk using WMI. ... The example deploys to all computers in a domain group (it prompts for the ... of the wshShell object to merge the reg file. ...
    (microsoft.public.scripting.vbscript)
  • Re: Patch Management & Identifying Hosts
    ... Patch Management of the Security Operations ... WMI is also an option. ... "A WSH script using VBScript is explained. ... the result from the online computers. ...
    (microsoft.public.win2000.security)
  • Win32_StartupCommand lists system32 files
    ... computers still return the expected data. ... The Win32_StartupCommand query not only returns the expected data (the ... I reinstalled WMI, per these instructions: ... I also ran the WMI script remotely, from an older Dell NT5.0 workstation, ...
    (microsoft.public.win32.programmer.wmi)
  • Help!! Installation of TWAIN Scanner causes WMI Access Denied with Domain Admin rights
    ... some admin scripting in windows using wmi. ... Then I installed a scanner on one of the computers and installed the ... with the same script code and credentials. ... installation was the problem, and confirmed this on a third computer. ...
    (microsoft.public.win32.programmer.wmi)
  • Re: Finding users in local admin groups
    ... > Here is a vbscript that you can run against a remote computer that moves ... > *local* users except 'Administrator) from the Administrators group to the ... You should also add to the script logging to a file of the ... > you moved on what computers. ...
    (microsoft.public.win2000.security)