Re: unable to share files and printer

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Steve Winograd [MVP] (winograd_at_pobox.com)
Date: 11/15/04


Date: Sun, 14 Nov 2004 23:44:55 -0700

In article <37F5EC92-B2BE-46D2-87B4-01C66FF75D29@microsoft.com>, "John
James" <John James@discussions.microsoft.com> wrote:
>i have setup a network on 2 computers running XP with a crossover cable. One
>computer works fine but the other one will not let me access its files or
>printer. yet when i swap over my cable modem i can connect through either
>computer. It shows both workgroup computers but displays the error
>
>not accessible. You might not have permission to use this network resource.
>Contact the administrator of this server to find out if you have access
>permissions.
>
>Access is denied.
>
>This is driving me mad as it pings to this workgroup computer but wont
>share. HELP! i have lost 2 days of my life
>
>JJ

Run the Network Setup Wizard on the computer that can't be accessed.
That's often all that's needed to fix the problem. Tell the Wizard
that the computer connects to the Internet through a residential
gateway (router).

If that doesn't solve the problem, try these tips:

1. Use only one protocol for File and Printer Sharing. If the network
needs more than one protocol, unbind File and Printer Sharing from all
but one of them. Details here:

Windows XP Network Protocols
http://www.practicallynetworked.com/sharing/xp/network_protocols.htm

2. Make sure that NetBIOS over TCP/IP is enabled on both computers.
Details here:

Enable NetBIOS Over TCP/IP (NetBT)
http://www.practicallynetworked.com/sharing/troubleshoot/netbt.htm

3. Run "ipconfig /all" on each computer and look at the "Node Type" at
the beginning of the output. If it says "Peer-to-Peer" (which should
actually be "Point-to-Point") that's the problem. It means that the
computer only uses a WINS server, which isn't available on a
peer-to-peer network, for NetBIOS name resolution.

If that's the case, run the registry editor, open this key:

   HLM\System\CurrentControlSet\Services\Netbt\Parameters

and delete these values if they're present:

   NodeType
   DhcpNodeType

Reboot, then try network access again.

If that doesn't fix it, open that registry key again, create a DWORD
value called "NodeType", and set it to 1 for "Broadcast" or 4 for
"Mixed".

For details, see these Microsoft Knowledge Base articles:

Default Node Type for Microsoft Clients
http://support.microsoft.com/default.aspx?scid=kb;en-us;160177

TCP/IP and NBT Configuration Parameters for Windows XP
http://support.microsoft.com/default.aspx?scid=kb;en-us;314053

-- 
Best Wishes,
Steve Winograd, MS-MVP (Windows Networking)
Please post any reply as a follow-up message in the news group
for everyone to see.  I'm sorry, but I don't answer questions
addressed directly to me in E-mail or news groups.
Microsoft Most Valuable Professional Program
http://mvp.support.microsoft.com


Relevant Pages

  • Re: unable to share files and printer
    ... You might not have permission to use this network resource. ... Make sure that NetBIOS over TCP/IP is enabled on both computers. ... > Default Node Type for Microsoft Clients ... > TCP/IP and NBT Configuration Parameters for Windows XP ...
    (microsoft.public.windowsxp.network_web)
  • Re: Workstation Service
    ... I already resolved after find a article in Microsoft ... > | client for microsoft networks, file and print shares, and netbios under ... > | shares, and netbios under tcp/ip), ... > | local network connectivity and File and Print sharing. ...
    (microsoft.public.windowsxp.security_admin)
  • RE: Securing a Local Network
    ... Show the Management of your company the insecurity of the Peer to Peer ... setup and discuss what risks are they willing to accept. ... -Cost of getting the web server and the mail server internally versus having ... -Use an older box for Intrusion Detection on the internal network as well. ...
    (Security-Basics)
  • Re: Networking w/ Router
    ... Identical user accounts are only needed when trying to ... > Windows XP Network Protocols ... Make sure that NetBIOS over TCP/IP is enabled on all computers. ... > Default Node Type for Microsoft Clients ...
    (microsoft.public.windowsxp.network_web)
  • Re: Client computer wont connect to internet ATTN: Joe Crown
    ... for my host/client setup. ... >When I supported Windows 98 & Windows ME the most common cause of ... >> When I try to connect to the internet using Firefox or Internet ... >> 7) In the Manufacturers box, click Microsoft, in the Network Protocols ...
    (microsoft.public.windowsxp.network_web)