Home : Registry : Security : Forums : Software Contacts 
Registry Guide for Windows

Registry Guide for Windows

Part of the WinGuides Network
WinGuides Network and Software
Registry tweaks, tricks & hacks to optimize, enhance and secure Microsoft Windows.
 
[Advanced Search]


Recommended Download: Registry Mechanic

Already a member? Sign in  Not a member? Register 
Recommended Download: Tweak Manager

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.

Download this tweak with Tweak Manager!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)

    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


  • Copyright © 2003 GuideWorks. All rights reserved. Privacy Policy:Legal Notices