DOCUMENT:Q102909  26-AUG-1993  [W_NT]
TITLE   :Importing an LMHOSTS File May Leave the File Empty
PRODUCT :Windows NT
PROD/VER:3.10
OPER/SYS:WINDOWS
KEYWORDS:

----------------------------------------------------------------------
The information in this article applies to:

 - Microsoft Windows NT operating system version 3.1
 - Microsoft Windows NT Advanced Server version 3.1
----------------------------------------------------------------------

Bug #: 16805

SYMPTOMS
========

Importing an existing LMHOSTS file from your own machine's
<winnt>\system32\drivers\etc\lmhosts directory nulls out the file and
leaves an empty file.

RESOLUTION
==========

To work around this problem, copy the LMHOSTS file to another
directory on the drive and import it from there.

STATUS
======

Microsoft has confirmed this to be a problem in Windows NT version 3.1
and Windows NT Advanced Server version 3.1. We are researching this
problem and will post new information here in the Microsoft Knowledge
Base as it becomes available.

MORE INFORMATION
================

Steps to Reproduce Problem
--------------------------

1. Choose the Network icon in Control Panel. 

2. In the Installed Network Software box, select TCP/IP Protocol, and
   choose Configure.

3. Choose Import LMHOST.

4. Enter the path to the existing LMHOSTS file

      <winnt>\system32\drivers\etc\lmhosts

   where <winnt> is the name of the Windows NT program directory.

The operation will succeed, but the resulting LMHOSTS file is empty
and is the same size as the original.

Additional reference words: 3.10
KBCategory:
KBSubcategory: tpip

=============================================================================

THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS
PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND.  MICROSOFT DISCLAIMS
ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  IN NO
EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR
ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL,
CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF
MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.  SOME STATES DO NOT ALLOW THE EXCLUSION
OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES
SO THE FOREGOING LIMITATION MAY NOT APPLY.

Copyright Microsoft Corporation 1993.