Fix antivirus that blocks a program
We'll add an exclusion, restore from quarantine, and allow the app—or tell you when to contact IT.
What you'll need
- Admin access (for Defender or third-party settings)
- The app path (folder or .exe)
Step-by-step diagnostic
Quick triage — pick your path
Get started
Choose the option that matches what you see. You can jump straight to that section.
Show full guide
Steps
Goal: Add an exclusion, restore from quarantine, or allow the app so it runs.
- Check if the app was quarantined. If yes, restore it first.
- Good: Restored. Proceed to Add exclusion.
- Bad: Not quarantined. Proceed to Add exclusion.
Add exclusion
Goal: Exclude the app from antivirus scanning.
- Windows Defender: Virus & threat protection, Exclusions, add the app .exe or folder. Third-party: find Exclusions or Allow list in settings.
- Good: Exclusion added. Proceed to Verification.
- Bad: Settings grayed out. Proceed to When to get help.
Restore
Goal: Restore the app from quarantine.
- Defender: Protection history, find item, Actions, Restore. Third-party: open quarantine, restore.
- Good: Restored. Add exclusion. Proceed to Verification.
When to get help
If Exclusions or settings are grayed out, the antivirus may be managed by IT. Contact your IT admin with the app name and path.
Verification
- The app runs without being blocked.
- The app is in the exclusion or allow list.
- Real-time protection is back on (if you turned it off to test).
Escalation ladder
Work from the device outward. Stop when the problem is fixed.
- Add exclusion Add app or folder to exclusion list.
- Restore Restore from Protection history or quarantine.
- Test with protection off Temporarily disable to confirm, then add exclusion and re-enable.
- Contact IT Managed antivirus or grayed out settings.
What to capture if you need help
Before calling support or posting for help, have these ready. It speeds everything up.
- App name and path
- Whether app was quarantined
- Antivirus type (Defender or third-party)
- Steps already tried
Was the app quarantined?
Protection history (Defender) or quarantine list (third-party) shows quarantined items.
You can change your answer later.
Restore from quarantine
Can you add exclusions?
If settings are grayed out, the antivirus may be managed by IT.
You can change your answer later.
Exclusion added
Contact IT
Reviewed by Blackbox Atlas
Frequently asked questions
- Why would antivirus block a program I trust?
- False positives happen—the antivirus may flag a legitimate app. Restore from quarantine and add an exclusion so it does not block again.
- How do I add an exclusion in Windows Defender?
- Windows Security, Virus & threat protection, Manage settings, Exclusions, Add an exclusion. Choose File or Folder and browse to the app .exe or its folder.
- What if I cannot add exclusions?
- If Exclusions or settings are grayed out, the antivirus may be managed by Group Policy or IT. Contact your IT admin to add the exclusion.
Rate this guide
Was this helpful?
Thanks for your feedback.