views
- You can use an antivirus program and Safe Mode to remove most viruses on Windows and Mac.
- If the virus can't be removed, you may need to reinstall your computer's operating system.
- If your computer is compromised with a virus, do not log into any important accounts that require you to input passwords.
Windows
Open the Windows Security panel. To open it, press the Windows key on your keyboard, type security, and click Windows Security in the search results. Windows 10 comes with Microsoft Defender, which is a full-featured antivirus/antimalware suite designed to protect your PC from viruses in real-time. As long as you keep Microsoft Defender running, it will catch most viruses and malware before they can be installed on your PC. If you have any other apps open on your PC, you should close them now.
Click Virus & threat protection. It's in the left panel.
Click Scan options. It's in the right panel.
Select Microsoft Defender Offline scan. It's the final option in the list. This option is the most reliable for finding and removing viruses and requires you to restart your computer.
Click Scan now. This reboots your PC into a safer offline mode so it can fully scan for viruses and malware. The scan will take about 15 minutes and your PC will automatically restart when finished. If viruses or malware are found, Defender will immediately remove them.
Re-open Windows Security and select Virus & threat protection. You'll want to do this as soon as your PC restarts after the scan.
Click Protection history to view the results. If any viruses or malware were found during the scan, you'll see the actions taken by Microsoft Defender.
Restart your computer in Safe Mode. Safe Mode is a version of your computer's operating system that loads only the necessary files and services, making it impossible for most viruses to run. You can restart into Safe Mode by doing the following: Click Start Windows Start, then click the Power Windows Power icon. Hold down ⇧ Shift while clicking Restart in the Power menu. Click Troubleshooting on the blue screen. Click Advanced Options, then click Startup Settings. Click Restart, then press 5 to select the "Safe Mode with Networking" option. If "Safe Mode with Networking" is tied to a different key, use that key instead.
Open Disk Cleanup. Once your computer finishes restarting into Safe Mode, you can open Disk Cleanup by clicking Start Windows Start, typing in disk cleanup, and clicking Disk Cleanup at the top of the Start menu.
Delete your temporary files and system information. Do the following: Click Clean up system files in the lower-left corner of the window. Check every box in the middle of the window (you will have to scroll down to see the last few boxes). Click OK, then click Delete Files when prompted.
Download and extract Autoruns. Autoruns is a Microsoft tool that shows you the various programs that started up with your current session. To download and extract it, do the following: Go to https://docs.microsoft.com/en-us/sysinternals/downloads/autoruns in your computer's web browser. Click the Download Autoruns and Autorunsc link near the top of the page. Double-click the downloaded ZIP folder. Click Extract all, then click Extract when prompted. Open the extracted folder, then double-click the Autoruns file to open Autoruns.
Use Autoruns to delete malicious files. Autoruns will give you a list of automatic startup processes and files that appeared when you started your computer. You can use this list to determine which of the services are actually viruses: Find a suspicious service in the Autoruns list. Look up the service online to confirm that it is a virus, making sure to note any removal instructions. Delete the service and any files or folders related to it. Repeat this process until you've removed all of the suspicious services from the Autoruns menu.
Restart Windows. You can now restart Windows safely to regular mode. Just click the Start menu, select the Power option, and choose Restart.
Change your browsers' home pages if necessary. A common virus strategy is to set your browser's home page to a malicious or ad-based website. You can change your browser's settings back to normal while in Safe Mode to prevent this from causing further harm. In extreme cases, your computer's virus will corrupt the browser's files so that it can't be changed from within the browser settings. If so, you'll need to uninstall the browser in question and then reinstall it later.
Run a Malwarebytes malware scan. If you're still having trouble, try using the free trial version of Malwarebytes' powerful antimalware application to see if it can find anything Microsoft Defender couldn't. Head to https://www.malwarebytes.com/premium and click FREE DOWNLOAD to download the software. Once it's downloaded, double-click the downloaded file and follow the on-screen instructions to scan your PC. If Malwarebytes finds a virus or other harmful files, it will walk you through the removal process. Other freemium antivirus software includes Avast, Norton, and McAfee. If selecting another option, do research to make sure you are not downloading a fake antivirus.
Reinstall Windows if necessary. If you can't get rid of the virus and you're unable to pay for a professional repair service to neutralize it, your best remaining option is to reinstall Windows and start over. You can back up your files to prevent data loss, but keep in mind that doing this will most likely back up the virus as well. If you can afford it, take your computer into a professional repair service before this step. They may be able to remove the virus for you.
Mac
Force-quit persistent malware programs. If a program (or group of programs) is preventing you from restarting your Mac, do the following for the problematic program(s): Click Spotlight (the magnifying glass) in the top-right corner of the screen. Type in activity monitor, then double-click Activity Monitor in the search results. Click the CPU tab. Select a program or service you want to force-quit. Click X in the top-left corner of the Activity Monitor window. Click Force Quit when prompted.
Accept prompts to move malware to the Trash. If after a software update your Mac detects a known virus, it will prompt you to delete it. Click on Move to trash to move the malware to the trash and then empty the trash to remove it.
Restart your Mac into Safe Mode. Safe Mode prevents all but the most basic of Mac programs from starting, making it easier to find and delete viruses: Click the Apple menu and select Restart…. Click Restart when prompted. Immediately hold down the ⇧ Shift key. Release the ⇧ Shift key when you see the login window appear.
Download and install Malwarebytes. Malwarebytes is a free antivirus program that you can use to identify and remove viruses on your Mac: Go to https://www.malwarebytes.com/mac-download in your web browser. The download should start automatically. Double-click the downloaded PKG file and follow the on-screen instructions to install. Other freemium antivirus software includes Avast, Norton, and McAfee. If selecting another option, do research to make sure you are not downloading a fake antivirus.
Open Malwarebytes. Click the Spotlight magnifying glass icon at the top-right, type malwarebytes, and click Malwarebytes in the Spotlight search results.
Click the Dashboard tab. It's on the left side of the Malwarebytes window.
Click Scan now. You'll find this in the middle of the Malwarebytes window. Doing so prompts Malwarebytes to begin scanning your Mac for viruses. This process can take over an hour to complete.
Remove any discovered viruses. Once the scan completes, you can remove any viruses by clicking the Scan tab and then clicking Confirm in the middle of the page. If Malwarebytes didn't find any viruses, you won't see the Confirm option here.
Delete malicious apps if necessary. Some apps qualify as malicious without technically being viruses; common examples of this include toolbar apps and some fake antivirus scanners. You can delete such an app from the Applications folder (and your Mac) by doing the following: Open Finder. Click Applications on the left side of the page. Find the app you want to remove. Drag the app icon to the Trash. Click and hold the Trash icon, then click Empty Trash when prompted.
Remove any files associated with malicious apps. While deleting an app will minimize its impact on your Mac, you'll want to delete the app's folder contents as well in case the folder contains malicious files or scripts: Open Spotlight, then type ~Library and press Return. Find the folder for an app you deleted (the app's name should be in the folder). Drag the folder to the Trash. Empty the Trash by clicking and holding its icon and then clicking Empty Trash.
Clear the Downloads folder. If you believe that you accidentally downloaded a file which triggered the virus on your Mac, consider clearing out the Downloads folder by opening Finder, clicking Downloads on the left side of the window, selecting the files in the Downloads folder, and moving them to the Trash.
Change your browsers' home pages if necessary. A common virus strategy is to set your browser's home page to a malicious or ad-based website. You can change your browser's settings back to normal while in Safe Mode to prevent this from causing further harm.
Restart your Mac. Click the Apple menu, select Restart..., and click Restart when prompted. This will restart your Mac into its normal mode. The virus(es) should now be gone.
Reinstall your Mac's operating system if necessary. In extreme cases in which a virus has infected your whole Mac and you can't afford to take it in to a professional repair service, reinstalling the operating system from scratch is your best chance of recovering your Mac. You can back up your files to prevent data loss, but keep in mind that doing this will most likely back up the virus as well. If you can afford it, take your computer into a professional repair service before this step. They may be able to remove the virus for you.
Comments
0 comment