Monday, March 29, 2010

Using Netsh to Backup and Restore Network Configuration

Netsh is a very powerful network configuration tool that allows you to change virtually every network related setting on your computer. One of the useful things it allows you to do is backup and restore your network configuration settings.

Use the following command to backup your network configuration:
netsh interface dump > netcfg.dat

Use the following command to restore your network configuration:
netsh exec netcfg.dat

This is very useful for those who travel to various network environments throughout the day. By setting up a few batch files you can have your entire network configuration change to suit the current network you are in with just the click of a mouse.

reference : http://www.windowsnetworking.com/kbase/WindowsTips/Windows2003/AdminTips/Network/UsingNetshtoBackupandRestoreNetworkConfiguration.html

No comments: