Posted by: nowiremember | September 12, 2008

Use netsh to Change Network Configuration Settings

Here’s how it works. First, you dump your network settings to a text file
through the command line, as follows:
netsh -c interface dump > NetworkSettings.txt
This command stores your current network settings in a text file named
NetworkSettings.txt. Now, let’s say you have to reconfigure your machine’s
network settings to repurpose the machine or move it to a different part of
the network. Then, later, if you need to restore your machine’s original net-
work settings, you can simply type the following command and load back in
the previously dumped settings:
netsh -f NetworkSettings.txt
Note that the destination filename is not important, so you can effectively
create multiple configuration files. You can create and name one for each
network configuration you need. For example, you can use Work.txt for the
office, Home.txt for your home configuration, and something like Client.txt
to hold the values for a network you are temporarily visiting.


Leave a response

You must be logged in to post a comment.

Categories