Monday, March 14, 2016

Diagnosing Windows File and Printer Share

When we find that the Windows File and Printer Share does not work as we desire, e.g., you may observe an error as follows,

System error 53 has occurred.

The network path was not found.

many factors can contribute to the problem, commonly,
  • Name resolution including both Domain Name Resolution (DNS) and NetBIOS Name Resolution
  • Windows Firewall
I find that it is efficient to follow the steps below to diagnose the problems, where we assume that a resource, "MYSHARE" is shared on a remote host with DNS name "MYHOST.MYDOMAIN.COM", NetBIOS name "MYHOST", and IP address "192.168.1.102"
  1. Disable Windows Firewall on the remote host
  2. Check any of special hidden administrative shares is accessible on the client host using the remote host's IP address, e.g.,
    
    net use \\192.168.1.101\Admin$

    If the resource is accessible, you will be prompted for username or password, e.g.,
    
    C:\>net use \\192.168.1.102\admin$
    The password is invalid for \\192.168.1.102\Admin$.
    
    Enter the user name for '192.168.1.102':
    

  3. If Step 2 fails,it is likely that you have forgotten to share the resource. Follow the Microsoft's guideline to share the resource.
  4. If Step 2 succeeds, check if the remote host's NetBIOS name registered and resolved on the client host,
    
    C:\>nbtstat -a myhost
    

    Depending on the number of interfaces that the client machine has, it may take a while. Regardless, it should show that the NetBIOS Name "myhost" should be registered on the network interface via which the remote machine is accessible, e.g.,
    
    
    Ethernet 3:
    Node IpAddress: [192.168.1.101] Scope Id: []
    
               NetBIOS Remote Machine Name Table
    
           Name               Type         Status
        ---------------------------------------------
        MYHOST         <20>  UNIQUE      Registered
        MYHOST         <00>  UNIQUE      Registered
        WORKGROUP      <00>  GROUP       Registered
        WORKGROUP      <1e>  GROUP       Registered
    
        MAC Address = 66-11-22-33-44-55
    
    
    where we assume the client host's IP address is 192.168.1.101.

  5. If Step 4 fails, you must set up the NetBIOS name properly on the remote host by following Microsoft's guideline. You may also refer to this article on NetBIOS naming.
  6. Then, you can now try to access the shared resource on the remote host using the resource name and the remote host's NetBIOS name. The resource should be in the form of "\\MYHOST\MYSHARE".
    
    net use \\MYHOST\MYSHARE

    Or, if you need to provide a different Windows credential,
    
    net use \\MYHOST\MYSHARE /user:MYHOST\MYUSERNAME

  7. Now enable Windows Firewall and repeat Step 6. If Step 6 is successful, the Windows Firewall has already been configured to allow the Windows File and Printer share. If not, allow the Windows File and Printer Share in the Window Firewall, following the Windows guideline.

4 comments:

  1. Your blog is great, thanks for sharing it. Apart from being motivating, I also found it useful. Please continue sharing your thoughts with me.How to Record Audio on PowerPoint This article demonstrates how to add a statement to a powerpoint presentation. When seminars and meetings are being held online, adding audio or video narration can be very useful. To get the most out of live streaming (which is the way to go), you should go through the information in this article.

    ReplyDelete
  2. あなたのブログは私にとって貴重なリソースになり、常に最新の投稿を楽しみにしています。 連続ヒット速度に関するプロフィールを共有したいと思います。このプロフィールでは、クリッカー ゲームの開発者へのインタビューを特集し、背後にある創造的なプロセスについての洞察を提供しています。 これらの中毒性のあるゲーム。 ゲームデザインの世界に興味のある方は、ぜひお読みください。

    ReplyDelete
  3. No puedo esperar para compartir este artículo con mis amigos. ¡También lo encontrarán estimulante! Optimice su experiencia en línea con Clicks Por Segundo , ¡la vía rápida de Internet! debe tener una herramienta...

    ReplyDelete
  4. Thank you for this thoughtful explanation. Be sure to read this profile for more insights IQ Test. IQ tests examine a range of cognitive strengths.

    ReplyDelete