Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I do consulting and carry my Windows XP laptop from employer to employer. In some of the places I go to, they have unique network settings, so sometimes I have to sit there and change my network settings (e.g. type in DNS servers, IP values, etc...).

Of course, when I get to another employer, I have to reset the settings back to the original.

Is there a way to save these various settings and change them as needed in one fell swoop?

share|improve this question
up vote 6 down vote accepted

Use netsh.exe along with a few batch-files, and you're good to go! Not only is it free, it's included with Windows, and you don't need anything constantly running in the background. Just have a few configuration files set as different files, and run a different one to switch your network settings!

For example, if I wanted to change my "Local Area Connection" (the name shown in Network Connections), then I would copy and paste the following into Notepad, and save it as "something.bat":

netsh interface ip set address name="Local Area Connection" static 1

This would set my network connector named "Local Area Connection" to have a static IP of, with netmask, and a default gateway of

For some advanced examples, check out this article, or the documentation from Windows XP Professional.

And yes, you can set the DNS via this tool as well:

netsh interface ip set dns "Local Area Connection" static
share|improve this answer
+1 great answer using free-as-in-already-paid-for software. :) – quack quixote Oct 10 '09 at 11:13
The "this article" link got outdated. – Tom Wijsman Dec 11 '11 at 22:07
@TomWijsman interesting, it works when I copy and paste the following into my browser: but it doesn't work when I click the link... I think they might be preventing hot-linking. – Breakthrough Mar 23 '12 at 16:19
@Breakthrough: Works for me by just clicking now, odd. Perhaps depends on browser? :/ – Tom Wijsman Mar 23 '12 at 16:26

For Free:

Avanquest Connection Manager

For Pay:

I've seen good reviews for both NetSwitcher and Mobile Net Switch.

share|improve this answer

Try this article from Microsoft. It tells you how to use the Alternate Configuration feature for multiple network connectivity in Windows XP. You can have multiple metwork configurations at the same time; you only have to switch between them. Easy and free!

share|improve this answer
That doesn't help if he needs a static IP at work as well. That only applies if one network has DHCP and the other doesn't. – Breakthrough Sep 6 '09 at 6:15
I know my wife used such a configuration, that's why I recommended it. I admit, considering your responses, you have a larger degree of knowledge on the subject :) – alex Sep 6 '09 at 6:26
That's a good point. At least one of my configs involves a static setup. – AngryHacker Sep 6 '09 at 23:12
Yes, alex, this would be perfect for the OP depending on his needs. Most people can set it statically at home and use DHCP at work, or vice-versa. – cp2141 Sep 11 '09 at 1:57

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.