locked
How to disable NetBT without disabling "SMB over TCP/IP"? RRS feed

  • Question

  • From
    What’s Port 445 in W2K/XP/2003? – SMB Over TCP

    I understood "SMB over TCP/IP" is used when "NetBIOS over TCP/IP"(NetBT) is disabled and it should have been available upon disabing NetBT.

    But the check [1], [2] shows that disabling of NetBT simultaneously disables "SMB over TCP/IP".

    Two questions:
    1)
    How is my NETBIOS computer name is resolved locally (internally),
    (for ex., in its pinging by NetBIOS name or using it in MS SQL Server connection string)
     upon NetBT disabling?
    2)
    Why NetBT disabling disables "SMB over TCP/IP"?
    How to disable NetBT without disabling "SMB over TCP/IP"?

    ===============================================
    ===============================================
     The results of commands execution
    (Windows XP Pro SP3)
    [1]===============================================
    NetBT is disabled

    -------------------------------------------------------------------------------
    D:\Documents and Settings\Administrator>net config redirector

    Computer name                        \\PBLACK

    Full Computer name                   pblack

    User name                            Administrator

     

    Workstation active on

     

    Software version                     Windows 2002

     

    Workstation domain                   WORKGROUP

    Workstation Domain DNS Name          (null)

    Logon domain                         PBLACK

     

    COM Open Timeout (sec)               0

    COM Send Count (byte)                16

    COM Send Timeout (msec)              250

    The command completed successfully.

    -----------------------------------------------

    D:\Documents and Settings\Administrator>net config server

    Server Name                           \\PBLACK

    Server Comment

     

    Software version                      Windows 2002

    Server is active on

     

     

    Server hidden                         No

    Maximum Logged On Users               10

    Maximum open files per session        16384

     

    Idle session time (min)               15

    The command completed successfully

    ======================================
    [2]NetBT is ENABLED
     

    --------------------------------------------------------------------
    D:\Documents and Settings\Administrator>net config redirector

    Computer name                        \\PBLACK

    Full Computer name                   pblack

    User name                            Administrator

     

    Workstation active on

            NetbiosSmb (000000000000)

            NetBT_Tcpip_{92416264-84C0-4CA9-9B9E-367ABD85B92E} (0040F486B845)

     

    Software version                     Windows 2002

     

    Workstation domain                   WORKGROUP

    Workstation Domain DNS Name          (null)

    Logon domain                         PBLACK

     

    COM Open Timeout (sec)               0

    COM Send Count (byte)                16

    COM Send Timeout (msec)              250

    The command completed successfully

    -----------------------------------------------------------

    D:\Documents and Settings\Administrator>net config server

    Server Name                           \\PBLACK

    Server Comment

     

    Software version                      Windows 2002

    Server is active on

            NetbiosSmb (000000000000)

            NetBT_Tcpip_{92416264-84C0-4CA9-9B9E-367ABD85B92E} (0040f486b845)

     

     

    Server hidden                         No

    Maximum Logged On Users               10

    Maximum open files per session        16384

     

    Idle session time (min)               15

    The command completed successfully.

    Monday, July 19, 2010 4:59 AM

All replies

  • Hi,

    Thanks for the post.

    Please understand that the DNS Client service checks the DNS client resolver cache. If the name is not found in the DNS client resolver cache, the DNS Client service attempts to resolve the name by sending queries to a DNS server. The DNS Client service creates fully qualified names from the converted NetBIOS name.

    In general, NetBT disabling (The WINS tab of the Advanced TCP/IP Settings dialog box contains a Disable NetBIOS over TCP/IP option) will not disable "SMB over TCP/IP". This only disable the Nbt.sys which stops NetBIOS from listening to or initiating session over TCP 139, which SMB normally uses this port for communication, it will now switch to TCP 445. However, if you also want to disable port TCP 445, SMB over TCP/IP will be disabled as SMB uses TCP 139 or TCP 445.

    If there is anything unclear on this issue, please feel free to let me know.

    Thanks

    Miles

     


    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
    Wednesday, July 21, 2010 2:58 AM
  • Let me understand me what you are trying to explain.

    In order to work (develop) with single-label names for internal (local) networking services
    on isolated from network Windows XP Pro SP3 workstation (or local workgroup),
    upon disabling NetBT and SMB/CIFS,
    it (each client workstation) would need the deployment of its own dns server?

    and upon connecting it to workgroup synchronization of local dns databases between all client workstations?
    and upon joining to domain synchronization of them with domain dns servers?

    Disabling of NetBT, and of "SMB over TCP/IP" and  disabling local DNS client resolver  and unplugging the network cable  do not prevent local Windows XP SP3 from resolving NetBIOS names in internal networking services.

     

    Wednesday, July 21, 2010 8:03 AM