JSI Tip 7442. How do I relocate the HOST, LMHOST, and other files from %SystemRoot%\System32\drivers\etc?

If you wish relocate the subject files from %SystemRoot%\System32\drivers\etc to another location:

1. Copy the files to the new location.

2. Use the Registry Editor to navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters.

3. Double-click the DataBasePath Value Name, a REG_EXPAND_SZ data type, and set the data value to the new location.

4. Shutdown and restart your computer.

5. Delete the files from %SystemRoot%\System32\drivers\etc.

Hide comments


  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.