释义 |
- File Locations Windows 95, 98, Millennium Edition Windows NT 4.0, Windows 2000, Windows XP, Vista, 7, 8, 10, Windows Server 2003, Windows Server 2008 and Windows Server 2008 R2
- See also
- External links
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 is located in %windir% , and a sample file (lmhosts.sam ) is installed here. Note that %windir% is an environment variable pointing to the Windows installation directory, usually C:\\Windows . Windows NT 4.0, Windows 2000, Windows XP, Vista, 7, 8, 10, 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. Note that %windir% is an environment variable pointing to the Windows installation directory, usually C:\\Windows . See also External links - [https://web.archive.org/web/20150921163504/https://support.microsoft.com/en-us/kb/150800 Domain Browsing with TCP/IP and LMHOSTS Files]
- [https://web.archive.org/web/20150312005426/https://support.microsoft.com/kb/102725/ LMHOSTS File Information and Predefined Keywords] Microsoft knowledgebase article
- [https://web.archive.org/web/20160304131753/http://www.microsoft.com/resources/documentation/windowsnt/4/server/reskit/en-us/net/sur_lmh.mspx?mfr=true Using LMHOSTS Files on Windows NT]
{{DEFAULTSORT:Lmhosts}} 2 : Windows communication and services|Configuration files |