Shared file hint does not have access rights in LAN

Source: Internet
Author: User
Tags documentation reset port number

Now the company and the organization have formed the local area network. Most of the use of Windows XP system, but the system itself with some system rejection, because the intranet resources are shared, so often encountered problems, System prompts: You may not have access to network resources. Please contact the administrator of this server to find out if you have access rights. Access denied. "The server list for this workgroup is not available. Here's what you need to do to help you out.

First, let's look at the most basic conditions for network neighbors to access each other:

1. The two sides of the computer open, and set up a network of shared resources;

2. Computers on both sides have added the Microsoft network file and print sharing service;

3. Both sides have correctly set the IP address in the network, and must be in a network segment;

4. Firewalls are turned off on both computers, or there are no policies in the firewall policy that prevent network Places from being accessed.

5. XP for the first time in use in the properties of the Network Neighborhood has created a new Internet connection for Network Setup Wizard

6. Physical connections between computers are normal. On a desktop computer, the LEDs on the back of each NIC are lit, the hub or switch is turned on, and each client connection LED is lit and the crystal head of the network cable is in good contact.

7. Ensure that TCP/IP is installed on all computers and is working properly.

TCP/IP is installed by default in Windows XP. However, it is not easy to reinstall TCP/IP If a network problem is to be uninstalled: This connection, displayed in the Local Area Connection property, uses the Internet Protocol (TCP/IP) entry in the following list of items, and you will find that the Uninstall button is unavailable (disabled).

This is because the Transmission Control Protocol (TCP/IP) stack is the core component of the Microsoft xp/2003 and cannot be deleted. \/internet In this case, if you need to reinstall TCP/IP to restore the TCP/IP stack to its original state. You can use the Netshell utility to reset the TCP/IP stack so that it reverts to the state of the operating system when it was first installed. Type the following command at the command prompt, and then press ENTER: netsh int ip reset c: Resetlog.txt, where Resetlog.txt log files that record command results, be sure to specify that the Resetlog.txt log file and the full path are specified here. Running this command results in the same effect as removing and reinstalling the TCP/IP protocol.

Now that we understand these conditions, we can begin to address:

The first possibility is the normal behavior of system browsing. such as the expected escalation behavior mentioned in the Microsoft documentation. Detailed can come here to see: http://support.microsoft.com/kb/304040/ZH-CN/

Also, in real-world networks, computers that install Windows XP systems sometimes have problems with Windows 98 and Windows 2000 computers, even if you open the Guest account, install the NetBEUI protocol, set up shared folders, Also not normal access, which is the system itself to browse the policy phenomenon.

The second is to open a firewall, and the firewall in XP will cause the Network Neighborhood to be inaccessible. You can view it by using the command net view ComputerName. Whether it's 2000 or XP, just turn off the firewall. Also ensure that the firewall does not prohibit traffic to the following ports: UDP-137, UDP-138, TCP-139, TCP-445 (only Win2K and later operating systems). The latest SP2 patch for Windows XP has made great improvements to ICS, more powerful, ICS has its own settings, and after installing SP2, the ICS firewall is enabled by default, no external active connections are allowed, and even local applications need to be set up in the license list to access the network.

But the firewall blocks normal network browsing service communications, As a result, people can't see your computer in their online neighborhood. If ICS is turned on, open properties, in the Service this column, select Add, Add Service dialog box A total of four edit boxes, the top is to describe the service name to facilitate memory, from top to bottom the second is the IP address or name of the application service, input 127.0.0.1 represents the computer.

The following is the internal and external port number, next to the TCP/UDP to indicate whether the port is a UDP or TCP connection.

Enter 3 services in the form below

Name Protocol Port

NetBIOS Name Service UDP 137

NetBIOS Datagram Service UDP 138

NetBIOS Session Service TCP 139

PS:137/UDP--NetBIOS name server, network basic input/output system (NetBIOS) name Server (NBNS) protocol is part of the NetBIOS (NetBT) protocol family on TCP/IP. It provides host name and address mapping methods on a network that is based on NetBIOS name access. 138/UDP-NetBIOS datagram, a NetBIOS datagram that is part of the NetBIOS (NetBT) protocol family on TCP/IP, is used for network logons and browsing.

