To prevent a program from asking for firewall permission, give Windows a permanent decision for that app: add it to the allowed apps list in Windows Security → Firewall & network protection → Allow an app through firewall, or create a matching inbound rule. Once a rule exists, the "Windows Defender Firewall has blocked some features of this app" prompt stops. Turning off firewall notifications also hides it, but then the app is silently blocked.
This guide explains why the prompt keeps returning, how to answer it properly the first time, and how to stop it permanently without weakening your PC's security.
Why Does a Program Keep Asking for Firewall Permission?
A program asks for firewall permission when it tries to accept incoming network connections and Windows Defender Firewall has no rule for it yet. Games hosting multiplayer sessions, file-sharing tools, media servers, development tools and remote-support apps all do this.
The cause and effect is simple once you know how rules work. When you answer the prompt, Windows creates rules for that program's exact file path. If the prompt keeps coming back, something about that link is broken:
- The app updated to a new folder. Some programs install each version into a folder with the version number in its name. The new path has no rule, so Windows asks again.
- You closed the prompt without choosing. Depending on the version of Windows, dismissing it may leave the app blocked and prompting again later.
- You're on a different network type. A rule allowed only on Private networks doesn't cover Public ones, such as hotel or café Wi-Fi.
- A standard user answered. Allowing an app needs administrator approval; without it, nothing is saved.
- Security software reset the rules. Some third-party security suites replace or manage the Windows firewall and show their own prompts instead.
Allow, Block or Turn Off Notifications: Which Option Is Right?
The right option depends on whether you trust the program and need its network features. The table compares the three ways to stop the prompts.
| Method | What happens to the app | Security impact | Best for |
|---|---|---|---|
| Add to allowed apps list | Can receive connections on the networks you tick | Low, if you allow Private only | Trusted apps you use regularly |
| Create a block rule | Inbound connections blocked, no more prompts | None (stricter) | Apps that work fine without incoming connections |
| Turn off "blocks a new app" notifications | All new apps blocked silently | None, but harder to troubleshoot | PCs where you never want to be asked |
| Turn the firewall off | Everything allowed | High, not recommended | Not recommended |
Microsoft notes that allowing an app is less risky than opening a port, because an allowed app only opens the ports it needs while it is running. A port you open by hand stays open until you close it.
How to Answer the Firewall Prompt Correctly
The quickest permanent fix is to answer the prompt properly the first time, so Windows saves a rule and never asks again for that version of the app.
- When the Windows Security Alert appears, read the program name and path. If you don't recognise it, don't allow it.
- Tick Private networks for home or office networks you trust.
- Leave Public networks unticked unless the app genuinely needs to accept connections on public Wi-Fi.
- Select Allow access and approve the administrator prompt if asked.
Private and Public are network profiles. Windows applies stricter rules to networks marked Public, which is why an app allowed only on Private will prompt again on a café network. That's usually what you want.
How to Permanently Prevent a Program from Asking for Firewall Permission
To permanently prevent a program from asking for firewall permission, add it to the allowed apps list yourself. This is also the fix when the prompt appeared, was dismissed, and the app now just fails to connect.
- Open Windows Security from the Start menu.
- Select Firewall & network protection → Allow an app through firewall.
- Select Change settings and confirm as an administrator.
- Find the program in the list. If it's there, tick Private (and Public only if needed).
- If it isn't listed, select Allow another app → Browse, choose the program's .exe file, select Network types to pick Private or Public, then Add.
- Select OK to save.
Microsoft's page on the risks of allowing apps through Windows Firewall describes the same steps and advises removing apps from the list when you no longer use them.
Block an app so it stops asking
If an app works fine without incoming connections, a block rule stops the prompt while keeping it locked down:
- In Firewall & network protection, select Advanced settings.
- Select Inbound Rules → New Rule….
- Choose Program, browse to the app's .exe file, and select Next.
- Choose Block the connection, tick the profiles it should apply to, then give the rule a clear name and select Finish.
How to Turn Off Firewall Notifications for New Apps
You can stop all "blocked some features" prompts by turning off the firewall's new-app notifications, but every unknown app will then be blocked silently. Use this on PCs where you set up the rules yourself and don't want users interrupted.
- Open Control Panel → System and Security → Windows Defender Firewall.
- Select Change notification settings in the left pane.
- For each network profile, untick Notify me when Windows Defender Firewall blocks a new app.
- Select OK.
The trade-off is troubleshooting: when an app later fails to connect, there's no prompt to remind you the firewall is involved. Check the allowed apps list first whenever a network feature stops working.
Is It Safe to Allow a Program Through the Firewall?
It's safe to allow a program you installed yourself, from a source you trust, on networks you trust. The firewall exists to stop unexpected programs from listening for connections, so treat an unexpected prompt as a warning sign.
- Check the file path shown in the prompt. Apps in Program Files are normal; an unknown .exe in a temporary or Downloads folder deserves a scan first.
- Prefer allowing an app over opening ports manually.
- Keep Microsoft Defender Antivirus or another reputable antivirus running; our antivirus guide for Windows 11 compares the options.
- Don't confuse firewall prompts with Defender scanning; adding an antivirus exclusion is a different setting, covered in our guide to Windows Defender exclusions.
Windows Security has other layers worth knowing about too, such as Controlled Folder Access, which protects documents from ransomware and shows its own notices when it blocks an app from changing protected folders.
A Common Mistake We See
The mistake we see most is turning off Windows Defender Firewall entirely because one game or app kept prompting. That removes protection from every app on every network, including public Wi-Fi, to solve a problem that one rule would have fixed.
If prompts keep returning even after you allowed the app, open the allowed apps list and look for duplicate entries pointing to old version folders. Remove the stale entries and allow the current .exe. As a last resort, Restore firewalls to default in Firewall & network protection clears every custom rule, so you'll need to allow your trusted apps again afterwards.
Frequently Asked Questions
How do I permanently prevent a program from asking for firewall permission?
Add the program to the allowed apps list in Windows Security under Firewall & network protection, ticking Private networks. Windows saves a rule for that file path, so the prompt stops. If the app installs updates into new version folders, update the entry after each major update.
Why does Windows Firewall keep asking for permission for the same app?
Usually the app's file path changed after an update, the prompt was dismissed without a choice, a standard user answered it, or you joined a Public network not covered by the rule. Allowing the current .exe on the right network type stops the repeat prompts.
Should I tick Private or Public networks?
Tick Private for trusted home or office networks, which covers most needs. Only tick Public if the app genuinely must accept connections on hotel, airport or café Wi-Fi. Leaving Public unticked keeps your PC harder to reach on untrusted networks.
What happens if I click Cancel on the firewall prompt?
The firewall keeps blocking incoming connections for that program. Outgoing connections, such as browsing or downloading, normally still work. Features that need incoming connections, like hosting a game or sharing files, won't work until you allow the app in the allowed apps list.
Does turning off firewall notifications make my PC less secure?
No. It only stops the prompts; new apps are still blocked. It does make troubleshooting harder because you won't see when the firewall blocks something. It is very different from turning the firewall off, which is not recommended.
Do these steps work on Windows 10 and Windows 11 Home?
Yes. The Windows Security app, allowed apps list, Advanced settings and notification settings are available in Windows 10 and Windows 11, in both Home and Pro editions. Pro adds central management through Group Policy for businesses.
Conclusion
The cleanest way to prevent a program from asking for firewall permission is to create a lasting rule: allow trusted apps on Private networks, block the ones that don't need incoming access, and only silence notifications if you understand the trade-off. Leave the firewall itself switched on. If you're setting up a new or upgraded PC, our Windows 11 collection has genuine keys with instant email delivery.
Useful Links
| Resource | Link |
|---|---|
| Antivirus options | Best Antivirus for Windows 11 |
| Defender exclusions | Add Exclusions to Windows Defender Safely |
| Ransomware protection | Controlled Folder Access |
| Windows 11 licences | Windows 11 collection |
| Allowing apps through the firewall (Microsoft) | Risks of allowing apps through Windows Firewall |
| Firewall and network protection (Microsoft) | Firewall and network protection in Windows Security |
Laat een reactie achter