How to get rid of a computer virus: All you need to know (2024)

Are you concerned that your computer may have a virus? If your computer is infected, learning how to get rid of a computer virus is vital.

This article teaches you all there is to know about how computer viruses work and computer virus removal.

Read on as we discuss:

  • How to get rid of a computer virus.
  • What a computer virus is.
  • How to tell if your computer has a virus.
  • Whether your computer can become infected with a virus via email.
  • How to protect your computer from viruses.

How to get rid of a computer virus

In this section, we explore how to get rid of a computer virus from a PC and from a Mac.

Removing a computer virus from a PC

Computer viruses are almost always invisible. Without anti-virus protection, you may not know you have one. This is why it is vital to install anti-virus protection on all your devices.

If your PC has a virus, following these ten simple steps will help you to get rid of it:

Step 1: Download and install a virus scanner

Download a virus scanner or complete internet security solution. We recommend Kaspersky Premium. The video below will guide you through the installation process:

Step 2: Disconnect from internet

When you are removing a virus from your PC, it is a good idea to disconnect from the internet to prevent further damage: some computer viruses use the internet connection to spread.

Step 3: Reboot your computer into safe mode

To protect your computer while you remove the virus, reboot it in ‘Safe Mode’. Are you unsure of how to do this?

Here is a simple guide:

  • Turn your computer off and on again
  • When the screen lights, press F8 to bring up the ‘Advanced boot options’ menu
  • Click ‘Safe Mode with Networking’
  • Remain disconnected from the internet

Step 4: Delete any temporary files

Next, you need to delete any temporary files using ‘Disk Clean Up’.

Here’s how to do this:

  • Click the Windows logo on the right bottom
  • Type “Temporary Files”
  • Choose “Free up disk space by deleting unnecessary files”
  • Find and select “Temporary Internet Files” in the ‘Files to delete’ Disk Cleanup list and click OK
  • Confirm “Delete Files” selection

Some viruses are programmed to initiate when your computer boots up. Deleting temporary files may delete the virus. However, it is not safe to rely on this. To ensure you rid your computer of viruses, it is wise to complete the following steps.

Step 5: Run a virus scan

Now it is time to run a virus scan using your chosen anti-virus or internet security software. If you are using Kaspersky Internet Security, select and run ‘Scan’.

How to get rid of a computer virus: All you need to know (2)

Step 6: Delete or quarantine the virus

If a virus is found, it may affect multiple files. Select ‘Delete’ or ‘Quarantine’ to remove the file(s) and get rid of the virus. Rescan your computer to check there’s no further threats. If threats are found, quarantine or delete the files.

Step 7: Reboot your computer

Now that the virus is removed, you can reboot your computer. Simply turn it on as you would normally. It no longer needs to be in ‘Safe Mode’.

Step 8: Change all your passwords

To protect your computer from further attack, change all your passwords in case they were compromised. This is only strictly necessary if you have reason to believe your passwords have been captured by malware, but it is better to be safe than sorry.

You can always check the virus’s functionality on your anti-virus vendor’s website or with their technical support team if unsure.

Step 9: Update your software, browser and operating system

Updating your software, browser and operating system will reduce the risk of flaws in old code being exploited by criminals to install malware on your computer.

Removing a computer virus from a Mac

If you use a Mac, you may be under the impression that your computer cannot get a virus. Unfortunately, this is a misconception. There are fewer viruses that target Macs compared with the many that target PCs, but Mac viruses do exist.

Some Mac viruses are designed to trick users into thinking they are anti-virus products. If you accidentally download one of these, your computer may be infected. Three examples of Mac viruses of this type are ‘MacDefender’, ‘MacProtector’, and ‘MacSecurity’.

How to get rid of a computer virus: All you need to know (3)

If you think your Mac has a virus, here are six steps to follow to remove it:

  • Quit the application or software that seems to be affected.
  • Go to ‘Activity monitor’ and search for known Mac viruses such as ‘MacDefender’, ‘MacProtector’, or ‘MacSecurity’.
  • If you find one of these viruses, click ‘Quit process’ before quitting ‘Activity monitor’.
  • Next, go to your ‘Applications’ folder and drag the file into your ‘Trash’.
  • Remember to empty the ‘Trash’ folder afterwards to permanently delete the virus.
  • Now make sure your software and apps are up to date to benefit from the latest security patches.

