Finding out that your computer or laptop is infected with a virus is a scary feeling. You may have important files on the hard drive, irreplaceable photos or an in-progress project that you forgot to save. Viruses, many caused by malware, can significantly impact your device’s performance and even threaten the safety of your personal information and data.

While antivirus software adds additional protection to your devices, you still need to be aware of viruses and their removal processes. Viruses are not a “one size fits all” type of issue, and each can affect the performance of a phone or computer in a variety of ways.

If you think your device is infected, our guide can help you figure out how to get rid of a virus and restore your device’s productivity. 

Table of Contents:

What is a Virus?

A virus is usually a piece of tampered code that changes how a device functions and operates. Viruses can be passed from device to device through infected attachments or links, and they usually attach to and hide behind previously installed programs. Some viruses are referred to as worms, and these infections can spread to other devices without human interaction. 

Many malware viruses use social engineering to attract and trap users, while others disguise themselves as helpful programs before penetrating an entire system — take, for instance, the Heuristic virus.

Other types of viruses are common, including:

  • File-infecting viruses
  • Macro viruses
  • Overwrite viruses
  • Polymorphic viruses
  • Resident viruses

…and more. Antivirus software can help stop or slow virus progress, however, it’s important to know how to recognize if you’re device has been infected even with precautions.

Virus Detection

Before you being the virus removal process, double-check that your device’s symptoms are characteristic of viruses. A few telltale signs that your computer or phone may be infected are:

  • Pop-up messages are appearing. If pop-up messages appear every time you use your device or they are hard to close out of, you may have a virus. Never click on a suspicious pop-up if you think your device may have a virus, even if it’s a virus warning.
  • Your device is running slowly. Make sure all of your applications and systems are up to date. If you are unable to increase its speed, it may be experiencing the side effects of a virus that is hijacking your device.
  • Your hard drive is making noise. If your hard disk is making continuous noises or spins with minimal to no computer activity, your device could have a virus.
  • Programs are continually crashing. If programs are starting and closing automatically, or your system randomly shuts down or freezes, your device could be infected by a virus.
  • You have missing files. If you are missing files that you know were not deleted, this may be due to malware. Some malware deletes, moves or encrypts files so you cannot open them.
  • High network activity. If your Wi-Fi or internet activity is active even when you are not using it, a virus could be infiltrating your internet to send and steal information.
  • Your device overheats. If your device has a virus, it is most likely working overtime to keep things running smoothly. This can cause overheating in phones and computers. Keep an eye on your CPU temps and how hard your device’s fans are working.
  • Warnings are being released by your antivirus software. If you have antivirus software installed, don’t ignore its warnings. This could be a sign that your device is compromised.

Illustration depicting eight ways to detect a virus.

6 Tips to Prepare for Virus Removal

Even after you’ve detected a virus, there’s preparation to be done before jumping into virus removal. To ensure that all internal and external files have been cleaned, it’s important to keep every possible removal method accounted for and prepare your devices to get rid of a virus.

  1. Scan personal data: Before beginning the virus removal process, scan all your personal data for viruses. This will ensure that viruses aren’t accidentally reinstalled after the removal process. Scanning tools like the Panda Cloud Cleaner can help disinfect your PC quickly.
  2. Reboot safe mode: A virus can only access your device when it’s running. When placed in Safe Mode, your device will only load the essential files, which can stop all viruses from starting.
  3. Use a rescue USB drive or rescue disk: A rescue USB drive allows you to scan a device without starting it. This helps keep viruses contained and provides you with an additional safe space to scan for viruses. 
  4. Don’t forget manual removal: You may need to view and delete program files manually to get rid of a virus. If you feel comfortable, download Autorun, which allows you to see exactly what it is that is operating on your computer and how to get rid of it. This type of virus removal can be overwhelming, so be sure you’re prepared to determine the legitimacy of your programs before beginning.
  5. Employ clean install: If all else fails, it’s possible to resort to a clean install. A clean install deletes everything on your hard drive, but it also almost always guarantees the removal of viruses and malware. You will have to reinstall all programs, but it can save your computer from further infiltration and destruction due to viruses
  6. Install antivirus software: Make sure to install an antivirus system that also protects against ransomware, as programs with both can detect things an antivirus program alone does not recognize.

Illustration depicting the 6 steps to prepare for removing a virus.

How to Clear Viruses

After you’ve detected a virus, removed malware and prepared your device, it’s time to get rid of the virus. The virus removal process will depend on which type of device is infected. Here we’ve outlined how to get rid of a virus on an iPhone, Android, computer and Mac.

How to Get Rid of a Virus on Your iPhone

While iPhones getting viruses is a rare occurrence, it can happen. If you’ve noticed your iPhone running slowly, overheating or exhibiting any of the other symptoms of a virus, it’s time to remove the intruder using these steps.

1. Navigate to Settings.

Step 1 of Removing a Virus from iPhone

2. Select your primary search engine.

Step 2 of Removing a Virus from iPhone

3. Enter into its Advanced settings.

Step 3 of Removing a Virus from iPhone

4. Choose Website Data.

Step 4 of Removing a Virus from iPhone

5. Select Remove all Website Data.

Step 5 of Removing a Virus from iPhone

