04 Jan, 2009

Netsh and Network Profiles

Posted by: admin In: Networking|Windows|howto

How to create multiple network profiles on Windows XP/2000.
if you have a notebook, usually at work you have an IP/subnet and home another IP/subnet.
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
  1. First, save your network profile with all you need (ip, subnet, gateway, dns, wins…)
  2. Now you can open a DOS shell with start -> run; then type cmd
  3. On shell write: netsh -c interface dump > c:/windows/system32/homenetwork.txt
    the path is optional, you save this as you want, and also the name of file (homenetwork.txt) can be different.
  4. Now you can setup a different netrwok, like the first profile, and repeat the point 3.
  5. On you Desktop, in a free area, click on right button of mouse and choose new -> link
  6. write: %windir%\system32\netsh.exe -f c:\windows\system32\homenetwork.txt
  7. Next write the name of link that appear as title of icon, eg: home
  8. Repeat the step 6 and 7 for other network, change the name of txt in step six… :)
  9. 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.

No Responses to "Netsh and Network Profiles"

Comment Form