Netsh is a command-line scripting utility provided by the Windows 2000/XP/2003 operating system itself that allows users to display or modify the network configuration of a currently running computer locally or remotely. To archive, back up, or configure other servers, Netsh can also save configuration scripts in a text file.
Running the Netsh Command
There are two cases to run the Netsh command.
1. Run the Netsh command locally
Click “Start→Run”, enter the Cmd command in the Run dialog box and click [OK], then enter the Netsh command at the command prompt. It is.
2. Run the Netsh command remotely
To run the Netsh command on a remote Windows Server server, first use the "Remote Desktop Connection" to connect to the Windows Server server running Terminal Services, after The operation is the same as using the Netsh command locally.
Backup/Restore
Server Network Settings
When it comes to network settings, you will definitely think of IP address, subnet mask, gateway, DNS, etc. (These are mainly interfaces IP configuration parameters). For a normal computer, the network settings only have interface IP configuration parameters; for the server, the network settings include not only the interface IP configuration parameters mentioned above, but also interface configuration, port proxy configuration, remote access configuration, and routing configuration. , DNS proxy configuration, NAT configuration, DHCP relay agent configuration, and more. The above network setting parameters vary according to the special role that the server plays in the network. For example, if the Windows 2000 Server server in the campus network is responsible for connecting to the external network and connecting multiple subnets in the campus, then it must be on the server. Set up remote access configuration, routing configuration, DNS proxy configuration, and NAT configuration.
1. Backup Server Network Settings
One of the most frequent tasks an experienced network administrator does is backup. Only backups can be made, and when devastating damage is encountered, the network can be restored quickly and in a timely manner. Network settings backup operation: netsh dump >bak12.txt, through this operation can back up the network settings to the bak12.txt file, which is a text file.
After making adjustments to the network settings, you should make a backup immediately.
2. Recovering the server's network settings
When making network settings adjustments, if an operation error occurs or the server network fails, you can use the backup to quickly restore the network settings. Method of operation: netsh exec bak12.txt.
Backing up the server network settings with the Netsh command is especially simple and convenient, and it is fast and efficient. It does not require other software assistance. It is very suitable for network administrators to backup and restore the server network settings.
How to change the desktop theme in Windows 7 1, right click on the desktop and select Personaliza
Windows 7 to set IE8 as the default browser 1, open IE browser, click the Tools menu, select Inte
Windows 7 Change the default search program of IE8 1, open IE browser, select Manage search offer
How to manage wireless networks in Windows 7 1, click on the Start menu and select Control Panel.
Automatic logout when Windows XP logs in
Teach you to make a Rising antivirus U disk that can be upgraded
Step by step to teach you to install VMware virtual machine
Cheats delivery, I have a trick to play recycling bins
Windows 7 determines whether the system activates
Software Tips: Quickly adjust the resource manager's optimal column width
How to change the user account name in Windows 7
Windows7 Home Basic Edition method for calling out common desktop icons
Resolve DNS errors that prevent browsing failures
How to turn off UAC user account control in Windows 7
Win10 system as an administrator to open a command prompt CMD window 3 ways
Win7 64-bit Ultimate System Open and Close Window Transparent Settings
Windows8 system account automatic login default settings
How to solve the Win10 system click update and security flashback?
Solve Win8.1 and Win10 dual system boot boot problem
Win 8 System View Wireless Network Password
Win8 file view one-click synchronization how to set up to quickly find a file
Win7 cancels the method of automatically running the magnifying glass function. The
Reviewing the various versions of the Internet Explorer browser (1)