I recently found this very very indispensable information specially useful for those who have different ISP connections and need to change their ip/subnet/dns settings frequently. If you have a notebook, usually at work you have an IP/subnet and home another IP/subnet. So changing all these setting is really a tough job.
This little howto explain how save network profiles and recall it with a double click.
- no additional software required
- unlimited number of profiles
- easy to run
- First, save your network profile with all you need (ip, subnet, gateway, dns, wins…)
- Now you can open a DOS shell with start -> run; then type cmd
- On shell write: netsh -c interface dump > c:/windows/system32/homesettings.txt
the path is optional, you save this as you want, and also the name of file (homenetwork.txt) can be different. - Now you can setup a different netrwok, like the first profile, and repeat the point 3.
- On you Desktop, in a free area, click on right button of mouse and choose new -> link
- write: %windir%\system32\netsh.exe -f c:\windows\system32\homesettings.txt
- Next write the name of link that appear as title of icon, eg: home
- Repeat the step 6 and 7 for other network, change the name of txt in step six…
- you are ready, if you want, you can change the two new icons on desktop, with right button, properties, change icon (the default icon file is c:/windows/system32/shell32.dll).
Now when you are at home put a double click, wait few seconds the windows disappear and you are ready.
September 29, 2006 at 3:32 pm |
Hey I found this article to be really helpful thanks!!!!!
December 8, 2006 at 8:57 am |
excellent for me with my laptop working at the office with a fixed ip, and plugging into a broadband modem at home, which needs my laptop to be ready to accept a dynamic ip.
February 11, 2007 at 10:30 am |
This is the one of PERFECT articles, which helps people to use their PCs like they want to! Thanks a lot!
March 19, 2007 at 3:52 pm |
WOOOO it worked.!! Thanks
April 11, 2007 at 8:42 am |
Having been forced to using ‘Doze for the first time since 1992, the use of the command line to change IP settings is wonderful! Thank you very much!
October 3, 2007 at 12:12 pm |
really nice article.
was changing my IP and DNS twice a day between work and home.
perfect solution! thx
October 4, 2007 at 10:01 am |
This is very useful. Thanks!
December 29, 2007 at 7:39 am |
FANTASTIC!! you reaaaaaally helped me out..
thanks
May 4, 2008 at 5:47 am |
Awesomely done. Great guide, thank you!
September 9, 2008 at 1:33 pm |
GREAT! You’re a lifesaver!! It workd fine
October 9, 2008 at 5:52 pm |
Great Solution!!!!!!!!!!!!!!!
November 7, 2008 at 4:24 pm |
Tks !!!!
March 13, 2009 at 10:01 am |
Worked well for me, thankyou very much for you posting!
May 6, 2009 at 12:39 am |
The saving command should be netsh -c interface dump > %windir%/system32/homesettings.txt for maximum portability
Thanks for this!
July 9, 2009 at 5:24 pm |
Anyone tried this on Windows Vista/7?
July 27, 2009 at 5:23 am |
Great help. May you live a long and happy life.
October 8, 2009 at 8:11 am |
nice info……