Quickly switch network configuration with backup files

Source: Internet
Author: User
Tags command line backup

Mobile office is the trend of modern society, the use of Laptop network card interface connected to the local area network, immediately can enter the working state. However, the settings for each LAN are not the same, such as IP address, gateway and so on, then each to a new LAN, you need to reset, this still seems to be a bit of trouble.

In fact, we can back up the network settings under different circumstances, when you need to use in a network environment, the corresponding backup files can be transferred to complete the network related settings, so that the trouble of manual settings, very convenient and quick.

The first of course is a backup of the network configuration. For example, the network configurations you use at home and in your organization are different and need to be backed up separately. Set up your computer's network as a home network configuration, and then enter the "Netsh-c interface Dump>d:\home.txt" in the DOS window, and you can also specify a different save location, which completes the backup of your home network configuration. You can also back up the network configuration of your organization as a "office.txt" file.

After the backup is complete, it is easier to switch. If you need to set up a home network configuration, in the DOS window input "netsh-f d:\home.txt", you can complete the work of home network configuration, if you need to set up for the unit network configuration, the command line to change the configuration file to "Office.txt" can be.

If you feel that each time you want to enter the command line more trouble, you can set up a corresponding batch file, run directly to complete the configuration.

Note: Backup work needs to be done in a DOS window, and it is not effective to enter commands directly on the command line of the Run dialog box, but the recovery work can be entered directly in the Run dialog box. Also, this command-switching method works only in Windows 2000 and Windows XP systems.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.