Registry Home > Network > Clients

Specify the WinSock Database Files Location (Windows NT/2000/XP)

This parameter specifies the path to the standard internet database files (HOSTS, LMHOSTS, NETWORKS, PROTOCOLS) used by the Windows Sockets interface.

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

Open your registry and find or create the key below.

Create a new Expanded String value, or modify the existing value, called "DatabasePath" and set it according to the value data below.

Exit your registry; you may need to restart or log out of Windows for the change to take effect.

Note: This directory must be created and any files moved manually.

Registry Editor Example
|NameTypeData|
|(Default)REG_SZ(value not set)|
|DatabasePathREG_EXPAND_SZ%SystemRoot%\system32\drivers\etc|
-
|HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Tcpip\P...|
-
Registry Settings
System Key: [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Tcpip\Parameters]
Value Name: DatabasePath
Data Type: REG_EXPAND_SZ (Expanded String Value)
Value Data: Filename

>> 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: March 26, 2002