Guide

No Internet After Malware Removal? Fix Proxy, DNS and Connection Problems

By Stelian3 min read
Viruses and malware can wreak havoc on your system, often altering critical settings, corrupting system files, or interfering with your internet connection. While removing the virus is a crucial first step, many users find themselves facing a new problem: no internet connection after the removal process. This issue arises because some malware modifies network settings, disables essential services, or corrupts network drivers. Fortunately, you can restore your internet connection with a few troubleshooting steps. In this guide, we’ll walk you through the process of diagnosing and fixing your internet connection after removing a virus.
Illustration of a computer, network connection, and router with a single broken link highlighted in red

Why Does the Internet Stop Working After a Virus Removal?

When a virus infects your system, it often modifies your network settings to monitor your activity, redirect traffic, or block specific websites. Even after the virus is removed, these changes can persist, causing connection issues. Here are some common reasons:
  1. Modified DNS Settings: Malware may change your DNS (Domain Name System) settings, redirecting your traffic through malicious servers.
  2. Corrupted Network Drivers: A virus can damage or corrupt your network adapter drivers, preventing your computer from connecting to the internet.
  3. Disabled Network Services: Certain malware disables critical Windows services, such as the DHCP client or DNS client, which are essential for internet access.
  4. Firewall or Security Software Issues: Some malware modifies your firewall settings, blocking internet access even after removal.
  5. Proxy Server Settings: Malware may enable a proxy server, causing your browser to fail to connect to the internet.
  6. System File Corruption: Some viruses damage essential Windows system files required for networking.

Fix internet connection after malware removal

Before changing network settings, check whether another device can connect to the same network. Keep a record of any custom DNS, VPN, or proxy settings. On a work or school device, ask the administrator before resetting them. If this PC is offline, download the scanner installer on a clean device; tools that require cloud updates may still need a working connection.

This malware removal guide may appear overwhelming due to the number of steps and numerous programs that are being used. We have only written it this way to provide clear, detailed, and easy-to-understand instructions that anyone can use to remove malware for free. Please perform all the steps in the correct order. If you have any questions or doubts at any point, stop and ask for our assistance.
Malware that hijacks the DNS or Proxy settings can target Windows and Mac devices, so we’ve covered both operating systems below. Depending on which operating system is installed on your computer please click on the operating system icon below and follow the displayed steps to fix your Internet connection and remove malware from your device.

Fix Internet Connection After Removing Malware on Windows PC

To fix your Internet connection on Windows, follow these steps:

STEP 1: Remove Malicious Proxy Servers

In this first step, we will manually check if there are Malicious Proxy servers installed on the computer.
  1. Open “Run” and type INETCPL.CPL.

    To open the Run Command box, press the Windows key and R key together on your keyboard. You can also right-click your Start button on your taskbar and select “Run” from the list. In the Run box, type INETCPL.CPL and then click OK. Open Run and INETCPL.CPL
  2. Click on “Connections”, then on “LAN settings”.

    When the Internet Connections opens, click the “Connections”, then click on “LAN settings”. Open LAN settings
  3. Uncheck “Use a Proxy server”.

    In LAN Settings settings, uncheck “Use a Proxy server”, then click on “OK”. Deselect Use a Proxy server

STEP 2: Remove Malicious DNS Servers

In this second step, we will manually check if there is a Malicious DNS server installed on the computer.
  1. Open “Run” and type ncpa.cpl.

    Open a Run window by pressing the Windows key + R simultaneously. Type “ncpa.cpl” and hit OK. Open Run and type ncpa.cpl
  2. Find your active internet connection, open “Properties”.

    A Network Connections screen will appear with a list of your network adapters. Find your active internet connection—which is typically labeled Ethernet, Local Area Network or Wireless– and right-click it, then select Properties. Find your active internet connection and open Properties
  3. Double-click “Internet Protocol Version 4 (TCP/IPv4)”.

    In the Ethernet or WiFi Properties box that appears, find the item labeled Internet Protocol Version 4 (TCP/IPv4) and double-click it. Double click Internet Protocol Version 4 (TCP/IPv4)
  4. Select “Obtain DNS server address automatically”.

    In the Properties box that appears, select Obtain DNS server address automatically. Click OK. Your DNS servers will now be restored.
    Select Obtain DNS server address automatically
    Select Obtain DNS server address automatically

STEP 3: Reset your browser settings to default