To ensure nothing is missed and to keep your Mac protected, consider installing a running an anti-virus solution if you do not already have one. We recommend comprehensive internet security solution like Kaspersky Premium.

What is a computer virus?

A computer virus is a type of malware (malicious software) designed to make self-replicate, i.e. to make copies of itself on any drive connected to your computer.

Computer viruses are so-called because, like real viruses, they can self-replicate. Once your computer is infected with a virus, this is how it spreads. When a computer virus infects your computer, it may slow it down and stops it working properly.

There are three main ways that your computer may have become infected with a computer virus.

The first way your computer could become infected from removable media, like a USB stick. If you insert a USB stick or disk into your computer from an unknown source, it may contain a virus.

How to get rid of a computer virus: All you need to know (4)

Sometimes hackers leave infected USB sticks or disks in people’s workplaces, or public places like cafes to spread computer viruses. People sharing USBs may also transfer files from an infected computer to one that isn’t infected.

Another way your computer become infected with a virus is through a download from the internet.

If you are downloading software or apps to your computer, ensure you do so from a trusted source. For example, the Google Play Store or Apple’s App Store. Avoid downloading anything via a pop-up or a website you do not know.

The third way your computer could become infected with a virus is if you open an attachment, or click on a link, in a spam email.

Whenever you receive mail from a sender you do not know or trust, avoid opening it. If you do open it, do not open any attachments or click on any links.

How to tell if your computer has a virus

There are numerous signs to look out for that indicate your computer may have a virus.

Firstly, is your computer slowing down? If everything is taking longer than usual, your computer may have become infected.

Secondly, look out for apps or programs that you do not recognize. If you see an app or a program appear on your computer that you do not remember downloading, exercise caution.

It is a good idea to uninstall any software you do not recognize and then to run a virus scan using anti-virus or internet security software to check for threats. Pop-ups that appear when your browser is closed are a tell tail sign of a virus. If you see these, take immediate action to remove the virus, by following the steps outlined above.

How to get rid of a computer virus: All you need to know (5)

Another sign that your computer may have a virus is if apps or programs on your computer start behaving strangely. If they start crashing for no apparent reason, your computer may have a virus.

Finally, a virus may cause your computer to start overheating. If this happens, investigate whether you have a virus using anti-virus or internet security software.

Can your computer become infected with a virus via email?

Your computer can become infected with a virus via email, but only if you open attachments within a spam email or click on the links contained in them.

Simply receiving a spam email will not infect your computer. Just mark these as spam or junk and ensure they are deleted. Most email providers will automate this (Gmail for example) but if any slip through the net, just mark them as spam yourself and don’t open them.

How to protect your computer from viruses

Here are some key ways that you can protect your computer from viruses:

  • Use anti-virus software or a complete internet security solution, like Kaspersky Total Security. For your Android mobile, consider Kaspersky Internet Security for Android.
  • Research apps and software by reading user reviews.
  • Read developer descriptions before you download apps and software.
  • Only download apps and software from trusted sites.
  • Check how many downloads apps and software have. The more, the better.
  • Check what permissions apps and software ask for. Are these reasonable?
  • Never click on unverified links in spam emails, messages or unfamiliar websites.
  • Do not open attachments in spam emails.
  • Keep software, apps and your operating system updated.
  • Use a secure VPN connection for public Wi-Fi, like Kaspersky Secure Connection.
  • Never insert unknown USB sticks or disks into your computer.

Why expose yourself to the risk of infection? Protect your computer with Kaspersky Premium Antivirus Software.

Kaspersky Internet Security received two AV-TEST awards for the best performance & protection for an internet security product in 2021. In all tests Kaspersky Internet Security showed outstanding performance and protection against cyberthreats.

Related articles:

  • What is a Computer Virus or a Computer Worm?
How to get rid of a computer virus: All you need to know (2024)

FAQs

How to get rid of a computer virus: All you need to know? ›

Run a virus scan

After installing your antivirus software, you need to check your computer for any malware by running a full virus scan. A comprehensive scanner will search your computer for any malicious code hiding in Windows, and it will help you get rid of it. Open your antivirus app and select Run Smart Scan.

