How to Fix Network Adapter Code 31 error (Device is not working properly).

Network Adapter Code 31 error in Device Manager may occur in a Windows based computer (Windows 10, 8, 7 or Vista) if the appropriate driver for the Network (Ethernet/LAN) controller is not installed properly or is corrupted. The full description of the "code 31" error in "Device status" information box is:

"This device is not working properly because Windows cannot load the drivers required for this device. (Code 31)".

Network Adapter Code 31

When the Code 31 error occurs in one (or more) device(s), then the corresponding device appears with a yellow exclamation mark sign, next to it, in Device Manager.

Ethernet Adapter Code 31 FIX

In several cases the Ethernet "Code 31" error, can occur despite the fact that the correct driver of the Ethernet controller is already installed. At these cases you have to perform some additional steps to resolve the error code 31 in your Network Adapter.

This tutorial contains detailed steps and instructions on how to resolve Ethernet Controller Code 31 error in Device Manager.

How to Fix the Network Controller Code 31 error in Device Manager.


Solution 1. Install the latest driver for Network Controller to fix the Network Adapter Code 31 error.

Step 1. Download the latest Network Adapter Drivers.

1. From another computer, navigate to your computer's manufacturer support site (if you own a branded PC or laptop) or to the motherboard's support site (for onboard network adapters) and download the latest driver version for the Network Controller. After the download, copy the driver to a USB drive and then transfer the downloaded driver to the problematic computer.

Step 2. Install Ethernet Adapter Drivers.

1. Follow the manufacturer's instructions to install the downloaded Ethernet adapter driver on your computer.

2. Check if your Ethernet Controller is working properly. If Code 31 error is still displayed in Device Manager, then proceed to Solution 2.


Solution 2. Remove Invalid Registry keys & re-install LAN Adapter drivers to resolve the Code 31 error in Network Adapter.

Step 1. Open Registry Editor & Backup Registry.

Open Registry editor. To do that:

1. Simultaneously press  the “WinImage-201_thumb_thumb_thumb_thumb1_t  + “R” keys to load the Run dialog box.

2. Type regedit and press Enter to open Registry Editor.


IMPORTANT: Before you continue, first take a backup of your registry. To do that:

  • From the main menu, go to File & select Export.

registry backup

Specify a destination location (e.g. your Desktop), give a filename to the exported registry file (e.g. “RegistryUntouched”),  select at Export range: All and press Save.

registry export


Step 2. Delete invalid registry keys.

1. After you have backed up your registry, navigate (from the left pane) to this key:

  • HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Network



2. Now look at the right pane to find and delete the following (REG_BINARY) value:

  • config




3. Close Registry Editor.


Step 2. Uninstall the Network Adapter from Device Manager.

1. Open Device Manager. To do that:

  1. Press “Windows”  Image-201_thumb8_thumb4  + “R” keys to load the Run dialog box.
  2. Type “devmgmt.msc” and press Enter.


2. Expand Network Adapters.

3. Right-Click at the yellow-marked Ethernet Adapter and select Uninstall. *

* Note: If asked, do not remove the driver files from the system. It is not necessary.



4. Restart you computer and let Windows install the Ethernet drivers automatically. *

* Note: If Windows cannot find the appropriate driver for the Ethernet Controller or if you have deleted the driver during uninstall then you have to download and install the latest driver version for your Network Adapter from the manufacturer's support site.


That's it!

If this article was useful for you, please consider supporting us by making a donation. Even $1 can a make a huge difference for us in our effort to continue to help others while keeping this site free: