Solving the problem of Windows XP network neighbor sharing

  
causes Windows XP network neighbors to not browse or browse the list incompletely. There are many factors to solve the problem. The diagnosis process is divided into two steps: testing the basic connection and solving the file sharing problem.

First, solve the basic connection problem.

1. Check the physical connection between computers.

The network card is the basic device for network connection. In the desktop computer, the indicator light behind each network card should be bright, which means the connection is normal. If it is not lit, check that the hub or switch is turned on and that the indicator for each client connection is lit, indicating that the link is normal. Next, check if the crystal head of the cable is in good contact.

2. Make sure that TCP/IP is installed on all computers and that it works fine.

TCP/IP is installed by default in Windows XP. However, if there is a network problem, it is not easy to reinstall TCP/IP after uninstalling: This connection shown in the "Local Area Connection" property uses the Internet Protocol (TCP/IP) item in the list of the following items, you will find The Uninstall button is not available (disabled).

Figure 1

This is because the Transmission Control Protocol/Internet Protocol (TCP/IP) stack is a core component of Microsoft XP/2003 and cannot be removed. In this case, if you need to reinstall TCP/IP to return the TCP/IP stack to its original state. You can use the NetShell utility to reset the TCP/IP stack to the state it was in when the operating system was first installed. To do this, type the following command at the command prompt, and then press ENTER: netsh int ip reset c:\ esetlog.txt, where Resetlog.txt records the log file of the command result, must be specified, here Resetlog.txt is specified Log file and full path. The result of running this command has the same effect as deleting and reinstalling the TCP/IP protocol.

In addition, there will be no people using 95, WIN95 does not automatically install TCP/IP protocol by default.

3, check the IP address

There are several cases:

Check whether the IP of different computers is in the same range, by entering IPCONFIG/ALL in MSDOS mode . If a computer receives an address in the range of 192.168.0.x and another receives an address in the range of 169.254.x.y, it is necessary to determine which one is the correct address based on the network topology. Then, focus on solving the problem of the computer with the wrong address.

About 169.254.x.y class IP address

In the absence of an Internet connection, or each computer has a separate Internet connection (dial-up or broadband connection). In this configuration, the computer typically assigns itself an IP address in the range of 169.254.x.y (where x and y are numbers between 1 and 254). The address provided by the ISP is used for Internet connection.

About 192.168.0.X Class IP Addresses

A computer connects to a shared Internet by using an Internet connection share. The connection can be a dial-up connection or a broadband connection (typically an xDSL or cable modem). This computer is also known as a proxy server. Common agents are SYGATE, WINGATE, NAT, ISA, CCPROXY, and so on. It is usually the responsibility of the proxy server to assign IP addresses to other computers in the home network. The shared-connected computer should have an IP address of 192.168.0.1 configured for the network card connected to the home network. The addresses of other computers on the network should be in the range 192.168.0.x (where x is a number between 2 and 254). Of course, you can modify the IP address after successful sharing, such as 10.X.Y.Z.

The computer is connected to the hub, and the hub is connected to the Internet through a broadband connection. This configuration is also known as a borderless network. In this configuration, each computer in the home network has an IP address provided by an Internet Service Provider (ISP). The address used varies by ISP. A borderless network is a special case. ICF should be used in this case, but other steps must be taken to enable the connection on the home network.

4. Use the ping command to test the connection between two computers on the network:

Ping other computer IP, at the command prompt, type ping xxxx (where xxxx is another computer) IP address), then press ENTER. You should be able to see several replies from another computer, such as:

Reply from xxxx:bytes=32 time<1ms TTL=128

If you don’t see these replies, or watch Go to "Request timed out" to indicate that there may be a problem with the local computer. If the ping command is successful, then you are sure that the computer is properly connected and you can skip the next step. If you don't see these replies, or see "Request timed out", there may be a problem with your local computer. PING local IP, if you see "Request timed out", there may be a problem with the local computer.

5, use the ping command to test whether the name resolution in the network is normal

ping computername, where computername is the name of the remote computer. Test the computer connection by name with the ping command. To determine the name of your computer, at the command prompt, enter SYSTEMINFO. Or right click on My Computer - Properties on the desktop and click on the Computer Name tab. If you see a successful reply to the command, you have a basic connection and name resolution between the computers. Name resolution is closely related to NETBiOS, see the steps below.

