Hello --

I have 5 serves at work that I need to duplicate registry setting on an
ongoing basis. Essentially, server 1 will be my master server where my
application makes all its changes. I would then like to run a script from
server1 that exports the registry and automatically connects and imports the
registry on server2, 3, 4, and 5.

How can I connect to remote servers from a different server via registry and
using .RegRead and .RegWrite from WSH or VB6?

Any help or insight would be appreciated.

Re: Export/Import Registry Across Machines by Torgeir

Torgeir
Thu Mar 10 09:00:10 CST 2005

dm4714 wrote:

> I have 5 serves at work that I need to duplicate registry setting
> on an ongoing basis. Essentially, server 1 will be my master server
> where my application makes all its changes. I would then like to
> run a script from server1 that exports the registry and automatically
> connects and imports the registry on server2, 3, 4, and 5.
>
> How can I connect to remote servers from a different server via
> registry and using .RegRead and .RegWrite from WSH or VB6?
>
> Any help or insight would be appreciated.
Hi

Look into using WMI and it's StdRegProv class (COM interface, can be
used from a VBScript):

StdRegProv class [WMI]
go.microsoft.com/fwlink/?LinkId=29999

Script Center > Registry
http://www.microsoft.com/technet/scriptcenter/scripts/os/registry/default.mspx



--
torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of
the 1328 page Scripting Guide:
http://www.microsoft.com/technet/scriptcenter/default.mspx