Threat Eraser
Windows 10 & 11 Buy license · $59.95
Removing threats

Antivirus flagged a safe file? How to handle a false positive safely

Think your antivirus flagged a safe file? Check its source and signature, rescan it, restore it safely, add a narrow exclusion and report it.

Updated 4 minute read The Threat Eraser team

If you think your antivirus has flagged a safe file (a false positive), do not restore or allow it straight away. First check where the file came from, scan it with an up-to-date malware scanner such as Threat Eraser, and confirm it is the genuine, signed version from the developer. Only then restore it from quarantine and add a narrow exclusion, and report the false positive to the antivirus vendor so it can be fixed for everyone.

False positives are a normal part of how scanners work. Detection rules look for patterns that malware uses, and occasionally a legitimate program shares those patterns. The risk is that real malware is often disguised to look legitimate, so the goal is to be sure before you overrule the warning.

Signs a detection might be a false positive

  • The file belongs to software you deliberately installed from the developer's official website or the Microsoft Store.
  • The detection appeared straight after a definition update, on a program you have used for months.
  • The threat name is generic or describes a type of behaviour rather than a specific family, such as a "potentially unwanted" or heuristic label.
  • The file is a small in-house tool, a script you wrote, or a niche program used by few people.

Signs it is probably real

  • You did not knowingly download it, or it arrived as an email attachment.
  • It came from a "cracked" software, keygen or free-movie site. See is cracked software safe.
  • The name has a double extension such as invoice.pdf.exe, or it lives in a Temp or AppData folder with a random name.
  • A fresh scan with up-to-date definitions flags it again with a specific malware family name.

Step-by-step: what to do about a suspected false positive

1. Leave it in quarantine for now

A quarantined file cannot run, so there is no rush. If you need the program urgently, consider whether you can wait a day while you check. Our guide to what quarantine means explains why this is safe.

2. Check where it came from

Think back: when did you install it and from where? If you still have the installer, right-click it, choose Properties and open the Digital Signatures tab. A genuine commercial program is usually signed by its developer. A missing or unexpected signature is not proof of malware, but it is a reason for caution.

3. Scan it again with up-to-date definitions

Update your definitions, then scan the file, or the folder it lives in, with Threat Eraser's Custom Scan. A generic or low-severity label on a signed program points towards a false positive; a Critical or High match to a named trojan or ransomware family means treat it as real. You can read more in our guide to choosing a malware scanner.

4. Re-download from the official source

Instead of restoring the quarantined copy, it is often safer to delete it and download a fresh copy from the developer's own website. If the fresh copy is not flagged after a definition update, the original may have been a false positive, or the old copy may genuinely have been tampered with. Either way, the fresh copy is the one to trust.

5. Report it to the vendor

Antivirus companies fix false positives when users report them. For Microsoft Defender, Microsoft accepts file submissions through its Security Intelligence website, where you can mark the file as a suspected incorrect detection. Most other vendors have a similar form. If the software is from a small developer, tell them too; they can submit it on your behalf.

How to restore and allow a file in Windows Security

Only do this once you are confident the file is safe.

  1. Open Settings > Privacy & security > Windows Security > Virus & threat protection.
  2. Click Protection history, select the detection and choose Actions > Restore (or Allow on device).
  3. To stop it being flagged again, go to Virus & threat protection settings > Manage settings, scroll to Exclusions and click Add or remove exclusions.
  4. Click Add an exclusion and choose File, Folder, File type or Process.

Keep exclusions as narrow as possible

An exclusion tells your scanner not to look somewhere, and malware loves blind spots. Follow these rules:

Exclusion typeRiskAdvice
A single fileLowBest choice for a confirmed false positive
A program's own folderMediumAcceptable for trusted software that changes often
A file type (e.g. all .exe files)HighAvoid: it hides a huge amount of potential malware
Downloads, Desktop or a whole driveVery highNever exclude these
Tip: Review your exclusions every few months and remove any you no longer need. An old exclusion for software you uninstalled is just an unnecessary gap.

How Threat Eraser handles false positives

Threat Eraser checks files against virus signatures, malware detection rules and recent malware hashes, updated every time it starts, which makes it a practical way to check a file when you are unsure about a detection. Use File > Custom Scan to check a single file or folder, or drag and drop it onto the window. Each result shows a threat category and a severity, so you can see whether it is, for example, a Critical trojan match or a Low-severity potentially unwanted program.

If Threat Eraser itself flags something you have verified as safe, Tools > Exclusions lets you mark a detection as safe or skip specific files, folders or file types. Flagged files are quarantined rather than deleted, so a mistaken detection can be restored to its original place in one step. Files are scanned on your PC and never uploaded.

See how Threat Eraser removes malware.

Frequently asked questions

How common are antivirus false positives?

They are uncommon but normal, and tend to affect niche tools, in-house scripts and newly released software. They are often fixed in a later definition update.

Is it safe to add an antivirus exclusion?

A narrow exclusion for a single verified file is low risk. Avoid excluding whole drives, file types or folders such as Downloads.

How do I report a false positive to Microsoft?

Microsoft accepts file submissions through its Security Intelligence website, where you can report a suspected incorrect detection by Microsoft Defender.

Get three guides like this every month, plus software update notices.Subscribe →