6. Analysis Log

Check for errors in any steps that were not successfully performed in the Network Setup Wizard log file. To open the log, click Start, click Run, type %SystemRoot%\ sw.log, and then press ENTER. If the Nsw.log file does not provide information about the problem, check the errors in the system log and find out the cause of the error.

Second, solve the problem of file and printer sharing

1, correctly install the network components

First right click on the network neighborhood - properties, select the share Network card. Set the IP on the same network segment of the LAN. For example, the 192.168.0.X network segment. Then look at the advanced properties of TCP/IP, whether to enable NETBIOS. In the network system built with WINNT4.0, the unique identification information for each host is its NetBIOS name. The system uses the WINS service, information broadcast mode and Lmhost file to resolve the NetBiOS name to the corresponding IP address. To achieve information communication. In the internal network system (that is, in the LAN we usually call), it is very convenient and fast to use NetBIOS name to realize information communication. However, the unique identification information for a host on the Internet is its FQDN format domain name (such as www.163.com). In the Internet, the DNS standard is used to resolve the domain name to the corresponding IP address. WIN2K supports dynamic DNS and runs. The Active Directory service machine can dynamically update the DNS table. WINS services are no longer needed in WIN2K networks, but WIN2K still supports WINS, which is due to backward compatibility. At present, most networks are hybrid networks, including Win98 and other systems, and WINXP/WIN2K systems. Therefore, it is necessary to bundle NETBiOS to resolve computer names on the TCP/IP protocol.

Figure 2

Check if the "File and Print Service" component is selected. If it has been unchecked, the "Browse Service" will not be bound to the NetBiOS interface. A Windows-based computer that becomes a backup browser and does not have File and Print Sharing enabled cannot share the browse list with the client. Any computer that will be included in the browse list must also have File and Print Sharing enabled.

Figure 3

2, start the "Computer Browser" service

Computer Browser" service maintains a list of computer updates on the network, and provides this list to the specified The browser's computer. If this service is stopped, neither the update nor the maintenance of the list.

Starting the "Computer Browser" service

Click Start, right click on My Computer , and then click Manage.

In the console tree, expand Services and Applications.

Click Services.

in the details pane on the right To check if the "Computer Browser" service has started, right-click on the computer browser and click Start.

Close the "Computer Management" window.

Figure 4

3. View shared folder

Click Start, click Run, type fsmgmt.msc, and then click OK. In the left pane, click Sharing. The list of shared folders appears in the right pane. Make a note of the corresponding share name for each computer.

Figure 5

4. Use the Guest account

The Windows XP Guest account allows others to use your computer, but does not allow them to access specific files or allow them to install software. All network access to Windows XP Home Edition computers or Windows XP Professional computers in workgroups is used. Guest account. Use net user guest to ensure that the guest account is set for network access. If the account is active, a line similar to the following will appear in the command output: Account active Yes; if the account is not active, please use the following The command grants guest account network access:

net user guest /active:yes

Figure 6

5. Allow the Guest account to be accessed from the network.

Enter gpedit.msc in the run to bring up the Group Policy Manager. In 'Computer Configuration - Windows Settings - Local Policies - User Rights Assignment', there is a "Deny access to this computer from the network" policy to block access from the network. A computer, which actually has a GUEST account, who can access this computer. The solution is to delete the GUEST account that is denied access.

Figure 7

6. Setting the firewall to allow browsing services

Network security is important, so it is best to turn on the network firewall, but the firewall blocks the normal network browsing service communication. It is someone who can't see your computer in the network neighborhood. Is there a best-of-breed way to allow browsing services while the firewall is turned on? The solution is, if ICF is enabled, open the properties, in the service column, select Add, add a service dialog box has four edit boxes, the top is to describe the service name, in order to remember, from top to bottom, the second is the application Enter the IP address or name of the service and enter 127.0.0.1 for the machine. The following is the internal and external port number, next to tcp /udp indicates whether the port is a udp connection or a tcp connection.

Enter 3 services according to the following table

Name Protocol Port

NetBiOS Name Service UDP 137

NetBiOS Datagram Service UDP 138

NetBiOS Session Servic

Copyright © Windows knowledge All Rights Reserved