Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Example Analysis of commands to backup and restore Network Settings in Netsh

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/03 Report--

This article mainly shows you the "Netsh command backup and restore network settings example analysis", the content is easy to understand, clear, hope to help you solve your doubts, the following let the editor lead you to study and learn "Netsh command backup and restore network settings example analysis" this article.

Netsh can also save configuration scripts in a text file for archiving, backing up, or configuring other servers.

Run the Netsh command

There are two ways 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, and then enter the Netsh command at the command prompt.

two。 Run the Netsh command remotely

To run the Netsh command on a remote Windows Server server, first use remote Desktop connection to connect to the Windows Server server running Terminal Services, and then do the same as using the Netsh command locally.

Backup / restore

Server network settings

When it comes to network settings, you must think of IP addresses, subnet masks, gateways, DNS, and so on (these are mainly interface IP configuration parameters). For ordinary computers, network settings only include interface IP configuration parameters; for servers, network settings include not only the interface IP configuration parameters mentioned earlier, but also interface configuration, port proxy configuration, remote access configuration, routing configuration, DNS proxy configuration, NAT configuration, DHCP relay agent configuration, and so on. The above network setting parameters vary according to the special role of the server in the network. For example, if the Windows 2000 Server server is used to connect the external network and multiple subnets in the campus network, then the remote access configuration, routing configuration, DNS agent configuration and NAT configuration must be set on the server.

1. Backup server network settings

The most frequent job an experienced network administrator does is backup. Only when a backup is made, can the network be restored quickly and in time in the event of devastating damage. Network settings backup operation: netsh dump > bak12.txt, which allows you to back up the network settings to a bak12.txt file, which is a text file.

After adjusting the network settings, you should make a backup immediately.

two。 Restore the network settings of the server

When adjusting the network settings, if an operation error occurs, or if the server network fails, you can use backup to quickly restore the network settings. Method of operation: netsh exec bak12.txt.

The backup of the server network settings through the Netsh command is particularly simple and convenient, fast and effective, without the assistance of other software, so it is very suitable for network managers to backup and restore the server network settings.

The above is all the contents of the article "sample Analysis of Netsh commands to back up and restore Network Settings". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report