Easily solve network failures with Windows commands.

  
Efficient and fast solution to network failures is a “work” for every network administrator. In order to do this “homework”, network administrators have brainstormed and summed up quite a few network troubleshooting techniques. But carefully scrutinize these techniques, we can see that some of the troubleshooting techniques are carried out in the Windows interface, although these tricks are more convenient for users to use, but also can effectively improve the efficiency of network troubleshooting, but these tricks are not necessarily Can be applied to all network failures, some special network failures sometimes follow some of the network commands that come with the Windows system, clever use of these network commands, network troubleshooting efficiency may be higher. Using the Sc command to solve the problem that the service window cannot be opened. In order to prevent illegal users from hiding the local system or peeking local important private information through the hidden sharing enabled by the local workstation system by default, we often open the service list window of the local system and enter the Server service. The property setting interface uses the manual method to stop the Server service, thereby achieving the purpose of closing the local system to hide the share. However, sometimes, no matter how we operate, we can't enter the property setting interface of the Server service. So we can't disable the system to disable the shared service by deactivating the Server service. So the service window can't be opened. Under, can we not close the hidden share in the local workstation? The answer is no! We can use the built-in Sc command on the Windows workstation to cleverly stop the Server service in the workstation system, thus achieving a one-time shutdown. The purpose of all hidden sharing of the system, the following is the specific implementation steps of the method: First, log in to the local workstation system as a system administrator, click the "Start", "Run" menu option in the system desktop, Open the system running box of the local workstation, enter the string command "ldd; cmd", click the Enter key, and enter the MS-DOS working window. In the MS-DOS window command prompt, execute the "scconfiglanmanserverstart=disabled" string command. When the system prompts for success, we can easily stop the system service server without entering the property setting interface of the server service. At this time, when we look at the hidden shared resources of the system, we will see that all hidden shared resources are deleted at one time, so that illegal users cannot implement security attacks on local workstations through hidden sharing. Using Regsvr32 to solve frequent IP address conflicts In a LAN environment, in order to effectively improve the network login speed of workstations and facilitate network administrators to efficiently manage the network, all workstations in the LAN are often set to use static IP addresses. However, in the Windows window, ordinary users only need to enter the TCP/IP property setting window in the corresponding workstation as long as they encounter network failures that cannot access the Internet, so that the IP address will be changed randomly, so that IP will occur frequently in the entire LAN. The phenomenon of conflicting addresses conflicts, which in turn has a negative impact on the management and maintenance of the LAN. In order to solve the frequent conflicts of IP addresses of LAN workstations, we can skillfully use the Regsvr32 command that comes with the system to hide the “network connection” icon, so that ordinary users can't find the “network connection” icon. The IP address of the workstation cannot be modified at will. The following is the specific implementation steps of the method: Since the user only enters the attribute setting interface of “Network Connection”, the IP address of the workstation can be modified, and “Network Connection” The display of the property setting interface is related to the system's dynamic link files Netshell.dll, Netman.dll, Netcfgx.dll. These link files are all controls of the workstation system. They are automatically registered by the Windows operating system by default. Now, we can use the Regsvr32 command to register the above dynamic link files from the system. In the future, if the ordinary user wants to enter the “network connection” property setting interface to modify the workstation IP address, the system cannot find the corresponding dynamic chain. The file will not display the “Network Connection” property setting interface, so ordinary users will naturally not be able to modify the IP address at will. When deregistering the dynamic link files Netshell.dll, Netman.dll, Netcfgx.dll, we can log in to the local workstation system as the system administrator, click “start” in the system desktop. “Run & rdquo; menu option, open the system operation box of the local workstation, enter the string command "ldd; cmd", click the Enter key, enter the MS-DOS work window. In the command line prompt of the MS-DOS window, execute the "Regsvr32/uNetshell.dll" input string command, the Netshell.dll dynamic link file of the local workstation is successfully unregistered from the system. According to the same operation method, we execute the string command “Regsvr32/uNetcfgx.dll”, “Regsvr32/uNetcfgx.dll”, “Regsvr32/uNetman.dll” in the command prompt, to dynamically link the file Netcfgx.dll in the local workstation. Netman.dll is unregistered. When we end the anti-registration operation of all dynamic link files, we will try to modify the IP address of the workstation. We will find that the TCP/IP property setting window in the system cannot enter, so we can solve the frequent conflicts of IP addresses. .
Copyright © Windows knowledge All Rights Reserved