PDF download Download Article
Completely remove and block viruses, malware, ransomware, trojans, worms, and more
PDF download Download Article

Is your computer or laptop acting funny? You could see unexpected system crashes or maybe your web browser directs you to a specific site that you didn't set. There might be malware on your computer causing all this trouble, and this wikiHow guide shows you how to scan for (and permanently remove) malware from your PC or Mac without purchasing additional software.

Quick Steps

  1. Open Windows Security.
  2. Navigate to Virus & threat protection > Scan options.
  3. Choose Microsoft Defender Antivirus (offline scan) and click Scan now .
  4. Windows will flag, quarantine, and remove anything it finds is malware.
Section 1 of 4:

Using Windows Security

PDF download Download Article
  1. The fastest way to do this is to enter Windows Security in the Start menu and click the "System" search result. You can also get here by going to Settings > Update & Security > Windows Security > Open Windows Security for Windows 10 or Settings > Privacy & security > Windows Security for Windows 11. [1]
    • Consider the symptoms of malware. If you're experiencing any of the following symptoms, use this method to help you scan (and remove) spyware, adware, and/or virus infections from your Windows computer or laptop:
    • Unexpected system crashes and BSOD (Blue Screen of Death).
    • Your web browser keeps getting redirected to pages you didn't click.
    • You see apps and toolbars that you didn't install.
    • You see pop-up windows claiming you must pay money or Bitcoin to regain access to your files.
    • Random network activity with heavy bandwidth usage.
    • You see a pop-up that says you have to download some file to fix an issue on your computer.
    • Your computer is running extra slow for no good reason with excessive hard drive activity.
    • Apps, tools, and antivirus on your computer are disabled (or you get an error when trying to run them).
    • When using a browser, your computer redirects to a webpage.
    • Your browser opens randomly and you didn't open it.
  2. It's at the top of the left panel and will open a new window.
    Advertisement
  3. If you're using a newer Windows 10 or Windows 11 version, you'll find Scan Options under "Current Threats." If you're using an older version of Windows 10, you'll see Run a new advanced scan under "Threat history."
  4. It's the last option in the right panel.
  5. It's at the bottom of the right panel. Windows Defender will now scan your computer for malware. When the scan is finished, your computer will reboot. Continue to the next step once the computer comes back up.
  6. Follow the same steps as you did a moment ago to navigate to this part of your settings. If threats were found, you'll see the number and a description under the "Scan options" header at the top.
    • If no threats were found, there's no need to continue with this method.
  7. It's under the description of found threats. This displays more information about what was found in the scan.
    • If malware was found, Windows Defender will usually quarantine it automatically. You'll see the name of the malware under the "Quarantined threats" header.
  8. It's under the "Quarantined threats" header.
  9. Once you've removed all of the malware, you should see "No threats" under the "Quarantined threats" header.
  10. Advertisement
Section 2 of 4:

Using Malicious Software Removal Tool (Windows)

PDF download Download Article
  1. You can do this by visiting https://www.microsoft.com/en-us/download/details.aspx?id=9905 in a browser.
    • Use this method if you are unable to run a scan or update your anti-malware tool. You can also use this method if your usual anti-malware tool fails to fix the issue.
    • If you can't use a web browser or connect to the internet on the infected PC, download the tool to a working computer, and follow the download steps on a working computer. You can then copy or burn the tool to removable media and insert that into the infected PC.
  2. It's the red button near the center of the page.
    • If you see a screen that displays recommended downloads, remove the check marks from each download, then click No thanks and continue to DirectX End-User Runtime Web Installer at the bottom-right corner.
  3. Select the Downloads folder if not already selected, and then click Save to start the download.
  4. If you are downloading the tool on a different computer because you aren't able to do so on the infected one:
    • USB drive: Connect the drive to the PC, then copy the tool (the file that begins with "Windows-kb" and ends with ".exe") to it from the Downloads folder.
    • CD/DVD-ROM: If the infected computer has a CD/DVD-ROM drive, you can burn the tool to a disc instead.
  5. It starts with "Windows-KB" and ends with ".exe." You'll typically have to click Yes to verify that you want to run the tool.
    • If the malware prevents you from running the tool, you'll need to run the tool in Safe Mode. Follow these steps to reboot into Safe Mode, then try again:
      • Click the Start
        Windows Start
        menu and select Power
        Windows Power
        .
      • Hold ⇧ Shift as you click Restart .
      • Navigate to Troubleshoot Advanced Options and click Restart.
      • Press 4 or F4 at the menu to enter Safe Mode.
      • If these steps don't work, see Activate Safe Mode in Windows 10 .
  6. A list of scan options will appear.
  7. This starts the scan, which may take several hours to complete.
    • Alternatively, you can select Quick Scan to do a short scan of the areas of your computer most likely to contain malware.
  8. You'll see one of four possible results once the scan is complete: [2]
    • No infection was found: The issue may not be malware-related. It's also possible that the tool hasn't been updated to include the latest malware. Check the download page frequently for updates (click the "+" next to "Details" to see the date), then re-download the tool once updated.
    • At least one infection was found and removed: Malware was found and successfully removed. Now that you're in the clear, make sure to update Windows as soon as possible.
    • An infection was found but not removed: This means the PC is infected, but the tool is not equipped to remove it. Try downloading another tool, such as https://www.malwarebytes.com/mwb-download , and running it the same way as you did this one.
    • An infection was found and was partially removed: If you can, try to update and use Windows Defender to finish the job. If that doesn't work, download another tool, such as https://www.malwarebytes.com/mwb-download and run it the same way as you did this one.
  9. Advertisement
