Import and Export TCP/IP Configuration with Netsh

by Eric Geier [Published on 14 July 2011 / Last Updated on 14 July 2011]

Backup or transfer static IP and DNS address detail using the Network Shell.

The Network Shell (Netsh) utility lets you configure numerous networking settings of Windows, including IP address and DNS details. If you assign static IP or DNS addresses in your network, you might find it useful to export and import your TCP/IP configuration with Netsh.

To dump the TCP/IP configuration:

netsh -c interface dump > PATH_AND_FILENAME.txt

To import the TCP/IP configuration:

netsh -f PATH_AND_FILENAME.txt

See Also

The Author — Eric Geier

Eric Geier (Dayton, Ohio) is a Freelance  Tech Writer and Author specializing in computer networking. He's also the Founder and Owner of NoWiresSecurity, which provides a hosted cloud-based RADIUS service to help businesses easily secure their Wi-Fi networks with the Enterprise (802.1X) mode of WPA/WPA2 security. He’s also the Founder and Owner of On Spot Techs, which provides on-site computer and technology services.

Featured Links