Improve the efficiency of network service management by another

Source: Internet
Author: User
Tags manual

Borrow the registry and manage network services

Many friends have such a mindset in mind, that is, to manage the network services in the system, you must first open the target Network Service properties interface, and then through the property interface in the various function parameters and buttons to complete the management of the target network services. In fact, there are a variety of ways to manage network services, different ways to obtain the management efficiency may be different; This is not, now we set up the system registry method to quickly implement network services to start or deactivate the operation, but also to achieve bulk operation purposes:

First log in as Super Administrator to the local workstation system, click the "Start" menu in the system desktop, execute the "Run" command, open the System Run text box, enter the string command "Regedit", and click Enter to enter the Local System Registry edit window To display the area to the left of the Registry editing window, position the mouse over the HKEY_LOCAL_MACHINE Branch option, select the System\currentcontrolset\services option under the registry branch, and then double-click the Services Branch option, open the interface shown in Figure 1, where we will see all the network service names on the local workstation;

With the mouse to select any one of the network service names, in the target network services to the right side of the display area, we will see the "Start" of the key value, modify the value of the key values, we can quickly start or stop the target network services running purposes. Double-click the "Start" key value, in the Edit Value dialog box that appears, we can see clearly the value of the key; In general, the default value of the "Start" Key value is "3", which indicates that the currently selected network service uses the startup type "Manual"; Is that we want to temporarily stop the operation of the network services, as long as the number here to adjust to "4" on it, if you want to restart the network services, just want to adjust the number here to "2", and then refresh the system registry can be;

Following the same procedure, we can also select other network services that need to be managed, and then edit each network service corresponding "Start" key value, for example want to start a network service, as long as the "start" key value to adjust to "2", to close a network service, as long as the " Start is adjusted to 4 to set the startup type of a network service to manual, as long as the value of the start key is adjusted to 3.

Use batch processing to manage network services

Although the target Network service can be managed quickly by modifying the value of the "Start" key, however, when using this method to manage multiple network services, we also need to select each network service that needs to be managed in turn, so it is not efficient to use the registry to manage multiple network services concurrently. In order to improve the management efficiency of multiple network services, we can skillfully use network commands to manage system services and centralize multiple network commands in a batch file so that they can be centrally run at the same time, so that it is possible to start or bulk deactivate multiple network services simultaneously. The following is the specific implementation step of the method:

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.