• Skip to main content
  • Skip to primary sidebar
  • Skip to footer

Data Recovery Pit

The Data Recovery Expert

  • Best
  • Guides
  • Reviews
Home / Guides

December 8, 2024 Milan

How to Recover Files Deleted by Antivirus

Recover Files Deleted by Antivirus

Taking security seriously is imperative for users of computers and smart devices, and antivirus plays a huge part. Some rely on antivirus solutions built into operating systems, while others install third-party software from reputable vendors. In both cases, the antivirus can detect files, try to match them in its database, then release, indispose, or delete them permanently. However, sometimes a suspected file gets flagged incorrectly, leading to data loss. That’s where learning how to recover files deleted by antivirus swoops in to save the day, which we’re happy to help with.

Table of Contents

  • 1. Check operating system antivirus quarantine
  • 2. Restore deleted files from third-party antivirus quarantine
  • 3. Utilize File History or Command Prompt (Windows only)
  • 4. Recover files deleted by an antivirus from a backup
  • 5. Recover antivirus deleted files via data recovery software

1. Check operating system antivirus quarantine

Oftentimes, files you think are deleted are only placed in quarantine until you decide to erase them yourself. First, we’ll show you how retrieving files from operating system quarantine works:

1. Windows

We already demonstrated how to recover quarantined files in Windows 10 and provided ways to retrieve files from Windows Defender quarantine. The latter guide is oriented toward users of Windows 7, Windows 8, and Windows 8.1. Skip the last method in the first guide. We’ll cover it shortly.

2. Mac

While Mac is known for never getting viruses, it doesn’t mean there are no attempts. One of Mac’s security measure named XProtect runs in the background, inspect apps on your computer against the database of viruses, and either warn you or deletes them automatically. For restoration of these files, look at methods 2, 4, and 5. On the other hand, the macOS Gatekeeper prevents apps that aren’t from the App Store from running and thus concealing them. To revert that process, follow these instructions:

  1. Click on the Apple menu in the top left corner.
  2. Go to System Preferences, then select Security & Privacy.
  3. Click on General, then click on the locked padlock icon.
  4. After the Preference pane unlocks, select App Store and identified developers.
  5. Open the folder your file was in – it should be back.

2. Restore deleted files from third-party antivirus quarantine

Third-party antivirus software often works more effectively and has a more frequently updated virus database. If you suspect this antivirus is the culprit, check our guides on Avast quarantined file recovery, retrieving files from McAfee quarantine, and restoring quarantined files in Quick Heal. If yours isn’t on the list, use these articles as guidelines or check the official website of your antivirus software vendor.

3. Utilize File History or Command Prompt (Windows only)

Here are 2 Windows-only methods that can restore deleted files from a folder, no matter how big:

  1. Check the Restore folders from File History headline in our “recover a deleted folder in Windows 10” guide.
  2. Follow the steps under the headline titled Recovering hidden files using Command Prompt in our pendrive data recovery guide.

4. Recover files deleted by an antivirus from a backup

We always recommend backing up your files regularly. If you have done so as a precaution, you can now get them back in these 2 ways:

  • Windows. Refer to the “Windows 10 deleted folder recovery” guide above. Follow the steps under the How to restore folders from a Windows 10 backup headline.
  • Mac. Refer to method 1 in our .bak file recovery guide. Specifically, the headline Is there a Mac alternative?

5. Recover antivirus deleted files via data recovery software

If all of your attempts failed, and you don’t have a backup to rely on, put trust (and hope) in software for data recovery. Whether you’re on Mac or Windows, use the instructions listed under the headline How to recover deleted files from a Pendrive in the eponymous guide we demonstrated in method 3 above. Make sure to replace the drive letter for the flash drive with the drive letter of the partition your erased files were on.

File Recovery

Next Article
How to Recover .mov Files
How to Restore Old Facebook Login/Design

Primary Sidebar

Author

Milan

Milan is a data recovery expert who loves writing guides to help others recover their lost data and accounts. Being in the data recovery industry for more than 5 years, he has already written 400+ data recovery related articles for various websites and publications.


LinkedIn
Related Posts

Footer

data-recovery-pit-logo
Info
  • About
  • Privacy Policy
  • Terms and Conditions
  • Contact Us
Site
  • Sitemap
  • Services
  • Advertise
  • Disclaimer
  • Facebook
  • Twitter
  • Pinterest

Copyright © 2025 · Data Recovery Pit

This site uses cookies to serve you better. By continuing to use this website, you agree to our cookie and Privacy Policy.