Microsoft KB Archive/836773

= Windows Server 2003 does not import an LMHOSTS record that includes a quoted string of 15 characters plus the NetBIOS suffix after the IP address =

Article ID: 836773

Article Last Modified on 7/24/2007

-

APPLIES TO


 * Microsoft Windows Server 2003, Standard Edition (32-bit x86)
 * Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)
 * Microsoft Windows Server 2003, Enterprise x64 Edition

-





SYMPTOMS
When you use the Windows Internet Name Service (WINS) Manager Microsoft Management Console (MMC) to import an LMHOSTS file on a computer that is running Microsoft Windows Server 2003, no error is reported in the WINS Manager MMC. However, the computer does not successfully import an LMHOSTS record if the following conditions are true:
 * The LMHOSTS record contains an IP address at the beginning of the record.
 * The LMHOSTS record contains a quoted string of 15 characters plus the NetBIOS suffix characters.

For example, the following LMHOSTS record is not imported successfully:

. . . &quot; /0x1B&quot;

.

Additionally, if you perform an NetBT query and you import an LMHOSTS file that contains any &quot;as-is&quot; name to a WINS database on a Windows Server 2003 Datacenter Edition-based computer, you may receive the following error message:

Name doesn't exist

(An &quot;as-is&quot; name is a name in quotation marks.)

For example, if you run the following query

1.1.1.1 &quot;AA&quot;

you can import the LMHOSTS file, but subsequent queries for this quoted name are unsuccessful.

For additional information about LMHOSTS and other name resolution issues, click the following article numbers to view the articles in the Microsoft Knowledge Base:

180094 How to write an LMHOSTS file for domain validation and other name resolution issues

163409 NetBIOS suffixes (16th character of the NetBIOS name)

When you experience this symptom, WINS records Event 4299 in the System event log. The entry may be similar to the following entry: Event Type: Error

Event Source: Wins

Event Category: None

Event ID: 4299

Description: The following name, &quot;MYDOMAIN \0x1b&quot;, is too long. Valid NetBios names must not exceed 15 characters. The name has not been entered in the WINS database.



CAUSE
This problem occurs because Windows Server 2003 Datacenter Edition has changed the way WINS parses the LMHOSTS file.



To work around this issue, you can use the Netsh.exe command-line tool to manually add group names and unique names instead of using the Import function in WINS. To use this method, follow these steps:
 * 1) Click Start, click Run, type cmd, and then click OK.
 * 2) At a command prompt, type netsh.
 * 3) At the netsh prompt, type wins server \\, where \\  is the IP address of the WINS server.
 * 4) At the netsh wins server prompt, type add name Name=  endchar=1b IP= , where   is the name of the domain, and   is the IP address of the primary domain controller in the domain.

For example, at the  \>netsh wins server prompt, type add name Name= endchar=1b IP=.

.



Hotfix information
A supported hotfix is now available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next service pack that contains this hotfix.

To resolve this problem, submit a request to Microsoft Online Customer Services to obtain the hotfix. To submit an online request to obtain the hotfix, visit the following Microsoft Web site:

http://go.microsoft.com/?linkid=6294451

Note If additional issues occur or any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. To create a separate service request, visit the following Microsoft Web site:

http://support.microsoft.com/contactus/?ws=support

Prerequisites
No prerequisites are required.

Restart requirement
You do not have to restart your computer after you apply this hotfix.

Hotfix replacement information
This hotfix does not replace any other hotfixes.

File information
The English version of this hotfix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.

  Date         Time   Version            Size    File name        Platform 08-Mar-2004 17:19  5.2.3790.139      144,384  Wins.exe         x86 08-Mar-2004 16:29  5.2.3790.139      467,968  Wins.exe         IA-64



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.



MORE INFORMATION
For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates

Keywords: kbhotfixserver kbqfe kbwinservnetwork kbnetwork kbbug kbfix kbqfe kbwinserv2003presp1fix KB836773

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.