Section 3 of 4:

Using Mac

PDF download Download Article
  1. To do so, hold the shift key before the Apple logo appears after clicking "Restart" from the Apple menu. Safe mode prevents software from starting automatically.
    • Just installing an update to an out-of-date Mac is usually all you need to do to get rid of malware, but follow the steps in this method if that simple solution isn't working for you.
  2. This is usually in the /var/Applications folder, but it can be elsewhere on your computer.
    • If you don't know the name of the malicious app, you can use Activity Monitor when your computer or laptop isn't in Safe Mode to look for software that is using a lot of resources.
    • Look for any apps that you don't remember installing from the App Store.
    • You can also use trustworthy malware-removal apps like Malwarebytes .
  3. This will delete the malware from your computer.
  4. This will permanently remove the malware and prevent accidental recovery or execution.
  5. Advertisement
Section 4 of 4:

Preventing Malware

PDF download Download Article
  1. Windows 10 and Mac come with built-in security features, including a built-in antivirus, a firewall, a warning when installing unknown apps, and process isolation. Make sure that these features are always enabled.
    • If you want to try a different antivirus, you can look into options like Avast, BitDefender, Malwarebytes, and AVG. [3]
    • Make sure the antivirus/anti-malware definition files are always up-to-date, as new malware is created daily.
    EXPERT TIP

    Jeremy Mercer

    Computer Repair Technician
    Jeremy Mercer is the Manager and Head Technician at MacPro-LA in Los Angeles, CA. He has over ten years of experience working in electronics repair, as well as retail stores that specialize in both Mac and PC.
    Jeremy Mercer
    Computer Repair Technician

    Malware Bytes is a great option that works on Mac and PC. It's a safe program that is free to use and will clear out most of the malware from your computer. If you notice a slow down on your computer, or pop-ups and strange programs, run Malware Bytes. Regardless, you should run the program once a week.

  2. If you're browsing the web and suddenly see a pop-up message that claims you have a virus or malware, do not follow the instructions on the pop-up—these are usually malware in disguise. Instead, close all open windows, then use Windows Defender to do a thorough scan of your computer.
  3. New security patches and updates are added to Windows and Mac all the time. These updates mostly address security issues, so downloading them and keeping your computer updated is a good idea.
  4. If your web browser notifies you that an update is available, install it immediately. Updates are often pushed through when security vulnerabilities are found. [4]
    EXPERT TIP

    Jeremy Mercer

    Computer Repair Technician
    Jeremy Mercer is the Manager and Head Technician at MacPro-LA in Los Angeles, CA. He has over ten years of experience working in electronics repair, as well as retail stores that specialize in both Mac and PC.
    Jeremy Mercer
    Computer Repair Technician

    An important step is clearing out your cache to keep viruses out. You should also clean out your trashbin regularly and keep up with your software maintenance.

  5. If you see a pop-up or window that demands you call someone to remove malware (or regain access to your files), know that this is always a scam. No reputable anti-malware app will ever make you call someone to remove malware. Similarly, never trust someone who calls you on the phone to claim your computer is infected. Scammers will often try to convince you to pay money or Bitcoin to fix a problem that doesn't exist. Close the window (or hang up the phone), run an anti-malware scan, and go about your day.
  6. Macro viruses are infections that spread through the sharing of Office documents, and are usually spread via email. [5] If you receive an email you aren't expecting (or from someone you don't know) that contains a .doc or .docx attachment, don't open the file.
    • Also be wary of websites that offer free templates for download—research the site before downloading these files, as they may be spreading viruses.
  7. All of your web and app accounts should have their own unique passwords. If a hacker gets a hold of one of your passwords, you won't want them to be able to gain access to all of them! If you have a hard time remembering different passwords, try a password manager like LastPass or DashLane.
  8. Advertisement

What Is The Difference Between Malware and a Virus?


Community Q&A

Search
Add New Question
  • Question
    How do I remove pop-ups from a Mac?
    TheWikiHowFurry
    Community Answer
    Scan it with malwarebytes.
  • Question
    Windows Defender is not working. What do I do?
    Aasim
    Top Answerer
    You will need to perform a repair upgrade. Boot your computer off of Windows installation media, click on "Install now" after selecting a language, then choose "Upgrade." Then follow the prompts.
Ask a Question
      Advertisement

      Tips

      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Name
      Please provide your name and last initial
      Thanks for submitting a tip for review!

      About This Article

      Thanks to all authors for creating a page that has been read 143,448 times.

      Is this article up to date?

      Advertisement