“This device cannot start. (Code 10)” on your Wi-Fi adapter is Windows telling you the driver loaded but the hardware refused to initialize. On HP laptops this message appears most often right after a Windows update, a driver update, or a resume from sleep — and it kills all wireless connectivity instantly. No networks appear, the Wi-Fi toggle may vanish, and you are stuck on Ethernet or nothing.

Code 10 sounds terminal but is usually a software state problem, not dead hardware. The adapter is almost certainly fine; something in the driver chain or power state is preventing it from starting. This guide clears that state step by step, from the quick Device Manager fixes to a full driver rebuild and the deeper hardware checks for stubborn cases.

Why this happens

  • Incompatible driver after Windows Update: An update installs a wireless driver that does not match your adapter’s hardware revision.
  • Corrupted driver files: A failed update or interrupted install leaves the driver half-written, so initialization fails.
  • Stuck power state: The adapter can get wedged in a low-power state after sleep or hibernation and refuse to start until fully reset.
  • Driver signature or file mismatch: Mixed files from two different driver versions confuse the start sequence.
  • BIOS wireless disabled or misconfigured: If BIOS disables the radio, Windows cannot start the device no matter what driver is installed.
  • Conflicting filter drivers: VPN clients and security software install network filters that can block adapter initialization.
  • Registry corruption in the device enumeration: Rare, but damaged device registry keys prevent clean starts.
  • Actual hardware failure: The least common cause — a dead wireless card produces the same error when nothing else explains it.

How to fix it

Work through these in order — diagnose first, then act.

Fix 1: Restart the device in Device Manager

  1. Press Win + X → Device Manager → Network adapters, right-click the Wi-Fi adapter showing Code 10.
  2. Choose Disable device, wait 15 seconds, then choose Enable device.
  3. Check Properties → General to see whether the Code 10 message cleared.
  4. If it is gone, the adapter was simply in a stuck state — a surprisingly common outcome after sleep resume.

Fix 2: Roll back the driver

  1. Right-click the adapter → Properties → Driver → Roll Back Driver.
  2. Choose a reason and confirm, then restart.
  3. If the Code 10 appeared immediately after a driver or Windows update, rollback alone often fixes it — you are simply undoing the change that broke initialization.
  4. If rollback is greyed out, move to the clean reinstall below.

Fix 3: Clean-reinstall the wireless driver

  1. Right-click the adapter → Uninstall device, and check “Attempt to remove the driver for this device” — this step matters, as it deletes the corrupted files.
  2. Restart the laptop. Windows will attempt to reinstall a driver automatically.
  3. If Code 10 returns, download the wireless driver for your exact model from HP’s support site using another device, transfer it via USB, and install it manually.
  4. Prefer HP’s package over Windows’ automatic choice — the same logic applies when a Wi-Fi adapter disappears entirely , where vendor drivers restore detection.

Fix 4: Drain residual power with a hard reset

  1. Shut the laptop down completely and unplug the charger.
  2. If the battery is removable, take it out; if not, hold the power button for 15–20 seconds with everything unplugged.
  3. Reconnect power and boot. This clears stuck power states in the wireless card that survive normal restarts.
  4. Check Device Manager — adapters wedged by bad sleep resume often start cleanly after this.

Fix 5: Verify wireless is enabled in BIOS

  1. Restart and press F10 to enter HP BIOS setup.
  2. Look under Advanced or System Configuration for Built-in Device Options or similar, and confirm the WLAN device is enabled.
  3. While there, choose Restore Defaults (or Load Setup Defaults) to clear any misconfiguration, then save and exit.
  4. A BIOS-level disable produces Code 10 regardless of drivers, so this check is essential before concluding the hardware is dead.

Fix 6: Remove conflicting filter drivers

  1. In Device Manager, open the adapter’s Properties → Driver and note any third-party entries under advanced tabs.
  2. Uninstall VPN clients and third-party firewall/security software temporarily, restarting between each.
  3. In an elevated Command Prompt, run netsh winsock reset and restart to clear filter driver hooks.
  4. If the adapter starts after removing a particular program, reinstall its latest version — the conflict was likely fixed upstream.

Fix 7: Reset the network stack and reinstall via Windows

  1. Go to Settings → Network & internet → Advanced network settings → Network reset → Reset now, then restart.
  2. After the reset, check Device Manager — Windows reinstalls the adapter fresh, which clears corrupted enumeration state.
  3. If Windows installs a driver and Code 10 persists, immediately install the HP driver over it before Windows Update interferes again. Guidance on managing driver updates is available from Microsoft support .
  4. Consider pausing Windows updates briefly until the adapter is stable.

Fix 8: Confirm or rule out hardware failure

  1. Create a Linux live USB (Ubuntu works well), boot from it, and test Wi-Fi there.
  2. If Wi-Fi works in Linux, the hardware is fine — the problem is Windows-side, and a Windows repair install may be the cleanest path. Related driver-state issues like Code 10 on other adapters follow the same diagnostic logic.
  3. If Wi-Fi fails in Linux too and BIOS shows the device enabled, the wireless card has likely failed — on most HP laptops it is a replaceable M.2 module, and HP’s manual for your model shows the procedure.

Closing

Code 10 on an HP laptop’s Wi-Fi adapter is Windows failing to start the device, not a death certificate for the wireless card. Clear the stuck state, reinstall HP’s own driver cleanly, verify BIOS has the radio enabled, and strip out conflicting filters — that sequence resolves the error in the large majority of cases, and the Linux test gives you a definitive hardware verdict for the rest.

Frequently asked questions

What does Code 10 mean on a Wi-Fi adapter?
Code 10 means the device failed to start — Windows loaded the driver but the hardware would not initialize. For Wi-Fi adapters this is usually a driver mismatch, corrupted driver files, or a power-state problem where the adapter is stuck from a bad sleep resume. It rarely means the wireless card is physically dead.
Will reinstalling the driver fix a Code 10 error?
In most cases, yes. A clean reinstall removes the corrupted driver state and lets Windows initialize the adapter fresh. The key is checking the option to delete the driver software during uninstall, then installing the HP-provided driver for your exact model rather than letting Windows pick a generic one.
Can a Windows update cause Code 10 on Wi-Fi?
Absolutely — it is one of the most common triggers. Feature updates sometimes install an incompatible wireless driver or corrupt the existing one during migration. If the error appeared right after an update, rolling back the driver or reinstalling the HP driver package is the first thing to try.
What if Code 10 persists after reinstalling the driver?
Then look deeper: reset the BIOS to defaults, check that wireless is enabled in BIOS, drain residual power with a hard reset, and test with a Linux live USB. If the adapter fails everywhere including Linux, the wireless card itself has likely failed and needs replacement.