Discussion Locked

Changing IP address and Gateway

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
Is there a way to change the IP , Gateway and Subnet mask address through command prompt rather than the conventional Network Neighborhood > properties way ?

5 replies

by deltree

These settings are stored in the registry.
So you could create a .reg file with the desired changes. Then create a batch file that will merged the .reg file into the registry.
Run this batch file from a command prompt if you wish.
It will require a reboot if you are using Win9x, or NT

by some guy in seattle

addendum:

Despite the header saying "change from static to DHCP" you can use this to change the static IP from one to another. Just use the appropriate choice, "dhcp" or "static" no matter what config you have your TCP/IP settings in.

This discussion is closed to new replies.