Home > Articles > Home & Office Computing > Microsoft Windows Vista & Home Server

  • Print
  • + Share This
Like this article? We recommend Importing and Exporting TCP/IP Configuration with Netsh

Importing and Exporting TCP/IP Configuration with Netsh

If you assign static IP or DNS addresses to your computers, exporting and importing a TCP/IP configuration might be useful. You can archive the settings for backup purposes, or use the configuration as a template to configure other computers more quickly. For instance, you might configure a computer with the static IP and DNS details, export it, and then before importing it onto other computers simply change the IP address to avoid conflicting addresses.

To dump or export the TCP/IP configuration, use this command:

netsh -c interface dump > PATH_AND_FILENAME.txt

Use this command to import the TCP/IP configuration:

netsh -f PATH_AND_FILENAME.txt

Transferring Wi-Fi Network Settings via USB Flash Drive

Windows Connect Now (WCN) provides the ability to copy a wireless network profile to a USB flash drive so that you can easily distribute the network settings (name, WEP or WPA/WPA2-PSK encryption settings, etc.) to other wireless computers and devices that aren't connected yet.

To export wireless network profiles to a flash drive in Windows XP SP2 or SP3 and Windows Vista, you can use the Wireless Network Setup wizard. You can start this wizard from any of several shortcut locations. For example:

  • Click Start > Programs > Accessories > Communications > Wireless Network Setup.
  • Open the Control Panel, open the Network and Internet Connections folder, and then open Wireless Network Setup.

WPA/WPA2-Enterprise isn't support by Windows Connect Now, but you can use Netsh to back up or transfer network profiles using the WPA/WPA2 mode, as discussed earlier,.

To export wireless network profiles to a flash drive in Windows 7, first open the profile or wireless network connection settings. One simple way is to click the network icon in the system tray, right-click a network name, and select Properties. On the Connection tab, click "Copy this network profile to a USB flash drive."

To import the profile into a Windows XP, Vista, or 7 machine, insert the USB flash drive. When the AutoPlay dialog box appears, click the shortcut "Connect to a Wireless Network using Windows Connect Now," or click the "Wireless Network Setup Wizard" shortcut. If the AutoPlay menu doesn't appear, you can also initiate the import by running SetupSNK.exe on the flash drive's root directory.

Keep Your Settings Safe!

Now you know how to export and import all the main network settings. Remember to keep track of your backups or copies[md]the wireless settings, for instance, might include the keys to the network!

  • + Share This
  • 🔖 Save To Your Account