Network Adapter Settings Changed by Malware – Fix It
Malware or adware changed your network adapter settings. DNS, proxy, or IP gets locked. Here's how to reset it fast without reinstalling Windows.
1. Proxy or DNS Hijacked by Adware
I know how frustrating this is. Your internet works, but pages won't load, or you get redirected to spam sites. Nine times out of ten, it's adware (like SearchAwesome, Conduit, or WebDiscover) that changed your proxy or DNS settings in Windows. This tripped me up the first time too — I spent hours reinstalling drivers before noticing the proxy toggle.
Fix: Reset Proxy and DNS via Settings
On Windows 10 or 11, go to Settings > Network & Internet > Proxy. Look for Use a proxy server. If it's turned on, turn it off. Also check Automatically detect settings — keep that on. Then run Command Prompt as Administrator (right-click Start, choose Command Prompt (Admin) or Terminal (Admin)).
ipconfig /flushdns
netsh winhttp reset proxy
This clears any proxy junk the malware set. The winhttp reset command is the one most people skip — it removes proxy that's stuck at system level, not just browser. Then restart your browser. If you still see issues, check DNS:
netsh int ip reset
ipconfig /renew
This resets your IP stack. Your internet will drop for a second. That's normal. After that, open a browser and test. If it works, you're done. If still broken, move to the next cause — it's trickier.
2. Network Adapter Drivers Replaced or Blocked by Malware
Some malware (especially rootkits like ZeroAccess or older variants) mess with your network adapter's driver or registry keys. Your adapter might show Limited connectivity or No internet, or the IP address shows as 169.254.x.x (APIPA). That's the Windows fallback when it can't get a DHCP lease. I've seen this happen after a fake driver update prompt or a sketchy crack installer.
Fix: Reinstall Network Adapter Driver and Reset Winsock
Open Device Manager (right-click Start, select Device Manager). Expand Network adapters. Find your Wi-Fi or Ethernet card. Right-click it, choose Uninstall device. Check the box Delete the driver software for this device if it appears (Windows 10 only). Do not restart yet. Then in Device Manager, click Action > Scan for hardware changes. Windows will reinstall the driver automatically. If it doesn't, download the driver from your laptop or motherboard manufacturer's site (Intel, Realtek, Qualcomm, etc.) on another PC and transfer via USB.
After the driver is back, open Command Prompt as Admin and run:
netsh winsock reset catalog
netsh int ip reset c:\resetlog.txt
The winsock reset fixes the way Windows talks to your network. The int ip reset writes a log file that helps if something fails. Restart your PC. This should fix the 169.254.x.x IP or the limited connectivity. If not, the last cause is deeper — registry corruption.
3. Malware Corrupted Network Adapter Registry Keys
This one's rare but nasty. Some advanced malware (like DNSChanger or Vundo) edits registry keys under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters or Interfaces. It locks DNS servers, sets a static IP, or even changes the adapter's name. You'll see your adapter working but pinging shows a weird IP that isn't your router's range. On Windows 11, I saw a case where malware set the DhcpNameServer key to a malicious server — every device on the network got redirected.
Fix: Manually Reset Registry Keys for the Adapter
This is the advanced fix. Only do this if the first two didn't work. Back up your registry first — File > Export in Regedit. Open Registry Editor (type regedit in Start). Go to:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces
Under Interfaces, you'll see subkeys with long GUIDs (like {4A1E1B2C-...}). Click each one and look in the right pane. Find your adapter by its DhcpIPAddress or IPAddress values — compare with what you see in ipconfig /all. If you see any NameServer or DhcpNameServer values that aren't your router (e.g., 8.8.8.8 is Google's DNS, but an odd IP like 185.220.101.x is suspicious), right-click and Delete those values. Also look for EnableDHCP — if it's set to 0, change it to 1.
Then open Command Prompt as Admin and run:
ipconfig /renew
ipconfig /flushdns
Test your connection. If it works, great. If not, you might need to restore a system restore point from before the malware hit. But 90% of the time, this registry fix works when nothing else does.
Quick Fix Summary
Here's a table to help you pick the right fix:
| Cause | What you see | Fix |
|---|---|---|
| Proxy or DNS hijacked by adware | Browser redirects, slow internet, proxy on | ipconfig /flushdns + netsh winhttp reset proxy |
| Driver replaced or blocked | Limited connectivity, 169.254.x.x IP | Reinstall adapter driver + netsh winsock reset |
| Registry keys corrupted | Static IP or odd DNS, adapter works but no internet | Delete NameServer/DhcpNameServer in registry, set EnableDHCP=1 |
If none of these work, run a full malware scan with Malwarebytes or your preferred tool. Sometimes the malware is still active and keeps changing the settings back. After the scan, redo the reset from step 1. Good luck — you'll get this sorted.
Was this solution helpful?