How to clear all viruses from a computer? ›

Run a virus scan

After installing your antivirus software, you need to check your computer for any malware by running a full virus scan. A comprehensive scanner will search your computer for any malicious code hiding in Windows, and it will help you get rid of it. Open your antivirus app and select Run Smart Scan.

What should I do if I think I have a virus on my computer? ›

Try not to panic – here are a few easy-to-understand steps.
  1. Run a full-system scan. If you ever suspect your computer has a virus, use antivirus software to run a full-system scan of your device. ...
  2. Restore to an earlier back-up. ...
  3. Delete temporary files. ...
  4. Go Safe Mode. ...
  5. Reinstall your operating system.
Oct 10, 2023

How do I find hidden viruses on my computer? ›

Open your Windows Security settings. Select Virus & threat protection > Scan options. Select Microsoft Defender Antivirus (offline scan), and then select Scan now.

How to remove viruses for free? ›

The easiest way to remove malware from your Windows PC is to use a free virus removal tool like Avast One, which scans for and removes existing malware, as well as prevents future infections. Avast One is compatible with all devices, so you can scan for, detect, and remove malware on Mac, iPhone, and Android too.

What kills a computer virus? ›

The easiest way to remove viruses is by using an antivirus program designed to clean your system safely. If a virus is already on your computer, however, you may need to run this program under very specific conditions.

Can computer viruses go away? ›

Some computer viruses and other unwanted software reinstall themselves after the viruses and spyware are detected and removed. Fortunately, by updating the computer and by using malicious software removal tools, you can help permanently remove unwanted software.

What are 3 signs of a computer virus in your computer? ›

Here are some of the most common signs that your device may be infected:
  • Your computer is slow or constantly crashes. ...
  • Your default browser or homepage has changed. ...
  • You see constant pop-ups (or ransomware notices) ...
  • You can't access your computer or online accounts. ...
  • Your mouse, keyboard, or devices appear to act on their own.
Sep 21, 2023

What's the best app to remove viruses? ›

The best malware removal of 2024 in full:
  • Malwarebytes. The most effective free malware removal software. ...
  • Avast Antivirus. ...
  • Kaspersky Antivirus. ...
  • Trend Micro Antivirus+ Security. ...
  • F-Secure SAFE. ...
  • Bitdefender Antivirus Free Edition. ...
  • Avira Free Security Suite. ...
  • AVG Antivirus Free.
Jul 26, 2024

Does resetting a PC remove viruses? ›

While a factory reset does a good job of removing most malware and viruses, it is not 100% effective. That's because some sophisticated threats called rootkits and bootkits can infect your motherboard and the startup process.

How to remove viruses without antivirus? ›

Removing a Virus Without Using Any Anti-virus Software
  1. Run the command prompt by going to start and type cmd on the search programs and files.
  2. Select the virus affected drive. ...
  3. type attrib -s -h *.* /s /d then press enter.
  4. type dir. ...
  5. check if there is an unusual .exe file.

Do I actually have a virus on my computer? ›

If your computer is loading slowly, deleting files, running suspicious programs, or filled with annoying on-screen pop-ups, you might have a virus. If so, the best course of action is to install a reliable antivirus software solution, reboot your system, and run a full virus scan.

Can antivirus remove viruses? ›

An antivirus product is a program designed to detect and remove viruses and other kinds of malicious software from your computer or laptop. Malicious software - known as malware - is code that can harm your computers and laptops, and the data on them.

What's the best free virus cleaner? ›

Best free antivirus software reviews
  1. Bitdefender: Best overall. Best overall. Bitdefender. ...
  2. AVG: Best for real-time protection. Best for real-time protection. AVG. ...
  3. Malwarebytes: Best no-frills. Best no-frills. Malwarebytes. ...
  4. Kaspersky: Best for iPhones. Best for iPhones. ...
  5. TotalAV: Best for computer cleanup. Best for computer cleanup.

How do I clean my device from viruses? ›

