[python-win32] Change TCP/IP config in Win2K?

Michael Strasser M.Strasser@myrealbox.com
Thu, 05 Apr 2001 12:21:24 +1000


I want to be able to change the TCP/IP configuration of my Windows 2000
laptop. I use it in a couple of different networks without DHCP.

Currently I have Python scripts that change the relevant registry entries.
I then have to disable the network connection and enable it again so the
registry is read. (If I manually change settings the effect is immediate
when I click "OK".)

I can't find API calls to set new values or force the registry to be
re-read. Are these public APIs? Are they available from Python?

Thanks in advance for any help.

-- 
Michael Strasser
Brisbane, Australia