Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

3 Answers

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 192.168.0.100 255.255.255.0 192.168.0.1 1

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

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 192.168.0.200
share|improve this answer
1  
+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: http://www.petri.co.il/configure_tcp_ip_from_cmd.htm 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
add comment

For Free:

Avanquest Connection Manager

For Pay:

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

share|improve this answer
add comment

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
add comment

Your Answer

 
discard

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.