11800475119
academy
Security
Privacy
Performance
English

How to Remove Ransomware from Windows 10, 8 or 7

The best way to keep your files safe from ransomware is to block hostage-taking malware from accessing your computer. But if your PC is already infected, we’ll show you how Avast One can easily help you handle ransomware removal. Then, learn how you can stay safe against future ransomware attacks

Get it for Mac, PC, Android

Get it for PC, Mac, iOS

Get it for Android, iOS, Mac

PC-editors-choice-icon
2023
Editors' choice
AV-Test-Top-product-icon
2022
Top Rated
Product
' }); $('[data-toggle="tooltip"]').on('click', function () { function tooltipClickHandler() { $(this).tooltip('show'); var tooltipElement = $(this).data('bs.tooltip').getTipElement(); var tooltipOffset = $(tooltipElement).offset(); var tooltipWidth = $(tooltipElement).outerWidth(); var windowWidth = $(window).width(); var distanceToRightEdge = windowWidth - (tooltipOffset.left + tooltipWidth); if (distanceToRightEdge < 100) { $(tooltipElement).addClass('right'); } else { $(tooltipElement).removeClass('right'); } } tooltipClickHandler.call(this); }); }); // document.addEventListener('DOMContentLoaded', function () { // var slider = tns({ // container: '.js-tiny-slider-awards', // slideBy: 1, // autoplay: false, // controls: true, // Show prev/next buttons // nav: false, // Show navigation dots // touch: true, // mouseDrag: true, // items: 2, // edgePadding: 7, // loop: false, // controlsContainer: '.tns-controls-awards', // controlsText: [ // document.querySelector('.prev').innerHTML, // document.querySelector('.next').innerHTML // ], // responsive: { // 320: { // items: 2, // }, // 576: { // items: 3, // }, // 996: { // disable: true, // } // } // }); // // function updatePrevNextControls(info) { // var prevButton = document.querySelector('.tns-controls-awards .prev'); // var nextButton = document.querySelector('.tns-controls-awards .next'); // var itemCount = slider.getInfo().slideCount; // var itemsOnScreen = slider.getInfo().items; // // prevButton.classList.toggle('disabled', info.index === 0); // nextButton.classList.toggle('disabled', info.index >= itemCount - itemsOnScreen); // } // // slider.events.on('indexChanged', updatePrevNextControls); // updatePrevNextControls(slider.getInfo()); // });
How_to_remove_ransomware_from_PC-Hero
Written by Patrick Seguin
Published on September 25, 2019
This Article Contains
This Article Contains

    Can ransomware be removed?

    If you want to know how to remove ransomware from your Windows PC, we’ve got good news and bad news. The good news: It’s not simple, but it’s possible. The bad news: It’s not always possible. Ransomware programs and attacks are continuously growing more sophisticated. As a result, victims are having more difficulty cleaning their computers and recovering their files.

    Depending on the type of attack, ransomware removal varies from simple to impossible. For instance, scareware attacks install malicious software programs you can uninstall in minutes. But the most common variants, known as filecoders or encryption ransomware, are far scarier: They encrypt your valuable files. Even if you manage to remove the malware itself, you still need to decrypt your data to access it. In this case, rather than deleting or corrupting your files or stealing your identity, the attacker’s encryption holds your files hostage until you pay for a decryption key.

    WannaCry ransom note. After you get rid of the ransomware malware, you still need to deal with the encryption.

    Every filecoder has its own method of encryption, which means you can’t simply remove it like other forms of malware. To avoid being studied and decrypted, most ransomware programs delete themselves after a set period of time.

    When they don’t, use a reliable free antivirus tool to remove them. Getting rid of the malware is clearly a good thing for you and your Windows PC. And although your files may still be encrypted, at least you’re stopping the ransomware virus from spreading to other computers and devices through public and private networks.

    If you know which type of ransomware your PC has, you might be able to find a legitimate ransomware decryption tool to recover your files. However, proceed with caution during your search – many ransomware variants use enterprise-grade encryption that is impossible to crack. Also, there is a criminal element that preys on people in this situation, tricking their victims into downloading more malware with promises of fast and effective decryption.

    An ounce of prevention is worth a pound of cure

    You can prevent ransomware from affecting you and your PC with minimal effort. Back up your files and your PC’s operating system (OS) on a regular basis. You can use a cloud storage solution like Dropbox or Google Drive for your files, and a flash drive for your OS as well as your files. Whichever solution you choose, don’t ever keep your backups on the same Windows PC because ransomware can infect them along with your originals.

    To reinforce your PC’s defenses against this type of malware, Avast One includes highly effective protection against ransomware.

    STEP 1: Immediately isolate infected devices

    The first thing to do if your Windows PC gets ransomware is find and disconnect all the infected wired and wireless computers and other devices on your network. This will stop the ransomware from spreading and taking more of your computers, tablets, and/or smartphones hostage.

    During this procedure, also disconnect everything connected to the devices on your network, including:

    • Shared or unshared network drives

    • External hard drives

    • Flash drives

    • Cloud storage accounts

    To complete this step, check whether any of these were connected to the infected PC. If you suspect they were, you will need to check their systems for ransom messages as well.

    STEP 2: Identify the type of ransomware attack

    Next, find out which strain of ransomware you’re dealing with. This knowledge could help you find a fix.

    The most problematic types of ransomware are filecoders like WannaCry or CryptoLocker. Other variants, like screenlockers are generally easier to remove. Here’s a brief overview:

    • Filecoders encrypt and lock files on your PC. The cybercriminals behind this type of ransomware demand payment for decryption keys usually by a deadline or your files could become damaged, destroyed, or permanently locked. Around 90% of ransomware strains are filecoders.

      Filecoders like CryptoLocker give victims a deadline to pay for a decryption key to recover their files.

    • Scareware typically bombards your PC with pop-up ads for a fake security tool that demands payment in exchange for fixing bogus PC issues. The easiest type of ransomware to get rid of, it’s the least troublesome of the bunch.

      A typical scareware message offers Windows users a fix for fake issues in exchange for payment.

    • Doxing-related ransomware involves an email or message telling you cybercriminals have your usernames, passwords, emails, and/or instant messages – and will make them public unless you pay a fee. Our free Avast Hack Check lets you know if any of your passwords have actually leaked or been stolen.For stronger protection, use our personal info monitoring tool, Avast BreachGuard.

      One variant of the Jigsaw ransomware virus not only encrypts files in Microsoft systems, it features a doxing threat.

    • Screenlockers do exactly what the name says: They lock your screen, blocking access to your machine. They tend to look like they’re from a government institution like the US Department of Homeland Security or the FBI and say you broke the law and must pay a fine to unlock your PC. Screenlockers are now more common on Android devices than Windows PCs.

      The CRITICAL WARNING! screenlocker looks like an official Windows message, but Microsoft never puts phone numbers in its warnings.

    While the vast majority of ransomware attacks solely target Windows PCs, all four variants listed above can infect Macs, iOS devices, and Android devices.

    Use Crypto Sheriff tool to identify the ransomware type

    To help you determine the type of ransomware on your machine, we recommend using No More Ransom’s Crypto Sheriff. Provided by Europol’s European Cybercrime Center, this handy tool checks files the attacker has encrypted and the ransom note. If Crypto Sheriff recognizes the encryption and has a solution, it gives you the link to download the decryption program you need.

    Depending on the type of ransomware infecting your PC, Crypto Sheriff may have a decryption solution.

    Visit tech forums to learn more about ransomware types

    You can also visit PC troubleshooting and tech support forums to find information about the ransomware variant you want to remove. Even if it’s new, you might find a thread that offers a fix, or a thread where forum members are working towards a solution.

    Some ransomware infections will rename your files and file extensions (for example: .exe, .docx, .dll) after encrypting them. When you visit tech forums for help, search for the names and extensions of your encrypted files; each can help guide you to discussions about the strain of ransomware you wish to get rid of.

    We recommend you look in these forums:

    STEP 3: Remove ransomware malware

    Now it’s time to get rid of the underlying malware that’s holding your PC hostage. You have four ransomware removal options for Windows 10, 8, and 7:

    1. Check if the ransomware has deleted itself (which it often will)

    2. Remove it with Avast One

    3. Have our experts at Avast Premium Tech Support get rid of it

    4. Remove the malicious program manually

    Option A: Check if the ransomware program deleted itself

    It is highly probable that the ransomware on your PC will actually remove itself after encrypting your files. Cybercriminals don’t want their malicious software to leave any clues that could help create decryption tools for that strain. You can use Avast One to scan your machine for ransomware.

    Option B: Remove the malware with Avast One

    Avast One can detect and delete many types of ransomware programs quickly and easily. It will also help keep your Windows PC safe from all types of cyberattacks in the future.

    Option C: Let Avast Premium Tech Support get rid of ransomware for you

    You can contact our experts at Avast Premium Tech Support (APTS) and ask them to delete the ransomware malware. APTS is a paid service offering 24/7 support for all your computer and software issues. The team can help you with ransomware removal – however, they will not be able to recover encrypted files.

    Option D: Remove the ransomware manually (ADVANCED PC USERS ONLY)

    In most cases, you can remove ransomware from your Windows PC using options B and C above. If you want to clean your computer yourself, we advise you to first visit the online forums we mentioned above. We’re unable to provide instructions on how to remove all the programs behind ransomware attacks on your own – there are simply too many of them. You’ll be able to learn much more from forum members’ experiences and guidance.

    STEP 4: Recover your encrypted files

    With the underlying malware gone, you’re now ready to begin the file recovery process. Here are a few methods that can help you regain access to your encrypted files.

    Option A: Restore your system from a backup

    If you’ve been backing up your computer’s operating system, you can restore your system and files easily and handle the scareware, screenlocker or filecoder that infected your PC. Once you remove the program that’s keeping you from opening Windows or running programs, encryption will not spread through your machine and network.

    While screenlockers make up the minority of ransomware cases, you should still give your machine’s System Restore function a shot. Doing so rolls your PC’s system files and programs back to a previous state. While the feature is enabled by default, it’s a good idea to double-check this, especially if you’re using a shared or previously owned computer.

    You can also try to access shadow copies of your files, which will help you restore them. If this doesn’t work, give restoring previous file versions a go. Windows 10 and Windows 8 have a File History feature that makes this easy; Windows 7 requires a little more effort, but the method is still straightforward.

    You can only use shadow copies to recover files when you’re dealing with a basic filecoder. This method won’t really help you in a doxing scenario because the threat is different – you may be able to recover your files, but the hacker has your personal data and is demanding payment in exchange for keeping it private.

    In some cases, the ransomware on your PC may have only hidden your files. You can recover them easily in all versions of Windows.

    In Windows 7, the path is Computer > Press Alt and select Tools > Folder Options and select View tab > Select Show hidden files, folders, and drives > Click OK.You can display hidden files in Windows 7 in minutes.In Windows 10 and 8, simply open File Explorer, select View, and check Hidden items.Windows 10 and 8 make revealing hidden files easy.Finally, you can try using CCleaner’s file recovery software Recuva, which will also help you recover deleted or lost files.

    Recuva can help you get back images lost or deleted through a ransomware attack.

    Option B: Use decryption tools

    If you’ve identified the ransomware as a filecoder that has encrypted your files, and if you know the specific strain of encryption, you can try to find a decryptor that could help you regain access to your files. Our free Avast decryption tools provide information about some known types of ransomware, including filename changes and ransom messages, and a free downloadable decryption program for each strain. (Note: most of these tools are for Windows PCs).

    Unfortunately, most ransomware strains have yet to be decrypted, so in most cases there won’t be a tool capable of unlocking your files. In this unfortunate scenario, your options are limited to restoring files from a backup (if you have one), or waiting until someone releases a free decryption tool for the particular ransomware strain on your PC.

    Option C: Don’t pay the ransom and don’t negotiate

    If you’ve followed all the steps we’ve listed and still can’t unlock your files, we recommend you wait for the release of a decryption tool for the type of ransomware that has infected your computer. In some cases, cybercriminals reveal parts of their code that can help create a solution.

    If you're the victim of a ransomware attack, we recommend not paying the ransom.Paying a ransom can support future attacks or other illegal activities.

    We understand the urgency of the situation, but we strongly recommend not paying the ransom or negotiating with your PC’s hijacker. Payment only supports ransomware attackers, motivating them to continue their activities and develop new strains. In some cases, ransomware payments could also be funding other illegal activities.

    Finally, please be aware that criminals don’t always remove ransomware, unlock your computer, or give you the decryption tool for their strain when you pay them. Most of them want a reputation for keeping their word so their victims are more likely to pay them, but it’s not uncommon for cybercriminals to collect payment and disappear or send decryptors that don’t work. In some cases, you may end up paying a completely different criminal.

    Common Questions

    Here are some of the most frequently asked questions concerning ransomware.

    How did my PC get ransomware?

    In most cases, ransomware victims accidentally infect their computers. Awareness of the traps and tricks that cybercriminals use is vital to keeping your system and files safe. Ransomware can infect your PC when you:

    • Connect it to an infected network

    • Visit unsafe websites with dangerous or deceptive content

    • Open attachments in malicious emails

    • Click on malicious links in emails, social media posts, and instant messages

    • Install pirated content and software

    Untrusted websites and fake emails often use slightly misspelled versions of their trusted and real versions. For example, supportapple.com (rather than support.apple.com) or [email protected] (rather than [email protected]).

    Outlook, Gmail, and other email clients have their own means of helping keep you safe from ransomware, but you should still keep an eye out for suspicious file extensions such as executables (.exe) and Microsoft Office files that support macros.Ransomware attacks often come through emails with executable files that look legitimate, like this fake voice mail attachment.Social media networks such as Facebook, Twitter, and Instagram also do their best to keep their users safe from scams, but it’s still in your best interest to remain vigilant before, say, participating in trending quizzes or clicking for more information about offers that seem too good to be true.

    Instant messaging services like Skype, Whatsapp, and Slack offer great opportunities to meet and chat with new people. However, these services are also infested with scheming ransomware attackers, so be careful when accepting new contact requests, and don’t click on links from strangers.

    Cybercriminals have used Facebook Messenger to spread ransomware viruses to unsuspecting users.

    Finally, it’s worth mentioning that all brands of Windows computers are vulnerable to ransomware. Whether you use a budget HP desktop, a mid-range Lenovo convertible laptop, or a high-performance Dell gaming laptop, every action in the list presented above can result in criminals taking your computer, files, and even your network hostage. To prevent a ransomware attack from happening to you, use antivirus software on your Windows 10 or Windows 11 PC.

    Do I need to pay a ransom to recover my files?

    No, you don’t need to pay it. We understand how fear and anxiety could cloud your judgement. You just want to get your files back as quickly as possible. So you may feel compelled to give in to the demands of your PC’s hijackers.

    But, really, you don’t need to, and you shouldn’t do it.

    Since the first documented ransomware attack in 1989, the AIDS Trojan, cybersecurity experts have been urging victims not to pay the ransom. Their strongest argument is that payment does not necessarily mean the criminals will honor their part of the deal.Cybercriminals have used Facebook Messenger to spread ransomware viruses to unsuspecting users.

    A 2019 report from the CyberEdge Group states that merely 19% of those who pay the ransom receive the decryption tool they need to recover their files. Ransomware payments are also helping fund the development of more sophisticated attacks; in some cases, they’re indirectly funding other illegal activities.

    If you’ve paid a ransom, contact your bank or payment service. While most attackers demand Bitcoin, your bank might be able to stop the transaction if you paid with your credit card. You should also contact your local authorities.

    Is the data recovery process the same for all types of ransomware?

    Ransomware has evolved rapidly and cybercriminals have developed an ever-increasing number of strains over the years. Every variant has its own attack vector and encryption technique. Cybersecurity experts have cracked several encryption methods, allowing for the development of decryption tools that help victims recover their files.

    You can learn more about different ransomware strains in these articles:

    Unfortunately, ransomware creators continue to produce and spread new strains that have yet to be cracked. We’re working hard to keep up with these and will continue to update our Free Ransomware Decryption Tools with as many new decryptors as we can find.

    Set up your defenses against ransomware

    We cannot stress enough how important it is to stop ransomware from accessing your computer in the first place. You can do this quickly and easily.

    To start, back up your Windows PC and all your important files regularly, and not just locally – use the cloud and an external device, like a flash drive or an external hard drive. It’s like going to your doctor for a checkup – it’s one of those things we know we should do, but many of us don’t until we have a problem.

    You can strengthen your computer’s defenses considerably with Avast One which features a powerful ransomware shield.

    When you stay vigilant, secure your PC, and back up regularly, ransomware will just be something you read about from time to time. As frightening as the stories may be, that sure beats dealing with it yourself.

    Latest Security Articles

    The Essential Guide to Ransomware

    What Is Ryuk Ransomware?

    The Destructive Reality of Ransomware Attacks

    How to Remove Ransomware from Android Devices

    How to Remove Ransomware from Your iPhone or iPad

    CryptoLocker-Thumb

    What is CryptoLocker Ransomware and How to Remove it

    Cerber_ransomware-Thumb

    Cerber Ransomware: Everything You Need to Know

    WannaCry-Thumb

    What is WannaCry?

    How_to_prevent_ransomnware-Thumb

    How to Prevent Ransomware

    Locky_ransomware-Thumb

    What is Locky Ransomware?

    Petya-Thumb

    What is Petya Ransomware, and Why is it so Dangerous?

    How_to_Remove_Ransomware_from_a_Mac-Thumb

    How to Remove Ransomware from a Mac

    Protect your Android against ransomware with Avast One

    Free install

    Protect your iPhone against ransomware with Avast One

    Free install
    Ransomware
    Security
    Patrick Seguin
    25-09-2019