Registry Home > Network > Protocols > WINS

Configure LMHOSTS Lookup Options (Windows NT/2000/XP)

The LMHOSTS file is used within Windows networking to specify domain resolution and lookup information. These settings allow you to configure the use of the LMHOSTS file.

This tweak can be easily applied using WinGuides Tweak Manager.
Download a free trial now!

Open your registry and find the key below.

Create or modify the following DWORD values as necessary:

EnableLMHOSTS - 1 = enable LMHOSTS use, 0 = disable

MaxPreLoad - specify the number of #PRE entries to load (default = 100)

NodeType - specify the WINS query type

  • 1 = if no WINS servers are configured (B-node/broadcast)
  • 4 = perform a broadcast before querying name servers (M-mode/mixed)
  • 8 = at least one WINS server is configured (H-node/queries)

    Restart Windows for the changes to take effect.

    Registry Editor Example
    |NameTypeData|
    |(Default)REG_SZ(value not set)|
    |EnableLMHOSTSREG_DWORD0x00000001 (1)|
    |MaxPreLoadREG_DWORD0x000000c8 (200)|
    |NodeTypeREG_DWORD0x00000008 (8)|
    -
    |HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NetBT\P...|
    -
    Registry Settings
    System Key: [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NetBT\Parameters]
    Value Name: EnableLMHOSTS, MaxPreLoad, NodeType
    Data Type: REG_DWORD (DWORD Value)

    >> Recommended Download - check, repair and optimize your registry now with Registry Mechanic <<

    Disclaimer: Modifying the registry can cause serious problems that may require you to reinstall your operating system. We cannot guarantee that problems resulting from modifications to the registry can be solved. Use the information provided at your own risk.

  • Last modified: May 21, 2003