This article was previously published under Q154608
This article has been archived. It is offered "as is" and will no longer be updated.
When a gethostbyaddr() uses a NETBIOS Node Status Query to return theMachine Name of a device, it will return the first instance of the machinename that is registered as Unique [00h]. The order of the Unique <00> nameregistered can be viewed by running NBTSTAT -N at a command prompt.
Some services, other than the Workstation, that Register as Unique with the[00h] entry, will show up in the NETBIOS Node Status Query response as wellas the Machine Name. These names can be returned by a gethostbyaddr() andcan incorrectly identify the computer if they are listed first in theresponse above the Workstation Name entry.
Node IpAddress: [18.104.22.168] Scope Id:  NetBIOS Local Name Table Name Type Status--------------------------------------------------IS~FARMER <00> UNIQUE RegisteredFARMER <00> UNIQUE RegisteredUSA <00> GROUP RegisteredFARMER <03> UNIQUE RegisteredFARMER <20> UNIQUE RegisteredFARMER+++++++++ <BE> UNIQUE RegisteredINet~Services <1C> GROUP RegisteredTESTER <03> UNIQUE Registered
Stop and restart the service or services whose names are Registered asUnique [00h] above the Workstation Service entry in the NetBIOS Local NameTable.
Microsoft Windows 2000 Server, Microsoft Windows 2000 Advanced Server, Microsoft Windows 2000 Professional Edition, Microsoft Windows NT Workstation 3.5, Microsoft Windows NT Workstation 3.51, Microsoft Windows NT Workstation 4.0 Developer Edition, Microsoft Windows NT Server 3.5, Microsoft Windows NT Server 3.51, Microsoft Windows NT Server 4.0 Standard Edition