LMHOSTS
The LMHOSTS (LAN Manager Hosts) file is used to enable Domain Name Resolution under Windows when other methods, such as WINS, fail.[src] It is used in conjunction with workgroups and domains.[src] 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.[src] The file, if it exists, is read as the LMHOSTS setting file.[src] A sample file ( ) is provided.[src] It contains documentation for manually configuring the file.[src]
The LMHOSTS (LAN Manager Hosts) file is used to enable Domain Name Resolution under Windows when other methods, such as WINS, fail.[src] It is used in conjunction with workgroups and domains.[src] 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.[src] The file, if it exists, is read as the LMHOSTS setting file.[src] A sample file ( ) is provided.[src] It contains documentation for manually configuring the file.[src] ==File locations== Windows 95, 98, Millennium Edition The file is located in , and a sample file ( ) is installed here.[src] Note that is an environment variable pointing to the Windows installation directory, usually .[src] Windows NT 4.0, Windows 2000, Windows XP, Vista, 7, 8, 10, Windows Server 2003, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2016+ The file is located in , and a sample file ( ) is installed here.[src] Note that is an environment variable pointing to the Windows installation directory, usually .[src] Using LMHOSTS Files on Windows NT[src]
17 sentences · 17 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"LMHOSTS." encyclopegia.org, 2021, https://encyclopegia.org/wiki/lmhosts. Accessed 02 December 2026.
Chicago
"LMHOSTS." encyclopegia.org. Accessed December 2, 2026. https://encyclopegia.org/wiki/lmhosts.
APA
encyclopegia.org. (2021). LMHOSTS. Retrieved December 2, 2026, from https://encyclopegia.org/wiki/lmhosts
Accessed December 2, 2026 · CC BY-SA 4.0 · citation page · JSON