Article ID: 105997 - Last Review: November 1, 2006 - Revision: 2.1 Differences Between the HOSTS and LMHOSTS Files in Windows NT
This article was previously published under Q105997 SUMMARY
In Windows NT, the HOSTS file is for TCP/IP utilities, and the LMHOSTS
file is for LAN Manager NET utilities. If you cannot PING another
computer (using a friendly name), check the HOSTS file. If you cannot
NET VIEW a server using only the TCP/IP protocol, check the LMHOSTS
file.
MORE INFORMATION
The HOSTS file is used when you do something with the TCP/IP
utilities, such as PING, FTP, and TELNET. You can find the HOSTS file
in the winnt\system32\drivers\etc directory. The format of the file is
the following:
IP Address Friendly Name 130.25.25.87 jsmith_nt # Remarks are denoted with a #. The LMHOSTS file is for LAN Manager name resolution with the TCP/IP protocol. The file is similar in format to the HOSTS file, but its function is to resolve IP addresses for a server that is not on the local subnet (the same wire). So, if you type the following IP Address Friendly Name 130.25.25.87 jsmith_nt For additional information on the LMHOSTS file in Windows NT, query on the following words in the Microsoft Knowledge Base:
lmhosts and windows and nt
| Other Resources Other Support Sites
CommunityArticle Translations
|






Windows Live
Facebook
Twitter
Linkedin
Digg it
Yahoo
Delicious
StumbleUpon
Yammer
Reddit
Technorati
FriendFeed
Email
Back to the top