How to really change programmatically ip address without reboot (with no connection too)?

Posted by DmitryI on Super User See other posts from Super User or by DmitryI
Published on 2011-05-10T23:34:14Z Indexed on 2012/04/03 11:33 UTC
Read the original article Hit count: 215

Filed under:
|

Really, I tried everything, and there is no solution that works for me.

  1. WMI - everything perfect, but I can't change ip address when there is no connection. O_o Are you joking me? How can I make a connection without correct Ip-address?
  2. IPHelper - not doing anything. Just adding address to the table. Not work after reboot.
  3. netsh - the stupid way I think, but ok, if you don't no another ways you can try. Before you will know, that network adapters name can contain international characters. Did someone know how it works actually, I mean inside?
  4. Registry - working after reboot. I don't want to reboot. May be someone know how to notify about reg entries changes?

© Super User or respective owner

Related posts about Windows

Related posts about ip-address