How to change IP address programmatically in W2K without rebooting

  • Thread starter Thread starter Francisco Garcia
  • Start date Start date
F

Francisco Garcia

Hi,

I suppose this is a FAQ, but I've searched the newsgroups and haven't found
any message with FAQ address either.

How do I programmatically change TCP/IP settins in W2K without rebooting? I
know how to change it in the registry, but a reboot is necessary.

Thanks in advance
 
No FAQs in newsgroups : MS remove messages after 30 days ( before was 90
days ) on their forums.
As for question : you need to use EnableStatic() method of
Win32_NetworkAdapterConfiguration interface of WMI.
Arkady
 
Back
Top