139/TCP-NetBIOS Session service, a NetBIOS session service that is part of the NetBIOS (NetBT) protocol family on TCP/IP for Server Message block (SMB), file sharing, and printing.

The third is to see if the Guest user is activated. You can find the Guest account in the Control Panel | management Tools | Computer Management | Local Users and Groups | users-and open the Guest Properties dialog box with the right mouse click to remove the hook mark on the Account deactivated check box. The Windows XP Guest account allows others to use your computer, but does not allow them to access specific files, nor does it allow them to install software. The Guest account is used for all network access to Windows XP Home Edition computers or to Windows xp-based Professional computers in a workgroup. Use NET user guest to ensure that the Guest account is set up for network access, and if the account is active, a row appears in the command output that is similar to the following: Account active Yes; if it is not active, grant the Guest account network access using the following command:

NET user Guest/active:yes

Either open the Control Panel-> user account or open the Guest account in the Administrative Tools-> Computer Management-> Local Users and groups. is also set to allow guest (guest) accounts to be accessed from the network.

In Run enter Gpedit.msc, pop-up Group Policy manager, in ' Computer Configuration-windows Settings-Local policy-User rights Assignment ', there is the "Deny access to this computer from the network" policy prevents access to this computer from the network, if there is a guest account number, The workaround is to delete the Guest account in the denied access.

The fourth kind of view protocol, the IPX,NETBEUI,TIP/IP protocol, the option to open, sharing is 139,445 port. Win2K installs the NetBEUI protocol.

Network Neighborhood-> Properties-> Local Connection-> properties----> Installation------> Protocol------->netbeui Protocol

XP Right-click the Network Neighborhood-property to select the network card to share. Set IP on the same network segment of the LAN. To open NetBIOS on TCP/IP in XP

Start----> Control Panel----> Network and Internet connection----> Network connection----> Local Area Connection----> Properties---->internet Protocol (TCP/IP)----> general---- > Advanced---->wins option---->netbios----> Enable NetBIOS----on TCP/IP > OK [click 2 times]

The fifth way is to add a symbol before the shared folder, such as ¥,%

The sixth checks whether there are security policy restrictions Win2000

Start-> run-> gpedit.msc-> Computer Configuration-> Windows Settings-> Local policy-> user Rights Assignment-> delete the Guest user in Deny access to this computer from the network.

Main policy security settings for XP

Start-> run-> gpedit.msc-> Computer Configuration-> Windows Settings-> security Settings-> Local policy-> User Rights Assignment-> access this computer from the Network property there nature everone or Deletes guest in the Deny access this computer from the network attribute.

Seventh "File and Printer Sharing" restrictions, allowing other users to access my files click on the activation can be, some of the other less encountered problems such as internal IP address conflict, even including hub failure, line failure, etc. will not say

The eighth is to start the Computer Browser service. The Computer Browser service, which is not started or is turned off (disabled) according to Microsoft's documentation workgroup, also causes access to network neighbors to fail. Open it.

Start----> My Computer----> Management----> Services and Applications----> Services----> In the details pane on the right, check that the Computer Browser service is started, right-click the Computer Browser, and then click Start

The Nineth way to run the Network Identification Wizard.

My Computer----> Properties----> Computer name tab----> Network ID button to start the Network Identification Wizard:----> Next----> This machine is part of a commercial network that connects to other working computers----> Next----> company uses a network with no domain----> Next----> enter your LAN's workgroup name----> Next----> Complete

The tenth check RPC, Plug and play service is started, check the permissions of the appropriate system folders, and re-register the following dynamic link libraries:

regsvr32 netshell.dll

regsvr32 netcfgx.dll

regsvr32 netman.dll

The 11th set of account number and password. Because of the Winnt kernel operating system, when accessing a remote computer, it seems always to try first with the local current username and password, which may cause no access, where the user's password can be added.

The 12th ping IP, then enter "192.168.1.8" in the Address Entry field and click OK.

Using the method of searching the computer, the computer updates the list takes time, and searching the computer can speed up the updating of the list. Click "Search Computer" in "Network Neighborhood" right, enter computer name, click "Search Now", you can see the computer you want to visit. Just double-click the computer name on the right to open it.

Using the method of mapping drive access, enter DOS mode, enter "NET VIEW killer", return

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.