LMHOSTS

From Wikipedia, the free encyclopedia

The LMHOSTS (LAN Manager Hosts) file is used to enable Domain Name Resolution under Windows when other methods, such as WINS, fail. It is used in conjunction with workgroups and domains. If you are looking for a simple, general mechanism for the local specification of IP addresses for specific hostnames (server names), use the HOSTS file, not the LMHOSTS file.

The file, if it exists, is read as the LMHOSTS setting file. A sample file (lmhosts.sam) is provided. It contains documentation for manually configuring the file.

File Locations

Windows 95, 98, Millennium Edition

The file located in %windir%\, and a sample file lmhosts.sam is installed here. The %windir% is an environmental variable.

Windows NT 4.0, Windows 2000, Windows XP, Vista, 7, Windows Server 2003, Windows Server 2008 and Windows Server 2008 R2

The file is located in %windir%\system32\drivers\etc.\, and a sample file lmhosts.sam is installed here.

See also

External links

This article is issued from Wikipedia. The text is available under the Creative Commons Attribution/Share Alike; additional terms may apply for the media files.