In this third step, we will reset your browsers back to their default configuration. Please note that this method will remove all extensions, toolbars, and other customizations but will leave your bookmarks and favorites intact. For each browser that you have installed on your computer, please click on the browsers tab below and follow the displayed steps to reset that browser.
Remove DNS or Proxy Hijackers from Chrome for Windows
To remove DNS or Proxy Hijackers from Google Chrome, we will reset the browser settings to their original defaults. This will reset your startup page, new tab page, search engine, and pinned tabs. It will also disable all extensions and clear temporary data like cookies. Your favorites, history, and saved passwords will not be cleared.
  1. Click the three dots in the top-right corner and then click on “Settings”.

    Open Chrome and click on the menu button (represented by three vertical dots) in the top right corner of the window. In the dropdown menu that opens, click “Settings“. Click on the Chrome menu button then on the Settings button
  2. Open “Reset settings”.

    In Chrome’s sidebar, select Reset settings, or open chrome://settings/reset directly.
  3. Click “Reset settings”.

    Choose Restore settings to their original defaults. Read the confirmation before clicking Reset settings.
  4. Click “Reset settings to their original defaults”.

    In the main window, the “Reset settings” section is visible, as shown in the screenshot below. Click on “Reset settings to their original defaults“. Click on Reset settings to their original defaults
  5. Click “Reset settings”.

    A confirmation dialog will now be displayed, detailing the components that will be restored to their default state should you continue with the reset process. To complete the restoration process, click on the “Reset settings” button. Click on Reset Settings to restore Google Chrome to its default settings

STEP 4: Use AdwCleaner to remove DNS or Proxy Hijackers and Malicious Browser Policies

In this fourth step, we will use AdwCleaner to remove DNS or Proxy Hijackers and malicious browser policies that might be set on your computer. AdwCleaner is a free popular on-demand scanner that can detect and remove malware that even the most well-known anti-virus and anti-malware applications fail to find. This on-demand scanner includes a lot of tools that can be used to fix the side effects of DNS or Proxy Hijackers.
  1. Download AdwCleaner.

    You can download AdwCleaner by clicking the link below.
    Malwarebytes AdwCleanerRemoves adware and unwanted programs at no cost
    Download AdwCleanerOfficial download. Your download starts right away.
  2. Double-click on the setup file.

    Double-click on the file named “adwcleaner” to start AdwCleaner. In most cases, downloaded files are saved to the Downloads folder. Download AdwCleaner on your computer AdwCleaner program will now open and you will be presented with the program’s license agreement. After you read it, click on the I agree button if you wish to continue. If Windows prompts you as to whether or not you wish to run AdwCleaner, please allow it to run. Windows ask if you want to run AdwCleaner
  3. Check whether a Chrome policy reset is needed.

    Leave policy resets off for an ordinary scan. On your own PC, enable Settings → Reset Chrome policies only after confirming an unwanted policy. Do not reset work or school policies; contact the administrator instead. Enable Reset Chrome policies to remove malicious browser policies
  4. Click on the “Scan” button.

    On the left side of the AdwCleaner window, click on “Dashboard” and then click “Scan” to perform a computer scan.
  5. Wait for the AdwCleaner scan to finish.

    AdwCleaner will now scan your computer for DNS or Proxy Hijackers and other malicious programs. This process can take a few minutes. AdwCleaner scanning for DNS or Proxy Hijackers and other malware
  6. Click on “Quarantine” to remove malware.

    Review the scan results and click Next. Check any separate list of preinstalled software, leave wanted programs unselected, and click Quarantine to process the selected items.
  7. Click on “Continue” to start malware removal.

    AdwCleaner will now prompt you to save any open files or data as the program will need to close any open programs before it starts to clean. Click on the “Continue” button to finish the removal process. Click Continue to remove malicious files After quarantine, restart if requested. Review the log and choose Skip Basic Repair to finish; use Basic Repair only when a support agent has asked for it. Continue troubleshooting the network if the connection still fails.

STEP 5: Use Malwarebytes to remove DNS or Proxy Hijackers and Malicious Browser Extensions

In this next step, we will install Malwarebytes to scan and remove any infections, DNS or Proxy Hijackers, or potentially unwanted programs that may be present on your computer. Malwarebytes is one of the most popular and most used anti-malware software for Windows, and for good reasons. It is able to destroy many types of malware that other software tends to miss, without costing you absolutely nothing. When it comes to cleaning up an infected device, Malwarebytes has always been free and we recommend it as an essential tool in the fight against malware.
  1. Download Malwarebytes for Windows.

    You can download Malwarebytes by clicking the link below.
    Malwarebytes Free for WindowsScans and removes malware at no cost
    Download MalwarebytesOfficial installer for Windows 11 and 10. Your download starts right away.Want real-time protection? See Malwarebytes Premium
  2. Double-click on the Malwarebytes setup file.

    When Malwarebytes has finished downloading, double-click on the MBSetup file to install Malwarebytes on your computer. In most cases, downloaded files are saved to the Downloads folder. Download You may be presented with a User Account Control pop-up asking if you want to allow Malwarebytes to make changes to your device. If this happens, you should click “Yes” to continue with the Malwarebytes installation. Click Yes to install Malwarebytes
  3. Follow the on-screen prompts to install Malwarebytes.

    When the Malwarebytes installation begins, you will see the Malwarebytes setup wizard which will guide you through the installation process. The Malwarebytes installer will first ask you what type of computer are you installing this program on, click either Personal Computer or Work Computer. Malwarebytes setup: Click on Personal Computer On the next screen, click “Install” to install Malwarebytes on your computer. Click on Install to install Malwarebytes When your Malwarebytes installation completes, the program opens to the Welcome to Malwarebytes screen.
  4. Click on “Scan”.

    Malwarebytes is now installed on your computer, to start a scan click on the “Scan” button. Malwarebytes will automatically update the antivirus database and start scanning your computer for DNS or Proxy Hijackers and other malicious programs. Click on Scan button
  5. Wait for the Malwarebytes scan to complete.

    Malwarebytes will now scan your computer for DNS or Proxy Hijackers and other malicious programs. This process can take a few minutes, so we suggest you do something else and periodically check on the status of the scan to see when it is finished. Malwarebytes scanning for DNS or Proxy Hijackers
  6. Click on “Quarantine”.

    When the Malwarebytes scan is finished scanning it will show a screen that displays any malware, DNS or Proxy Hijackers, or potentially unwanted programs that it has detected. To remove DNS or Proxy Hijackers and other malicious programs that Malwarebytes has found, click on the “Quarantine” button. Review the malicious programs and click on Quarantine to remove DNS or Proxy Hijackers
  7. Restart computer.

    Malwarebytes will now remove all the malicious files and registry keys that it has found. To complete the malware removal process, Malwarebytes may ask you to restart your computer. Malwarebytes requesting to restart computer to complete the DNS or Proxy Hijackers removal process When the malware removal process is complete, you can close Malwarebytes and continue with the rest of the instructions.

