2

I am looking for simple ways to change IPv4 properties of one of my networks and actually I can't find anything promising, just something about netsh. But I think there should be way to create a .bat file or something, to have a "one click" shortcut to change the settings. Could anyone help me with that?

These are changes to be done:

enter image description here

1 Answer 1

6

I am looking for simple ways to change IPv4 properties of one of my network connections.

Use the following commands in a batch file:

netsh interface ipv4 set address InterfaceName dhcp
netsh interface ipv4 delete dns InterfaceName addr=all
  • Replace InterfaceName with the name of the connection you which to change, for example "Local Area Connection"

See Netsh commands for Interface IP for more information.


Further Reading

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .