Malware could be blocking security websites, but “server not found” does not prove infection; first run Microsoft Defender Offline, then check the laptop’s DNS, Hosts file, and proxy configuration.
1. Run the built-in offline malware scan
Microsoft Defender Offline restarts the computer and scans before normal Windows loads, making it harder for persistent malware to hide. Save all open work first.
- Open Start → Settings → Privacy & security → Windows Security.
- Select Virus & threat protection → Scan options.
- Select Microsoft Defender Antivirus (offline scan) → Scan now.
- Allow the laptop to restart and complete the scan.
- After Windows restarts, open Windows Security → Protection history to review the result. ^1^
If Windows Security opens normally, also run a Full scan afterward. It scans every file and program, whereas the offline option performs a targeted scan from the Windows Recovery Environment.
If Windows Security will not open or cannot scan, use the iPhone or another trusted computer to download Microsoft Safety Scanner from Microsoft, copy it to a USB drive, and run a full scan on the laptop. Microsoft recommends Safety Scanner when a computer may be infected. ^2^
2. Determine whether Windows is resolving those sites incorrectly
Open Windows Terminal (Admin) or PowerShell (Admin) and run:
Resolve-DnsName malwarebytes.com
Resolve-DnsName bitdefender.com
Resolve-DnsName avast.com
ipconfig /all
- If all three return IP addresses, DNS resolution works; test the sites in another browser and inspect the proxy settings in the next section.
- If they time out or report that the names do not exist, the laptop has a DNS configuration problem. Possible causes include an unreachable DNS server, a firewall/security product blocking DNS, or local configuration changes. ^3^
Now inspect the Hosts file:
- Search for Notepad, right-click it, and select Run as administrator.
- Open:
C:\Windows\System32\drivers\etc\hosts
- In the file-open dialog, change the file type to All Files if necessary.
- Look for lines containing
malwarebytes, bitdefender, avast, or other security vendors.
- If present, save a backup copy and remove only those suspicious lines.
Windows checks its DNS cache and Hosts file before querying a DNS server, so an unwanted Hosts entry can redirect or block individual domains without affecting ordinary websites. ^3^
3. Check proxy and VPN settings
- Open Settings → Network & internet → Proxy.
- If you did not intentionally configure a proxy:
- Turn off Use setup script.
- Turn off Use a proxy server.
- Leave Automatically detect settings enabled.
- Open Settings → Network & internet → VPN and disconnect any active VPN for testing.
Unexpected proxy settings can route or block selected web traffic. ^4^
4. Reset the DNS cache and Windows network stack
From Command Prompt (Admin), run these commands in order:
netsh winsock reset
netsh int ip reset
ipconfig /release
ipconfig /renew
ipconfig /flushdns
Restart the laptop and test the sites again. These commands reset Winsock and TCP/IP, renew the address, and clear the DNS resolver cache. ^5^
5. Use Network reset only if the preceding steps fail
Go to Settings → Network & internet → Advanced network settings → Network reset → Reset now.
This removes and reinstalls network adapters and restores their settings to defaults. You may need to reinstall VPN or virtualization networking software afterward, and known networks may change to the public profile. ^5^
If Defender detects malware, change important passwords from a different, known-clean device after cleanup. If the security sites remain blocked after the scan and network repairs, record the exact output from Resolve-DnsName and whether the same laptop can reach them while connected to the iPhone’s hotspot; that distinguishes a laptop configuration problem from filtering by the home router or DNS provider.
References
- Virus and Threat Protection in the Windows Security App | Microsoft Support
- Microsoft resources and guidance for removal of malware and viruses | Microsoft Support
- Troubleshoot DNS client name resolution issues
- Error code 30125-4 or 30125-1011 when installing Office | Microsoft Support
- [Windows 11](https://support.microsoft.com/windows/experience/connectivity-networking/fix-ethernet-connection-problems-in-windows#on-your-pc)