- LMHOSTS
The LMHOSTS (
LAN Manager Hosts) file is used to enable domain name resolution when other methods, e.g. WINS, fail.The file, if it exists, is read as the LMHOSTS setting file. A sample file is provided during Windows installation. The sample file contains documentation for manually configuring the file.
File Locations
Windows Millennium Edition
The file located at %windir%lmhosts, and a sample file is located at %windir%lmhosts.sam. The %windir% is an environmental variable which can be output from a command prompt using "echo %windir%" (without the quotation marks). The default value of %windir% in Windows ME is "C:Windows" (without the quotation marks).
Windows NT 4.0, Windows 2000, Windows XP, Vista and Windows Server 2003
The file is located at C:WINDOWSsystem32driversetc, and a sample file is located at C:WINDOWSsystem32driversetclmhosts.sam. If a different install directory was used for the Windows files, the file can be located with the path %systemroot%system32driversetc.
Default contents
# # #PRE # #DOM:
# #INCLUDE # #BEGIN_ALTERNATE # #END_ALTERNATE #
Wikimedia Foundation. 2010.