Skip to content
PCFixWorkbench

Network · Windows 11

Fix Windows Firewall blocking one program while everything else connects

Written December 1, 2026

One program cannot get online while your browser and everything else work fine. Windows Firewall is holding a rule against that single program — often a prompt you declined once, or a rule left by an older version. Allow that program through on purpose, scoped to the network you trust.

What you need

Read the problem before you touch it

  1. Confirm the block is really this PC's firewall. The pattern that points at the firewall is narrow: this one program fails, everything else connects, and the program works on another PC or worked on this one until recently. If the program fails everywhere, its service is down, not your firewall. Microsoft's overview of the firewall is at Firewall and network protection in the Windows Security app.
  2. Recall the prompt you may have declined. The first time a program asks for network access, Windows shows a firewall prompt. Choosing Cancel, or letting it time out, creates a lasting block for that program. That one click months ago is the most common origin of this exact problem.
  3. Check which network profile you are on. Windows keeps separate allowances for Private networks, like your home, and Public ones, like a cafe. A program allowed at home can still be blocked the moment the same laptop joins a public network — and that difference is protection working, not a fault. Look at the network's profile in Settings > Network & internet before changing rules.

The simple fixes, in order

  1. Allow the program through the firewall list. Open Windows Security > Firewall & network protection and choose Allow an app through firewall. Choose Change settings, find the program in the list, and check the box beside it plus the Private box for your home network. Leave Public unchecked unless you specifically need the program on public networks. Choose OK and test the program.
  2. Add the program if it is not listed. Still on that page, choose Allow another app, then Browse, and select the program's main executable in its install folder. Add it, then set its Private checkbox as above. Programs installed per-user and portable programs are the ones usually missing from the list.
  3. Trigger a fresh prompt when the entry looks right. If the program is listed and checked but still blocked, uncheck it, choose OK, start the program once so it asks again, then re-check it and choose OK. A rule created for an older version of the program can point at a file that no longer exists; removing and re-adding ties the rule to the current file.
  4. Test on the network you actually use. Rules are per profile, so test at home on the home network, not tethered to a phone or on a guest network, which Windows treats as public. A pass at home and a block on the guest network is the system behaving exactly as the checkboxes say.

The advanced route

  1. Look for an explicit block rule in the advanced console. Open Windows Defender Firewall with Advanced Security from the Start menu and check Inbound Rules and Outbound Rules for the program's name with a block action. An explicit block rule wins over an allow rule, which is why checking boxes sometimes changes nothing. Microsoft Learn documents this console in Windows Firewall with Advanced Security. Delete the block rule for that program, or change its action to Allow, then test again.
  2. Check for duplicate entries from an update. Programs that update by installing a new copy beside the old one leave two firewall entries with the same name pointing at different folders. Allow the entry whose path matches the version you actually run — open the program's Properties from its shortcut to confirm the folder — and remove the stale entry.
  3. Restore the firewall defaults only as a last resort. If the rule list is a tangle of old blocks and duplicates, Windows Security > Firewall & network protection offers Restore firewalls to default. That wipes every custom rule, including allowances other programs rely on — they will each prompt again on first use. It fixes a corrupted rule set, but it is a reset, not a tidy-up, so use it only when the targeted steps above have failed.
  4. Repair system files if the firewall pages will not open. If Windows Security closes or the firewall settings are grayed out for an administrator, run DISM /Online /Cleanup-Image /RestoreHealth, then sfc /scannow, from an administrator Command Prompt. Microsoft documents both in Using System File Checker in Windows. Restart and return to the allow list.

End state

When it goes wrong

Related fixes

Sources