Location of /etc

  • Section(s): Miscellaneous
  • Published on Apr 20, 2004.
  • Last Modified on Apr 20, 2004.
  • Last Modified by Wayne Maples.
  • Rating: Not Rated
The Windows Sockets interface uses TCP/IP database files, HOSTS, LMHOSTS, networks, and protocols which are the standard Internet database files. Most operating systems maintain these database files in an \etc directory off the root directory, but NT buries them deep in its system directory structure in the %SystemRoot%\winnt\System32\Drivers\etc directory. To change this default location, apply the follow NT registry hack:

Hive: HKEY_LOCAL_MACHINE
Key: SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
Name: DataBasePath
Type: REG_EXPAND_SZ

You can change the default path to folder of your choice. I suggest changing this setting to c:\etc to ensure consistency across operating systems (by default, both NetWare and UNIX point this path to the root directory).

About Wayne Maples

Share this article


Article not looking right or info is missing? Let us know so that we can fix it: .


Receive all the latest articles by email!

Receive Real-Time & Monthly WindowsNetworking.com article updates in your mailbox. Enter your email below!
Click for Real-Time sample & Monthly sample

Become a WindowsNetworking.com member!

Discuss your network issues with thousands of other network administrators. Click here to join!

Community Area

Log in | Register

Readers' Choice

Which is your preferred Network Inventory solution?