Software & Apps
Antivirus Is Blocking a Program You Trust: How to Fix It Safely
Written by Free Tech Support Editorial Team · Updated
You try to install or open a program and nothing happens, or the file vanishes from your Downloads folder, or a notification says a threat was removed. If you are confident the software is legitimate, your antivirus is blocking a program by mistake: a false positive. The right fix is a narrow, specific exception, not turning your protection off. This guide shows how to do that safely with Windows Security, the antivirus built into Windows 11, and with third-party products.
This is an independent guide, not affiliated with Microsoft or any antivirus company.
First: be sure it is safe
False positives happen, but real malware often pretends to be a useful tool, a game crack, a “free” version of paid software or a driver updater. Only continue if all of these are true:
- You chose to install this program; nobody on the phone or in a pop-up told you to.
- You downloaded it from the developer’s official website or a trusted store, not from a file-sharing site or an ad.
- The file name and size match what the developer lists.
If you are unsure, upload the file to a reputable multi-engine online scanner. One obscure engine flagging it may be a false positive; several major engines flagging it means it is probably malicious. When in doubt, delete it. Learn more in threats found in Windows Security: what it means.
Step 1: See what was blocked
- Open Windows Security from the Start menu (or Settings > Privacy & security > Windows Security).
- Select Virus & threat protection.
- Select Protection history.
Each entry shows the date, the file and what Windows did, such as Quarantined or Blocked. Select an entry for details, including the full path of the file.
Step 2: Allow or restore the item
In the entry, select Actions and choose:
- Allow on device to stop Windows Security acting on that detection, or
- Restore to put a quarantined file back in its original place.
Windows may ask for administrator permission. If you use a third-party antivirus, look for Quarantine, Virus vault or History, select the item and choose Restore and Add to exceptions.
Step 3: Add a narrow exclusion
To stop the program being blocked again:
- In Virus & threat protection, under Virus & threat protection settings, select Manage settings.
- Scroll to Exclusions and select Add or remove exclusions.
- Select Add an exclusion and choose:
- File for a single program file (best), or
- Folder for the program’s own install folder, for example in Program Files.
Keep exclusions as narrow as possible. Never exclude a whole drive, your user folder, Downloads or the Windows folder, because anything in an excluded location is no longer scanned. Remove exclusions you no longer need.
Step 4: “Windows protected your PC” (SmartScreen)
This blue warning comes from Microsoft Defender SmartScreen when a program is new or rarely downloaded. It is a caution, not a detection. If you trust the source, select More info, then Run anyway. If you did not expect the file, select Don’t run and delete it.
Step 5: Controlled folder access
If a trusted program cannot save files into Documents or Pictures and Windows says an “unauthorized change” was blocked, Controlled folder access (ransomware protection) is responsible.
- In Virus & threat protection, under Ransomware protection, select Manage ransomware protection.
- Select Allow an app through Controlled folder access, then Add an allowed app, and choose the program from Recently blocked apps.
Step 6: Report the false positive
Reporting helps the antivirus maker correct the detection for everyone.
- For Windows Security, submit the file through Microsoft’s Security Intelligence file submission page and choose that you believe it is incorrectly detected.
- For third-party antivirus, look for “report a false positive” on the vendor’s support site.
- Let the software developer know too; they can work with antivirus companies and may already have a fixed version.
Third-party antivirus products
If you use a paid or free security product instead of Windows Security, it takes over virus scanning and its own settings apply. The steps are similar in every product:
- Open the antivirus from its icon near the clock.
- Find Quarantine, Virus chest or History and restore the item if you are certain it is safe.
- Look for Exceptions, Exclusions or Allowed apps in its settings and add the specific file or folder.
- If the product also has a firewall, check whether the program’s internet access was blocked, and allow it there.
The vendor’s support site has exact steps for your version. Do not follow “antivirus support” phone numbers from search ads; contact the vendor through the app or its official website only.
Software you build or download from developers
Small open-source tools, game mods and programs without a digital signature trigger warnings more often, because few people have downloaded them. Check that you have the project’s official release page, compare any published checksum with your download, and prefer the latest release, which developers usually submit to antivirus companies for review.
Do not switch protection off
Turning off real-time protection “just to install something” leaves the PC exposed while it is off, and the program you install could disable protection permanently if it is not what it claims. Use the targeted steps above instead. If Windows Security will not turn back on, see Microsoft Defender won’t turn on.
If the program still will not run
Antivirus may not be the cause at all. See a program won’t open after installing, run an old program in compatibility mode or how to install software. If downloads are blocked in the browser, see downloads not working or blocked. Browse more in the software section.
Frequently asked questions
Why is my antivirus blocking a program I trust?
Security software judges programs by signatures and behaviour. New, rarely used, unsigned or older programs, game mods and tools that change system settings are more likely to trigger a false positive even when they are safe.
How do I allow a blocked program in Windows Security?
Open Windows Security > Virus & threat protection > Protection history, select the blocked item, and choose Actions > Allow on device or Restore. Then add an exclusion so it is not blocked again.
Is it safe to turn off antivirus to install a program?
It is better not to. Turning protection off leaves the whole PC exposed while it is off. A specific exclusion for the program you trust is safer, and only if you are sure it is genuine.
What does Windows protected your PC mean?
That is Microsoft Defender SmartScreen warning that a program is unrecognised, not necessarily harmful. If you downloaded it from the official developer's site and trust it, choose More info > Run anyway; otherwise do not run it.
How can I check whether a blocked file is really safe?
Check that it came from the developer's official website, scan it with a multi-engine online scanner, and look for reports from other users on the developer's forum. If several scanners flag it, treat it as malware.
Sources
Free Tech Support Editorial Team
Editorial team
The Free Tech Support editors write and update these guides from the official documentation of Microsoft, Apple, Google and device makers. We are an independent site with no phone line and no paid support service.