r/techsupport • u/vessmess_ • 7h ago
Open | Hardware Wifi missing Code 39
I have just purchased a new pc, worked fine for 2 days. After a Windows update the "Media Tek wi-fi 6e wireless lan card" is having problem starting.
-Ive uninstalled
-Ive let the pc have 60 seconds power off with no cord
-Ping 127.1.1.1 doesnt show an error
-divice status says it may be corrupted (nothings been touched)
-doesnt show up on network connections but shows on network adaptors
Do I need to bite the bullet and call the manufacturer or is there another solution I can try
1
Upvotes
1
u/tamudude 7h ago
Download the wifi driver directly from the manufacturer's website. Don't rely only on Windows Update.
1
u/xsgeng 5h ago
Code 39 on a MediaTek MT7921 or MT7922 right after an update almost always means the driver binary is gone from the DriverStore, not that the card failed. Two-day-old hardware does not die from a patch. Before you call anyone, do this check: Device Manager, Network adapters, right click the MediaTek entry, Properties, Driver tab. If Roll Back is available, use it and reboot, because Windows installed an inbox driver over your vendor one. If it is greyed out, open the Details tab, pick Inf name, and confirm the folder still exists in an elevated command prompt:
dir C:\Windows\System32\DriverStore\FileRepository\mtk*.inf*
If the folder is there but the .sys inside is zero bytes or missing, Defender or a third party antivirus quarantined it during the update. Check Windows Security, Protection history, and restore the file, then reboot.
If the store entry is gone, do the clean reinstall in this order, because doing it out of order is what leaves people stuck at 39: uninstall the device in Device Manager with the delete driver software box checked, reboot, then install the full package from the laptop or motherboard vendor support page. Do not let Windows Update pick the driver, since it pushes the generic MediaTek package that fails to register on some 24H2 builds. Reboot again after the setup finishes. To purge leftovers first, run pnputil /enum-drivers, find the oem number whose provider is MediaTek, then pnputil /delete-driver oemNN.inf /uninstall /force and reinstall.
One more leftover that produces a stubborn 39: filter drivers from a VPN or antivirus that was removed. Export a backup first with reg export, then look at HKLM\SYSTEM\CurrentControlSet\Control\Class{4d36e972-e325-11ce-bfc1-08002be10318}, open the subkey whose DriverDesc matches the MediaTek adapter, and inspect UpperFilters. A value pointing at a filter that no longer exists will block the device from starting. Clear only that stale entry.
If it still refuses, run sfc /scannow followed by DISM /Online /Cleanup-Image /RestoreHealth, then check that the WLAN AutoConfig service is set to Automatic and started. On a machine this new the OEM driver reinstall is the fix in the large majority of cases, so try that before opening a warranty ticket.