Modify Network Adapter Settings in Windows Registry

Modifying network adapter interface configurations directly through the Windows Registry Editor (regedit) allows administrators to configure network parameters—such as IP addresses, subnet masks, default gateways, and DNS servers—without relying on the standard Windows graphical user interface. This method is useful for remote administration, batch scripting, or troubleshooting corrupted network components.

Step 1: Open the Registry Editor

  1. Press Windows Key + R to open the Run dialog.
  2. Type regedit and press Enter.
  3. Click Yes if prompted by User Account Control (UAC).

Step 2: Navigate to the Network Interfaces Key

In the Registry Editor, navigate to the following path using the left sidebar:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces

Under the Interfaces key, you will see several subkeys represented by unique Globally Unique Identifiers (GUIDs), such as {12345678-ABCD-1234-ABCD-1234567890AB}.

Step 3: Identify the Correct Adapter

Each GUID folder represents a distinct network interface on your system. To find the specific adapter you want to configure:

  1. Click on each GUID subkey.
  2. Look at the values in the right pane for identifiers such as IPAddress, DhcpIPAddress, or DefaultGateway.
  3. Match the displayed values with the current settings of the adapter you intend to modify (which can be checked via ipconfig /all in Command Prompt).

Step 4: Modify Key Configuration Values

Double-click any of the following registry values in the right-hand pane to modify its data:

Note: If setting a static IP, ensure DhcpIPAddress, DhcpSubnetMask, and DhcpDefaultGateway are left alone, as Windows updates them automatically when DHCP is enabled.

Step 5: Apply the Changes

Registry changes to network adapters do not take effect immediately. To apply the new configuration:

  1. Open Command Prompt as Administrator.

  2. Disable and re-enable the network adapter using PowerShell or netsh:

    netsh interface set interface "Ethernet" disable
    netsh interface set interface "Ethernet" enable
  3. Alternatively, restart the system to reload the network stack with the updated registry values.