You're staring at Device Manager. There's a yellow exclamation mark next to your WiFi adapter. Error code 31. No internet. You need this fixed now, not tomorrow. Here's the thing: this error is almost always a driver problem, and it's fixable without replacing hardware.
TL;DR
WiFi adapter error code 31 means Windows can't load your network drivers. Start with the Windows troubleshooter, then manually install drivers from your PC or chipset manufacturer's website (Intel, Realtek, Dell, HP, Lenovo). If that fails, try a network reset or registry repair. Success rate: 85-90% with these methods.
Key Takeaways
- Error code 31 is a software/driver issue 95% of the time, not hardware failure
- Driver reinstallation from the manufacturer's website fixes most cases
- Windows Updates often cause this by installing incompatible drivers
- You'll need internet access via Ethernet, mobile hotspot, or another device to download drivers
- Registry editing should only be attempted after simpler fixes fail
At a Glance
- Difficulty: Medium
- Time Required: 30-45 mins
- Success Rate: 85% of users with first solution
What Causes WiFi Adapter Error Code 31?
Error code 31 specifically means "Windows cannot load the drivers required for this device." That's it. The adapter is there, Windows sees it, but the driver files are either corrupted, outdated, incompatible, or missing entirely.
The most common culprit? A Windows Update. Microsoft pushes generic drivers for common adapters, and sometimes these clash with your adapter's specific model drivers. You update Windows on Tuesday, and Wednesday morning your WiFi is gone with a yellow exclamation mark staring back at you. It's frustrating, but it's also one of the easiest fixes in IT.
Other triggers include driver file corruption (power failures, incomplete installations), conflicting software installations, or registry entries getting mangled. If you're on a laptop, static electricity buildup can occasionally interfere with hardware detection too, though that's rarer. The point: this isn't a dying adapter. It's a software configuration problem.
WiFi Adapter Error Code 31 Quick Fix
Run the Windows Network Troubleshooter Easy
- Open Settings
Press Windows Key, type "Settings", press Enter. Or use Windows Key + I. - Navigate to Network & Internet
Click the Network & Internet option on the left sidebar. - Find the Troubleshooter
Look for "Status" at the top. Scroll down to the bottom. You'll see "Network troubleshooter" option. Click it. - Run the diagnostic
Let the troubleshooter complete. It scans for driver and configuration issues, sometimes auto-fixing them. This solves error code 31 in about 30% of cases. - Check Device Manager
Press Windows Key + X, select Device Manager. Expand "Network adapters". If the yellow exclamation mark is gone, you're done. If not, continue to the next solution.
More WiFi Adapter Error Code 31 Solutions
Reinstall Drivers from Manufacturer Medium
- Identify your WiFi adapter model
Press Windows Key + X, select Device Manager. Expand "Network adapters". Right-click your WiFi adapter (even with the yellow mark), select Properties. Click the "Details" tab. In the dropdown at the top, select "Hardware IDs". The first value shows VEN_XXXX and DEV_XXXX codes. Write these down, they identify your exact adapter. Alternatively, right-click the adapter and select "Properties" to see the name (like "Intel Wi-Fi 6 AX200" or "Realtek RTL8822CE"). - Get internet access
You need internet on this PC to download drivers. Use an Ethernet cable if available, or create a mobile hotspot from your phone and connect via WiFi temporarily. If neither works, use another device to download the drivers and transfer them via USB. - Download the correct drivers
Visit your PC manufacturer's website first (Dell Support, HP Support, Lenovo Support, ASUS Support, etc.). Enter your PC model number. Look for "Network Adapter" or "WiFi Driver" or "WLAN Driver" in the downloads section. Download the Windows 10 version (check if your Windows is 32-bit or 64-bit: Settings > System > About > System type). If your PC manufacturer doesn't have it, visit the chipset maker: Intel.com or Realtek.com. Use the hardware ID to search their driver database. Download the driver installer file and save it. - Uninstall the corrupted driver
Press Windows Key + X, open Device Manager. Right-click your WiFi adapter, select "Uninstall device". A dialog appears. Check the box "Delete the driver software for this device" if you see it. Click Uninstall. Don't restart yet, leave your PC running. - Install the fresh driver
Open File Explorer, locate the driver installer file you downloaded. Double-click it and follow the installation wizard. For Intel adapters, consider using their Driver & Support Assistant tool, which auto-detects your hardware and removes conflicting files automatically. Let the installation complete fully. - Restart and verify
Restart your PC. After it boots, check Device Manager again. The WiFi adapter should now appear without a yellow exclamation mark. Try connecting to a WiFi network. If you have similar issues with other devices like headphones not detected, the same driver reinstall approach works.
Advanced WiFi Adapter Error Code 31 Fixes
Network Reset (Clears All Network Settings) Medium
- Back up your WiFi passwords
Before you do anything, write down all your WiFi network names and passwords. Network Reset deletes everything network-related. Have them ready so you can reconnect afterwards. - Power cycle your laptop (if applicable)
Shut down completely. Unplug the power cable. If your laptop has a removable battery, remove it. Hold the power button for 10 seconds. Wait 30 seconds. This discharges residual static electricity, which can occasionally interfere with hardware detection. Reinsert the battery (if removed), reconnect power, and boot up. Check Device Manager to see if the error is already gone before continuing. - Open Network Settings
Press Windows Key + I to open Settings. Go to "Network & Internet" on the left. Look for "Status" at the top of the right panel. Scroll all the way down. - Execute Network Reset
You'll see a "Network reset" option near the bottom. Click it. A dialog appears warning that all network adapters and settings will be removed and defaults reinstalled. Read the warning. Click "Reset now". Windows will restart automatically. - Let Windows reinstall adapters
After restart, Windows will reinstall default drivers for all network adapters automatically. This takes a few minutes. Your WiFi adapter should reappear in Device Manager without the yellow exclamation mark. - Restore your networks
Open WiFi settings (click the WiFi icon in the system tray). You'll see available networks. Connect to your primary network using the password you wrote down. Reconnect to other networks as needed. If you had custom DNS settings or static IP configurations, reconfigure them now (Settings > Network & Internet > Advanced network settings > More options).
Registry Repair (Advanced Only) Hard
- Create a full registry backup first
This is non-negotiable. Open Registry Editor by pressing Windows Key + R, typingregedit, pressing Enter. Click "File" in the menu bar, then "Export". Under "Export range", select "All". Save the file to your Desktop with a clear name like "Registry_Backup_Before_WiFi_Fix". Click Save. You now have a complete backup. If anything goes wrong, you can restore this file to undo any changes. - Navigate to the network adapter registry location
In Registry Editor (still open), navigate to this exact path:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-08002BE10318}. This folder contains all network adapter configurations on your system. - Find your WiFi adapter's subkey
You'll see numbered folders (0000, 0001, 0002, etc.) inside that Class folder. These are individual adapters. Click each one and look at the right pane for an entry called "DriverDesc". Read its value (like "Intel Wi-Fi 6 AX200" or "Realtek RTL8822CE WiFi"). When you find yours, note the folder number. - Delete corrupted Config entries
Inside your adapter's subkey, look at the right pane. You'll see many entries. Look for any that start with "Config" (ConfigFlags, ConfigParam, etc.). Right-click each Config entry and select "Delete". Confirm the deletion. Do NOT delete other entries like DriverDesc, ProviderName, or Service. Only delete Config-related entries. Windows will regenerate these correctly on restart. - Check for duplicate hidden adapters
Open Device Manager again (Windows Key + X > Device Manager). Click "View" at the top, then "Show hidden devices". Expand "Network adapters". If you see greyed-out duplicate WiFi adapters (ghosts), right-click each one and select "Uninstall device". Check "Delete driver software" if it appears. This prevents conflicts. - Restart and verify
Close Registry Editor. Restart your PC. After restart, open Device Manager. Your WiFi adapter should appear without a yellow exclamation mark. Windows has regenerated the registry keys with correct values. Test WiFi connectivity.
sfc /scannow in Command Prompt (Administrator) to repair system files, or DISM /Online /Cleanup-Image /RestoreHealth for deeper system restoration. If those fail, hardware failure becomes a possibility.When to Consider Hardware Replacement
Here's the reality: if you've tried all three solutions above and your WiFi adapter still shows error code 31 or is completely missing from Device Manager, hardware failure is possible. But before you assume your adapter is dead, rule out one more thing: system file corruption.
Open Command Prompt as Administrator (Windows Key + X > Command Prompt Admin). Run sfc /scannow and let it complete (takes 10-15 minutes). This scans and repairs corrupted Windows system files. If that finds nothing, run DISM /Online /Cleanup-Image /RestoreHealth. If both report no issues and your adapter still fails, then hardware replacement is the next step. Some adapters are soldered to the motherboard (most laptops), while others are replaceable M.2 or USB modules (some desktops). Check your PC manufacturer's service manual to see if your adapter is replaceable.
Preventing WiFi Adapter Error Code 31
Most important: Only download drivers from official sources. Your PC manufacturer's website or the chipset maker (Intel, Realtek, Broadcom, etc.). Never use third-party driver update utilities. They often install generic or bundled software that causes conflicts. I've seen "driver updater" tools create this exact error code 31 problem more times than I can count.
Second priority: Check Windows Update after it completes. If WiFi suddenly stops working right after an update, open Settings > Update & Security > View update history > Uninstall updates. Find the network driver update from that date and uninstall it. Let Windows revert to your manual driver install. Then block Windows from auto-updating that driver by opening Device Manager, right-clicking your adapter, Properties > Driver tab > Roll back driver (if available), or reinstalling your preferred manufacturer drivers.
Power management matters: Go to Device Manager, right-click your WiFi adapter, Properties > Power Management tab. Uncheck "Allow the computer to turn off this device to save power". This prevents Windows from suspending the adapter, which can cause error code 31 on resume.
Backup your drivers: Once you have working drivers installed, save the driver files to a USB stick. If error code 31 appears in the future, you can reinstall from that backup without searching for downloads again.
WiFi Adapter Error Code 31 Summary
Error code 31 is frustrating but solvable. Start simple: run the Windows troubleshooter. If that fails, download and reinstall drivers from your manufacturer. If that doesn't work, try a network reset. Only attempt registry editing if you're confident and have a backup. The vast majority of error code 31 cases are resolved by step 2, manufacturer driver reinstall. Hardware failure is rare unless you've eliminated all software fixes. Keep your drivers updated from official sources and you'll avoid this problem in future.


