How to Switch Among Different Networks

Say You have one laptop that needs to be connected both of your home & office network. But changing the the settings manually every time is a hassle. To get rid of this I am presenting you with this tutorial. Windows xp & 2000 ( probably vista also ) has a nifty command line utility that makes switching between network a cake-walk.
Create a folder on your laptop – say : c:\netsettings
While you’re on your home network, open the command prompt window and type in the following command :
netsh -c interface dump > c:\netsettings\home.txt
this will store a copy of your home network settings on the above location
aka c:\netsettings\home.txt
Now before turning off the the laptop change the following things as per your
office network config :
1. workgroup or domain name,
2. TCP/IP Settings of your NIC – such as manual or automatic ip settings.
3. Gateway & DNS server settings
in one word do all the necessary settings to you usually do to connect to your office network.
Now turn off your laptop & go to your workplace or office . Don’t be late 
After you’ve successfully log on to your office network save the network settings using this command :
netsh -c interface dump > c:\netsettings\workplace.txt
this will store a copy of your office network settings on the above location
aka c:\netsettings\workplace.txt
Now after a long day or night doing your hardwork at your workplace
& just before turning off the laptop ( assuming you’re now going to home )
fire up your command prompt window & type in this command :
netsh -f c:\netsettings\home.txt
And voila ! This will prepare your laptop to log on to your home network.
you don’t have to change a bunch of settings manually anymore.
While you’re at home and before turning off your laptop just type in this command into a command prompt window :
netsh -f c:\netsettings\workplace.txt
This will load your appropriate network settings so that you can directly log on to your workplace network next time you boot your laptop
without the need of any kind of manual settings.

So, In short this workaround will save your time as you canswitch between networks using only simple commands.

0 comments:

Post a Comment

Note: only a member of this blog may post a comment.