STEP 6: Use HitmanPro to scan for DNS or Proxy Hijackers and Other Malware

In this final step, we will scan the computer with HitmanPro to ensure that no other DNS or Proxy Hijackers or malicious programs are installed on your device. HitmanPro is a second-opinion scanner that checks suspicious files and common malware locations. It uses cloud analysis from several security labs, including SophosLabs, so it needs an internet connection for those checks. Keep the report if anything is detected; another scanner can add evidence, but no result proves that every possible threat has been removed. You can scan with HitmanPro for free. Removing detected threats requires an eligible one-time 30-day trial or a paid license. A computer that has already used the trial may not qualify again. Check the current purchase price in the official application rather than relying on an old price quoted in a guide.
  1. Download HitmanPro.

    You can download HitmanPro by clicking the link below.
    HitmanProSecond-opinion malware scanner from Sophos
    Download HitmanProFree scan. Removing threats needs the free 30-day trial. Your download starts right away.
  2. Install HitmanPro.

    When HitmanPro has finished downloading, double-click on “hitmanpro.exe” (for 32-bit versions of Windows) or “hitmanpro_x64.exe” (for 64-bit versions of Windows) to install this program on your computer. In most cases, downloaded files are saved to the Downloads folder. Double-click on the HitmanPro file You may be presented with a User Account Control pop-up asking if you want to allow HitmanPro to make changes to your device. If this happens, you should click “Yes” to continue with the installation. Windows asking for permissions to run the HitmanPro setup
  3. Follow the on-screen prompts.

    When HitmanPro starts you will be presented with the start screen as shown below. Click on the “Next” button to perform a system scan. Click Next to install HitmanPro on your PC HitmanPro final installer screen
  4. Wait for the HitmanPro scan to complete.

    HitmanPro will now begin to scan your computer for DNS or Proxy Hijackers and other malicious programs. HitmanPro scans your computer for any infections, DNS or Proxy Hijackers, or potentially unwanted programs that may be present
  5. Click on “Next”.

    When HitmanPro has finished the scan, it will display a list of all the malware that it has found. Click on the “Next” button to have HitmanPro remove the detected items. HitmanPro scan summary. Click Next to remove DNS or Proxy Hijackers
  6. Click on “Activate free license”.

    If available, click Activate free license and follow the activation prompts. If the trial was already used on this PC, use an existing license or save the report and ask for help. Review each selected detection before proceeding with removal. Click on the Activate free license button When the malware removal process is complete, it will display a screen that shows the status of the various programs that were removed. At this screen, you should click on the Next button and then if prompted you should click on the Reboot button. If HitmanPro does not prompt you to reboot, please just click on the Close button.

Your computer should now be free of DNS or Proxy Hijackers and other malicious programs. If your current antivirus allowed DNS or Proxy Hijackers on your computer, you may want to consider purchasing Malwarebytes Premium to protect against these types of threats in the future. If you are still having problems with your computer after completing these instructions, then please follow one of the steps:

Written by

Stelian

Stelian is a malware and virus removal expert with more than 15 years of experience. Stelian leads malware analysis and removal at MalwareTips, writes the step-by-step removal guides and helps readers recognize and avoid online scams.

61,173 articlesWriting since 2011
More from Stelian →

MalwareTips community · since 2010

Stuck on a step? 75,000+ members can help you for free.

Post your question on the forum and our volunteer malware removal experts will walk you through it, step by step.

75K+members
999K+forum messages
100K+forum topics
15+years online

Previous

Suspicious Ads in Steam? Remove Adware and Check Your PC and Account Now

Next

Reset Microsoft Edge: Fix Redirects Without Losing Saved Passwords