How Do I Completely Remove Malware from Android?
  1. Step 1: Immediately Turn Your Phone Off Before Performing Some Research. ...
  2. Step 2: Turn the Phone On in Safe Mode or Emergency Mode. ...
  3. Step 3: Go to Device Settings to Locate the Malicious App. ...
  4. Step 4: Uninstall the Infected Application. ...
  5. Step 5: Opt For A Factory Reset.

How do I completely wipe my computer from viruses? ›

Click the Start button and select Settings. Go to System and access the Recovery option. Select Reset This PC, and choose not to keep your files. Follow the on-screen prompts and wait for the process to complete.

How do I permanently delete virus files? ›

FAQs
  1. Type cmd in the search bar.
  2. Run Command Prompt as an administrator.
  3. Type attrib -s -h -r /s /d *. ...
  4. Type dir and press the Enter key to see all the files in the drive.
  5. Identify files that are viruses by examining their extensions.
  6. Use the del command to delete suspicious files.
  7. Restart your computer.

How do I delete all anti viruses? ›

How To Uninstall Antivirus
  1. From the Start menu, select the Control Panel.
  2. From the Programs category, select Programs and Features.
  3. Choose the antivirus program you want to remove, and then select Uninstall/Change.
  4. When prompted, restart your computer.
Nov 9, 2022

Top Articles
Liverpool's 3 Graces - A Brief History —
How to Resolve a 403 Forbidden Error
Lighthouse Diner Taylorsville Menu
Ds Cuts Saugus
Www.metaquest/Device Code
Overnight Cleaner Jobs
Devotion Showtimes Near Mjr Universal Grand Cinema 16
Craigslist In Fredericksburg
Displays settings on Mac
Weather In Moon Township 10 Days
414-290-5379
Thayer Rasmussen Cause Of Death
New Mexico Craigslist Cars And Trucks - By Owner
Cpt 90677 Reimbursem*nt 2023
Driving Directions To Bed Bath & Beyond
Jellyfin Ps5
Cta Bus Tracker 77
Hermitcraft Texture Pack
Tinker Repo
Clare Briggs Guzman
Exl8000 Generator Battery
Best Sports Bars In Schaumburg Il
Directions To Nearest T Mobile Store
4 Times Rihanna Showed Solidarity for Social Movements Around the World
Divide Fusion Stretch Hoodie Daunenjacke für Herren | oliv
Gen 50 Kjv
Neteller Kasiinod
Noaa Marine Forecast Florida By Zone
Account Now Login In
Life Insurance Policies | New York Life
Rund um die SIM-Karte | ALDI TALK
Strange World Showtimes Near Atlas Cinemas Great Lakes Stadium 16
Darrell Waltrip Off Road Center
Clark County Ky Busted Newspaper
2024 Ford Bronco Sport for sale - McDonough, GA - craigslist
Domina Scarlett Ct
2700 Yen To Usd
Verizon Outage Cuyahoga Falls Ohio
Directions To The Closest Auto Parts Store
Who Is Responsible for Writing Obituaries After Death? | Pottstown Funeral Home & Crematory
Courses In Touch
Wilson Tire And Auto Service Gambrills Photos
Mybiglots Net Associates
Craigslist Woodward
Pixel Gun 3D Unblocked Games
Oakley Rae (Social Media Star) – Bio, Net Worth, Career, Age, Height, And More
Mountainstar Mychart Login
Every Type of Sentinel in the Marvel Universe
Quest Diagnostics Mt Morris Appointment
Sleep Outfitters Springhurst
Cool Math Games Bucketball
Southern Blotting: Principle, Steps, Applications | Microbe Online
Latest Posts
Article information

Author: Clemencia Bogisich Ret

Last Updated:

Views: 5932

Rating: 5 / 5 (60 voted)

Reviews: 91% of readers found this page helpful

Author information

Name: Clemencia Bogisich Ret

Birthday: 2001-07-17

Address: Suite 794 53887 Geri Spring, West Cristentown, KY 54855

Phone: +5934435460663

Job: Central Hospitality Director

Hobby: Yoga, Electronics, Rafting, Lockpicking, Inline skating, Puzzles, scrapbook

Introduction: My name is Clemencia Bogisich Ret, I am a super, outstanding, graceful, friendly, vast, comfortable, agreeable person who loves writing and wants to share my knowledge and understanding with you.