TechBuzzPro

How to Allow a Blocked File or App in Microsoft Defender

· 5 min read · Apps & Browsers

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

To allow a blocked file or app in Microsoft Defender, open Windows Security, go to Virus & threat protection, then Protection history, find the blocked item, and choose Allow on device. You may need to confirm with an administrator account. This lets you run a program or open a file that Defender flagged, but only do it if you trust the source completely.

What You'll Need

  • A Windows 10 or Windows 11 PC with Microsoft Defender Antivirus active (it's built in and on by default).
  • Administrator rights on the PC, because allowing a blocked item changes security settings.
  • The exact name or location of the file or app that was blocked, so you can find it in Protection history.

Step-by-Step

  1. Open Windows Security. Click the Start button, type Windows Security, and press Enter. You can also click the shield icon in the notification area of the taskbar. Menu labels can differ slightly by Windows version and region.
  2. Go to Virus & threat protection. In the left-hand menu, select Virus & threat protection.
  3. Open Protection history. Under the Current threats section, click Protection history. This lists recent detections, quarantined files, and blocked apps.
  4. Find the blocked item. Look through the list for the file or app you want to allow. Each entry shows a threat name and the date. Click the entry to expand it.
  5. Choose Allow on device. If the item was blocked, you'll see an Actions button or a dropdown. Select Allow on device. If you only see Remove or Quarantine, the item may already be quarantined; in that case, choose Restore first, then allow it.
  6. Confirm with administrator rights. Windows will ask for permission (User Account Control). Click Yes and enter an administrator password if prompted.
  7. Verify the file runs. Try opening the file or launching the app again. If it still doesn't run, check that you allowed the correct item and that no other security tool is blocking it.

If you cannot find the item in Protection history, you can add an exclusion instead. Go to Virus & threat protection > Manage settings (under Virus & threat protection settings) > Add or remove exclusions > Add an exclusion, then choose File or Folder and select the item. Exclusions tell Defender to skip scanning that file or folder entirely, so use them sparingly and only for files you trust.

Common Mistakes

  • Allowing a file you don't trust. Defender blocks items because they may be malicious. Only allow files from official sources or that you created yourself.
  • Confusing Allow with Exclude. Allow on device lets a specific blocked item run once it's been reviewed. An exclusion skips scanning for a file or folder permanently. Exclusions are broader and riskier.
  • Not having administrator rights. The Allow option is greyed out or missing if you're signed in as a standard user. You need an admin account to change these settings.
  • Looking in the wrong place. Protection history only shows recent items. If the block happened a while ago, it may have been cleared automatically.
  • Ignoring other security software. If you have a third-party antivirus, it may be the one blocking the file, not Defender. Check its quarantine or allowed list too.

Tips

  • Before allowing anything, scan the file with an online scanner or check its digital signature (right-click the file > Properties > Digital Signatures). A valid signature from a known publisher is a good sign.
  • Use exclusions only for folders you control, such as a development folder for code you're compiling. Never exclude your entire Downloads folder.
  • Keep Defender's definitions up to date so it doesn't flag legitimate files due to outdated signatures.
  • If you allow a file and later suspect it, you can remove the allowance by going back to Protection history and choosing Remove, or by deleting the exclusion.
  • For apps from the Microsoft Store, use the Store's own repair or reset options rather than allowing the executable manually.

Troubleshooting

If the Allow option is missing or greyed out, make sure you're signed in with an administrator account. If you are, the item may already be quarantined; try restoring it first. If Protection history is empty, the block may have been temporary or handled by another tool. Check Windows Update and restart your PC, then try again. If Defender itself seems unresponsive, open Windows Security and run a quick scan to refresh its state. In corporate environments, your IT department may manage Defender settings through group policy, which can prevent you from allowing items; contact them. If you added an exclusion but the file still won't run, confirm the exclusion path is exactly correct (a folder exclusion covers files inside it, but a file exclusion must point to the file itself). Also check that the app isn't blocked by SmartScreen or Windows Firewall, which are separate from Defender's antivirus.

Frequently Asked Questions

Does allowing a file in Defender remove it from quarantine?

Yes, when you choose Allow on device, Defender restores the file from quarantine and adds it to the allowed list so it won't be blocked again unless it changes.

Can I allow a file without administrator rights?

No. Changing Defender's protection settings requires an administrator account. Standard users will see the option greyed out.

What's the difference between Allow on device and an exclusion?

Allow on device permits a specific blocked item after review. An exclusion tells Defender to skip scanning a file, folder, or process entirely, which is broader and should be used carefully.

Will allowing a file affect other users on the same PC?

Yes, the allowance applies to the whole device, not just your user account.

How do I undo an allowance?

Go back to Protection history, find the item, and choose Remove. For exclusions, go to Manage settings > Add or remove exclusions and delete the entry.

Why does Defender keep blocking a file I allowed?

The file may be changing (for example, a self-updating app), which triggers a new detection. You may need to add an exclusion for its folder, but only if you fully trust the software.