Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Change my IP in the registry


1 reply to this topic

dolmedilla

dolmedilla
  • Members
  • 1 posts

Posted 23 January 2002 - 21:58

I want to change my IP, DNS and gateway values in the registry. I try to do it and change the values of the next keys:
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\{4AA66975-C291-4F52-87A0-54177ACC1E4E}\Parameters\Tcpip]
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Tcpip\Parameters\Interfaces\{4AA66975-C291-4F52-87A0-54177ACC1E4E}]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\{4AA66975-C291-4F52-87A0-54177ACC1E4E}\Parameters\Tcpip]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{4AA66975-C291-4F52-87A0-54177ACC1E4E}]

but it doesn't work.
Could anybody tell me where more i must to change values?

Thanks a lot.


aglenwright

aglenwright
  • Members
  • 53 posts

Posted 24 January 2002 - 00:49

You could try a couple of things:

1.  Call the NotifyAddrChange() API to tell the machine that it's IP address has changed.

2.  Use the AddIPAddress() API instead of registry changes (as well as using NotifyAddrChange).

These are just guesses though...