Forum     

Go Back   Digit Technology Discussion Forum > Community > Tutorials
Register FAQ Calendar Mark Forums Read

Tutorials This section offers tutorials and How to's on just about anything related to computers and IT. Note: All tutorials are courtesy the posters and not verified by Digit


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 24-02-2008, 07:36 PM   #1 (permalink)
Fast 'N' Furious
 
topgear's Avatar
 
Join Date: Jul 2006
Location: Geek's Heaven
Posts: 11,169
Default 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 :

Code:
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 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 :

Code:
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 :

Code:
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

Code:
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 can
switch between networks using only simple commands.


Note : I've used windows xp with sp3 as the OS & my elder brother's laptop for this purpose . That lappy is loaded with winxp sp2 - all updated.

For the leechers only - Don't just Copy & Paste my Hard Work Without my Permission & Claim it as Yours. In Simple Word - STAY AWAY

If any one Really Interested to show up this tutorial any other place just use the URL aka the address of this tutorial & mention this in bold fonts :

A quality tutorial by topgear.......topspeed
__________________
ToPsPeEeD = FaSt BuT StEaDy

AMD Radeon HD 6850 OverClocked to 1 Ghz !!!

Blog : http://topgeartopspeed.wordpress.com/
----------------------------------------------------
Never buy viewsonic products : http://tinyurl.com/ykwx4oa

Last edited by topgear; 25-02-2008 at 08:52 PM.
topgear is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 26-02-2008, 09:20 AM   #2 (permalink)
In The Zone
 
Join Date: Feb 2005
Posts: 347
Default Re: How to Switch Among Different Networks

Nice work. Havent tried it but i think (if its working) it will be very helpful for people on the go...
__________________
Experience Is not Counted in Years.. But in the Countless Effort
www.kolasib.com www.zoram.org
valtea is offline  
Old 26-02-2008, 10:45 AM   #3 (permalink)
Broken In
 
gowtham's Avatar
 
Join Date: Jun 2006
Location: Vijayawada
Posts: 147
Default Re: How to Switch Among Different Networks

tnx for the tut!
__________________
There is always a better way to do it. Go find it!

Thomas Alava Edison
gowtham is offline  
Old 26-02-2008, 10:51 AM   #4 (permalink)
Dreamweaver
 
Gigacore's Avatar
 
Join Date: Aug 2006
Location: Bangalore
Posts: 3,904
Default Re: How to Switch Among Different Networks

good tut!
__________________
Today's noobs are tomorrow's geeks. Don't make fun of them.. encourage them. - Gigacore

Follow me on twitter.com/gigacore
Gigacore is offline  
Old 29-02-2008, 05:25 AM   #5 (permalink)
Fast 'N' Furious
 
topgear's Avatar
 
Join Date: Jul 2006
Location: Geek's Heaven
Posts: 11,169
Default Re: How to Switch Among Different Networks

Thanks Buddies
__________________
ToPsPeEeD = FaSt BuT StEaDy

AMD Radeon HD 6850 OverClocked to 1 Ghz !!!

Blog : http://topgeartopspeed.wordpress.com/
----------------------------------------------------
Never buy viewsonic products : http://tinyurl.com/ykwx4oa
topgear is offline  
Old 29-02-2008, 01:07 PM   #6 (permalink)
Elevating Humanity
 
The Conqueror's Avatar
 
Join Date: Sep 2007
Location: Now on Earth
Posts: 1,957
Default Re: How to Switch Among Different Networks

Good Tutorial
__________________
Regards,
The Conqueror
The Conqueror is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
!! Ever heard of 'Krawler Networks' ? Dipen01 Chit-Chat 23 16-07-2008 12:43 PM
Using laptop with two networks abhishek_del Laptops and Netbooks 7 28-10-2007 12:38 AM
Is banning of networks justified? Apollo Fight Club 14 26-08-2006 05:34 AM
Baye's Theorem in Networks anomit Tutorials 4 10-08-2005 10:35 PM

 
Latest Threads
- by chris
- by icebags
- by Tenida

Advertisement




All times are GMT +5.5. The time now is 01:33 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2