Community Area

Using Netsh to Backup and Restore Network Configuration

by
Chris Sanders
[Published on 13 April 2006 / Last Updated on 13 April 2006]

When you change your network configuration often it may make the process more efficient to backup your commonly used network settings so you can restore them in a much faster process by using the Netsh utility.

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.

***

Chris Sanders is the network administrator for one of the largest public school systems in the state of Kentucky. Chris's specialties include general network administration, windows server 2003, wireless networking, and security. You can view Chris' personal website at www.chrissanders.org.

Featured Links

How to Prevent Security Breaches

Join Brien Posey, Microsoft MVP, for a discussion of the increasing trend of data breaches and real-life lessons learned, including recent examples such as the Anthem breach. Brien will also discuss future trends based on recent data breach investigations and address a range of topics including:

How and why do data breaches happen and which firms are more exposed?

What is the cost that data breaches hold for organizations?

What can companies do to stay protected?

The webinar includes a live Q&A session with our expert presenters to answer your top questions.

Online Survey: The Definitive State of Load Balancing and High Availability

MSExchange.org, KEMP Technologies and numerous MSFT and VMware experts worldwide would like to invite you to participate in our confidential 6 question survey on Load Balancing and High Availability. This survey takes about 6 minutes and all participants who wish can leave their email address and register to win a $50 Amazon gift certificate.

The results of this survey will be used to create a white paper on the State of Load Balancing. Everyone who registers will also get a copy of the white paper.

PowerShell Essentials (Part 7)

In this article, I'll explain how you can pass values to a PowerShell function... Read More

Tips and Tricks Using the Windows Hosts File

Here I will discuss how to access, open, and modify the Windows hosts file. I’ll give some tips and advice on making redirects, whether you want to block or filter sites or create shortcuts to certain websites... Read More