in reply to Could PERL auto-config Win2K network settings?

It looks like Win2K has moved all of these settings to be under HKEY_LOCAL_MACHINE\ SYSTEM\ CurrentControlSet\ Services\ Tcpip\ Parameters\ Interfaces, so you could probably use Win32::TieRegistry to set those and then reboot.

I've done this quite successfully under WinNT. But I also took a snapshot of the Registry, changed the settings via the approved API, then compared the resulting Registry to the snapshot so that I was pretty sure I was updating all of the right stuff.

So I strongly suspect that the part of the Registry I noted above is all you need to mess with, but I haven't validated that and so don't blame me if you try it and it breaks something, especially if you don't validate it yourself first. (:

        - tye (but my friends call me "Tye")
  • Comment on (tye)Re: Could PERL auto-config Win2K network settings?

Replies are listed 'Best First'.
Re: (tye)Re: Could PERL auto-config Win2K network settings?
by benlaw (Scribe) on Oct 25, 2001 at 21:08 UTC
    oh, registry can do all the things instead of administrative tools, this is really wonderful thing! is there any site describe more depth on this?

      The Registry is simply a central place to persist configuration information (mostly). So anything configurable about any part of WindowsNT (or later) will usually be read from the Registry when the computer is booted.

      So if you want to change nearly any configuration options, you can usually figure out (but not often find documentation on) how to change some values in the Registry to accomplish that the next time the computer reboots.

              - tye (but my friends call me "Tye")