6. Navigate back to Settings and select your Apple ID.

Step 6 of Removing a Virus from iPhone

7. Click iCloud.

Step 7 of Removing a Virus from iPhone

8. Select Manage Account Storage.

Step 8 of Removing a Virus from iPhone

9. Choose Backups. Restore your system to the most recent backup.

Step 9 of Removing a Virus from iPhone

If you are unable to restore your iPhone to a recent backup or uninstall a virus, you may need to resort to a factory reset. While this will clear your device of offending viruses, it will also remove all downloads and personal information.

How to Get Rid of a Virus on Your Android Phone

If you believe your Android phone has been compromised with a virus, you will need to look at your installed apps for suspicious activity. There are a few steps to removing a virus from an android phone.

1. Open Settings.

Step 1 of Removing a Virus on Android Phone

2. Go to Apps.

Step 2 of Removing a Virus on Android Phone

3. Select your primary browser.

Step 3 of Removing a Virus on Android Phone

4. After choosing Storage, follow the prompts for clearing your cache and downloads. Reboot your device in Safe Mode. Open Settings and Apps again.

Step 4 of Removing a Virus on Android Phone

5. Use the drop-down menu to select Enabled Apps. Here you will review your installed apps for any suspicious or unfamiliar downloads. If you find any, remove them. Restart your phone.

Step 5 of Removing a Virus on Android Phone

6. Activate Play Protect in the Google Play Store.

Step 6 of Removing a Virus on Android Phone

If you can’t uninstall suspicious apps, it may be because the virus has given itself Device Administrator access. You will need to deactivate any suspicious apps as administrators by going to Settings>Security>Device Administrators.

After you’ve removed suspicious apps and activated Play Protect, be sure to back up your important information and install Android antivirus to avoid future breaches.

How to Get Rid of a Virus on Your Computer

If you believe your computer may be compromised by a virus, you will need to use Windows security to remove the intruder.

1. Open Windows Security. This can be accessed from the settings menu.

Step 1 of Removing Virus from Windows

2. In the left panel, select Virus & Threat Protection.

Step 2 of Removing Virus from Windows

3. Select Scan Options.

Step 3 of Removing Virus from Windows

4. Choose Microsoft Defender Antivirus and then select Scan now. Your computer will restart and reboot in a safer, offline mode. After your PC restarts, navigate back to Virus & Threat Protection.

Step 4 of Removing Virus from Windows

5. Reveal the findings from the virus scan by selecting scan now under Virus & threat protection in the middle panel. You can also access this history from Protection history on the right-hand sidebar. Then, restart your computer in Safe Mode.

Step 5 of Removing Virus from Windows

6. Navigate to System in the settings menu and select Storage.

Step 6 of Removing Virus from Windows

7. Click the Temporary Files bar.

Step 7 of Removing Virus from Windows

8. Choose to Delete all temporary files.

Step 8 of Removing Virus from Windows

9. Hit Remove Files. In regular mode, Restart Computer.

Step 9 of Removing Virus from Windows

After you have run a virus scan and deleted all temporary files, you can download and extract Autoruns. This Microsoft tool identifies malicious programs that should be deleted from your computer.

While most Windows systems have antivirus and antimalware software already installed, you may want to investigate your device’s protections and consider installing an antivirus system to help protect your device in the future.

How to Get Rid of a Virus on a Mac

While many people believe they cannot get viruses on Macs, these devices can also be infected. There are a variety of viruses posing as Mac antiviruses — including MacDefender and MacSecurity — that are malicious and dangerous. If your Mac has been infected, you can get rid of a virus with these steps.

1. Navigate to the Applications Folder in Finder.

Step 1 of Removing a Virus on Mac

2. Move any offending applications to Trash. After moving applications to trash, navigate back to Finder.

Step 2 of Removing a Virus on Mac

3. Select Go in the top menu and then Go to Folder in the dropdown.

Step 3 of Removing a Virus on Mac

4. Enter “/Library” in the search field and click Go. Drag any related or suspicious folders to the Trash.

Step 4 of Removing a Virus on Mac

5. Empty the Trash.

Step 5 of Removing a Virus on Mac

If your computer has a virus that originated from a browser extension, you will need to delete these as well.

Removing Extensions on Safari:

1. Open Safari and select Preferences from the top dropdown menu.

Step 1 to Remove Safari Extension

2. Click Extensions. Here is where you will uninstall suspicious extensions. These could have been added by you or a piece of malware.

Step 2 to Remove Safari Extension

Removing Extensions on Chrome:

1. Open Chrome and navigate to the three dots in the upper right-hand corner.

Step 1 to Remove Chrome Extension

2. Select More Tools and then Extensions.

Step 2 to Remove Chrome Extension

3. In the new screen, you can click Remove on any suspicious extensions.

Step 3 to Remove Chrome Extension

In order to prevent a virus, be sure to download a secure Mac antivirus system on your computer. Additionally, it’s important to update your software as often as you can and back up your data regularly to ensure you will not lose previous files if ever infected with a virus. 

While viruses can be scary, they can also be removed. Cleaning up your device may take some time, but Panda Security offers users a variety of tools to help simplify the process and get your personal devices running again.

Sources: TechTarget | Avast