Code 31 error in Device Manager for WAN Miniport (Network monitor) device in Windows 8 or Windows Server 2012
Consider the following scenario:
- You install Windows 8 or Windows Server 2012.
- You open Device Manager after the installation is complete.
The device is not working properly because Windows cannot load the drivers required for this device. (Code 31)
This issue occurs because Windows cannot load the drivers that are required for the WAN (Network monitor) device. Because there is no driver associated with the device, it cannot be removed from Device Manager.
To prevent this issue during future installs, you must integrate update 2822241 into the installation media that you use during setup.
For information about how to use Deployment Image Servicing and Management (DISM) to integrate a hotfix package into installation media, see Add or remove packages offline.
To work around the problem, go to the "Fix it for me" section. If you prefer to work around the problem yourself, go to the "Let me fix it myself" section.
Fix it for me
To work around the problem, click the Fix it button or link. Then click Run in the File Download dialog box, and follow the steps in the Fix it wizard.
- This wizard may be in English only. However, the automatic fix also works for other language versions of Windows.
- If you are not on the computer that has the problem, save the Fix it solution to a flash drive or a CD and then run it on the computer that has the problem.
- We would appreciate your feedback. To provide feedback or to report any issues with this solution, please leave a comment on the "Fix it for me" blog or send us an email message.
Let me fix it myself
If you have already installed the operating system and are currently receiving a "code 31" error on the WAN Miniport (Network Monitor) device, follow these steps:
- Open Device Manager.
- Right-click the WAN miniport (Network monitor) device, and then click Update Driver Software.
- Click Browse my computer for driver software.
- Click Let me pick from a list of device drivers on my computer.
- Clear the Show compatible hardware check box.
- In the column on the left side, select Microsoft, and in the column on the right side, select Microsoft KM-TEST Loopback Adapter.
- In the Update Driver Warning dialog box, click Yes to continue installing this driver.
- After the driver is installed, right-click the device, and then click Uninstall.
- After the device is uninstalled, right-click the computer name in Device Manager, and then click Scan for hardware changes.
- On the View menu, click Show hidden devices.
fixit fix it fixme
Article ID: 2871372 - Last Review: 10/16/2013 20:41:00 - Revision: 6.0
Windows 8, Windows Server 2012 Standard, Windows Server 2012 Datacenter
- kbfixme kbmsifixme KB2871372