Fix BSOD Caused by USB Wi-Fi: rtwlanu.sys Error & Crashing Guide

It’s a classic scenario: You bought a cheap USB Wi-Fi adapter to get your gaming PC online. It works fine for 30 minutes, and then suddenly—Blue Screen of Death (BSOD).

I recently diagnosed a client's PC that was crashing 5 times a day. The error codes were always DRIVER_IRQL_NOT_LESS_OR_EQUAL or DPC_WATCHDOG_VIOLATION.


After analyzing the memory dump files using BlueScreenView, the culprit wasn't RAM or the GPU. It was a tiny file named rtwlanu.sys (Realtek USB WLAN Driver). It turns out, Windows 10 and 11 have a bad habit of trying to "save power" on these dongles, causing them to crash the entire system when they try to wake up.

Here is how to fix it permanently without buying a new adapter.

The Quick Fix Checklist

  • The Culprit: Usually unstable drivers (Realtek/MediaTek) or USB Power Saving.
  • Step 1: Disable "USB Selective Suspend" in Power Options.
  • Step 2: Uncheck "Allow the computer to turn off this device" in Device Manager.
  • Step 3: Use a USB 2.0 port instead of 3.0 (for older dongles).

Method 1: Stop Windows from "Killing" the USB Power

This is the #1 cause of Wi-Fi dongle crashes. Windows tries to cut power to the USB port to save energy, but the cheap controller chip inside the dongle fails to handle the power cut gracefully, leading to a system panic.

Part A: Device Manager

  1. Right-click the Start button and select Device Manager.
  2. Expand Network adapters.
  3. Find your USB Wireless adapter (e.g., Realtek 8812BU or TP-Link Wireless USB). Right-click and choose Properties.
  4. Go to the Power Management tab.
  5. Uncheck the box: "Allow the computer to turn off this device to save power".
  6. Click OK.

Part B: Global Power Options

  1. Open Start, type "Edit Power Plan", and hit Enter.
  2. Click Change advanced power settings.
  3. Expand USB settings > USB selective suspend setting.
  4. Change it to Disabled.

Note: If you are on a laptop, do this for both "On battery" and "Plugged in".

USB Wifi dongle causing BSOD on Windows


Method 2: Roll Back or manually Update Driver

Windows Update is terrible at picking the right driver for generic Wi-Fi dongles. It often installs a generic Microsoft driver or the absolute newest (and buggy) Realtek driver.

If your crash file mentions rtwlanu.sys, you are likely using a Realtek chip.

The Fix: Do not rely on "Search automatically for drivers."

  • Go to the manufacturer's website (TP-Link, D-Link, Asus) and download the driver for your specific model version (V1, V2, V3).
  • Pro Tip: Sometimes, older drivers (from 2019-2021) are more stable than the 2024 versions for older USB 2.0 dongles.

Method 3: The USB 3.0 vs 2.0 Conflict

This sounds counter-intuitive, but hear me out. Many USB 3.0 (Blue port) controllers have interference issues with 2.4GHz wireless signals. This is a known hardware phenomenon.

If you have your Wi-Fi dongle plugged into a high-speed USB 3.0 port and it keeps disconnecting or crashing:

Try moving it to a USB 2.0 (Black) port.

USB 2.0 provides more than enough bandwidth for standard Wi-Fi (unless you have a gigabit connection), and it is significantly more stable for legacy drivers.

When to Give Up (Hardware Failure)

If you have disabled power saving, swapped ports, and changed drivers, but the BSOD persists, touch the dongle.

Is it hot? Like, painfully hot?

Cheap dongles often lack proper heatsinks. When they overheat during heavy downloads, the chip shuts down, causing the driver to panic and crash Windows. If this is the case, no software fix will help. You need a better adapter (preferably one with an external antenna and ventilation).

Conclusion

Fixing a rtwlanu.sys BSOD is usually about managing power settings rather than updating software. By forcing Windows to keep the device "awake," you prevent the handshake failure that causes the crash.

Still unsure if it's the Wi-Fi or something else? You can verify your system components using our tools.

Check Your Current PC Health

Is your hardware ready for the AI era? Run a deep diagnostic scan.

Open Diagnostic Center

Comments