Technical Anshu
Tutorials Blog
🔀 Firewall Profiles

Firewall Block Rule Not Working on Other Network Profiles Explained

The rule blocks the app perfectly on your home Wi-Fi. Then the laptop goes to the office or a cafe hotspot and the same app is online again. Nothing broke — your rule only covers one kind of network. Windows calls them profiles, and there are three.

✍️ Technical Anshu🪟 Windows 10 / 11⏱️ 4 minute read and fix
🎥 The video creates the block — this guide makes sure it follows the laptop everywhere

Windows Firewall keeps three separate rulebooks: Domain (office networks with a company server), Private (your home or trusted network) and Public (cafes, airports, unknown Wi-Fi). Every rule says which profiles it belongs to. A rule created for one profile politely does nothing on the others — and that is exactly the "works at home, fails outside" mystery.

New Outbound Rule Wizard — Profile Page
☑ Domain — when the computer is connected to a corporate domain
☑ Private — home or work network you trust
☑ Public — public places like cafes and airports
All three ticked = the block follows the laptop everywhere
The wizard's Profile page is where a rule's reach is decided — the most skipped step of all.
1

Check Which Profile You Are On Right Now

Open wf.msc — the main Windows Defender Firewall with Advanced Security page shows the active profile in bold at the top of the overview. Or in PowerShell:

Get-NetConnectionProfile

The NetworkCategory column tells you Public or Private for your current connection. If Windows asks "make this device discoverable" on a new network, answering Yes sets Private and No sets Public — that innocent question is the profile switch.

2

Fix an Existing Rule to Cover All Profiles

  1. In wf.msc → Outbound Rules, double-click your block rule
  2. Open the Advanced tab
  3. Under Profiles, tick Domain, Private and Public
  4. Click OK — the rule now applies on every network type

From the command line, the same repair is one command:

netsh advfirewall firewall set rule name="Block MyApp" new profile=any

And when creating rules, the habit that prevents this whole problem: never untick a profile on the wizard's Profile page unless you truly mean it.

3

Domain Profile — the Office Special Case

The Domain profile activates only when a work laptop is joined to a company domain and can reach its domain controller. Two honest consequences: at the office, company policy rules may sit above yours — an IT department can push rules that merge with or override local ones, and a local block can exist yet lose. That is not a fault; on a managed PC the admin's rulebook wins by design. On your own PC, Domain simply never activates and Private/Public do all the work.

4

Does a Rule Apply to All Users of the PC?

Yes — and this surprises people in the other direction. Windows Firewall rules are machine-wide: a block you create applies no matter which user account is signed in — children, guests, everyone. There is no official per-user program rule in Windows Firewall. If accounts must have different access, that needs extra software or separate PCs; the firewall itself treats the machine as one unit. One related trap: a program installed per user lives under that user's AppData folder — its path contains a username, and the rule still works, but only for that copy of the program.

🔴 The cafe test: after fixing profiles, the quick way to prove it — connect to your phone hotspot (Windows treats it as a new, usually Public, network) and check the app stays blocked there too.

🎥 Watch the Complete Video

Watch the video for rule creation — then use this page to make the rule travel with the laptop.

▶️ Watch Full Video
❓ Common Questions (FAQ)

My home network shows as Public. Is that wrong?

It only means Windows classifies it as untrusted. You can change it: Settings → Network and internet → your connection → set network profile to Private. Or simply make your block rule cover all three profiles and never think about it again.

Why does the wizard sometimes pre-select only one profile?

Rule creation tools tend to default to the profile that is active at that moment. That is why checking the profile page — or the Advanced tab of the finished rule — is a habit worth having.

Can different users on one PC have different blocks?

Not with Windows Firewall alone. Its rules apply to the whole machine and every account on it. Per-user control needs third-party tools or separate devices.

This guide is based on the Technical Anshu video Block Internet Access for Any Application in Seconds • Stuck on any step? Ask in the video comments — you will get a reply there 🙏