How can I change the path used for the TCP/IP database path?

A. The TCP/IP Windows Sockets (Winsock) standard uses database files for certain information (e.g., host information and service information—stored in the services file). A Windows system typically stores these files in the %systemroot%\system32\drivers\etc folder, but if you want to move these files, perform the following steps to modify the path:

  1. Start regedit.exe.
  2. Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters.
  3. Double-click DataBasePath, and modify the value to reflect the new location.
  4. Click OK.
  5. Close regedit.
  6. Reboot the machine.
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.