Technical Anshu
Tutorials Blog
🛡️ Windows Firewall

Block Internet Access for Any Application in Windows

An app keeps updating itself, showing ads or uploading data in the background — but you still need it for offline work. Windows already has the tool to cut only its internet. No extra software, no cost: one firewall outbound rule and the app is offline in seconds.

✍️ Technical Anshu🪟 Windows 10 / 11⏱️ 2 minute setup
🎥 Watch the full method in the video — block any app from the internet, step by step

Almost every program on your PC talks to the internet on its own — update checks, ads, telemetry, cloud sync. Sometimes you want the program but not its internet. Windows Defender Firewall can block a single program while everything else on the PC stays online. This guide shows the complete GUI method, how to test the block, and the honest limits so you know exactly what the rule can and cannot do.

Windows Defender Firewall with Advanced Security
Block - MyApp  Profile: AllENABLED
Direction: Outbound  •  Action: BlockProgram rule
Program: C:\Program Files\MyApp\MyApp.exeINTERNET CUT
The finished outbound rule — one program blocked, the rest of the PC still online.
1

First Find the Exact Program File

A firewall program rule works on one exact .exe file, so guessing the path is where most people fail. Find the real file first:

  1. Start the app, then open Task Manager (Ctrl + Shift + Esc)
  2. Right-click the app in the list → Open file location
  3. Note the full path, for example C:\Program Files\MyApp\MyApp.exe

You can also right-click the app shortcut → Properties and read the Target field. Write the path down — you will paste it into the rule.

2

Create the Outbound Block Rule

This is the main step — the same method shown in the video:

  1. Press Windows + R, type wf.msc and press Enter — Windows Defender Firewall with Advanced Security opens
  2. On the left, click Outbound Rules, then on the right click New Rule
  3. Rule Type: choose Program → Next
  4. Choose This program path → Browse → select the .exe you found in Fix 1 → Next
  5. Action: choose Block the connection → Next
  6. Profile: tick Domain, Private and Public — all three, so the block works on every network → Next
  7. Name it clearly, for example Block - MyApp, and click Finish

The rule is active the moment you click Finish. No restart needed.

3

Test That the Block Really Works

Do not trust the rule until you have seen it work:

  1. Close the app fully and open it again
  2. Try the feature that needs internet — update check, online login, cloud sync or the in-app browser
  3. It should fail, time out or show the app's own offline message
  4. Now use the app's offline features — files, editing, local tools. They should work normally

If the app still goes online, you most likely picked the wrong .exe — a launcher instead of the real program. That exact problem has its own guide in this series.

4

Honest Limits of a Program Rule

Three things every user should know before relying on this:

  1. Updates can escape the block. If the app updates into a new version folder, the new .exe is a different file and is not blocked until you update the rule.
  2. Shared system files are dangerous to block. Never block svchost.exe or other Windows components — dozens of services, including Windows Update, run through them and your PC will break in strange ways.
  3. Microsoft Store apps are different. They also have .exe files, but they install inside the protected WindowsApps folder, so browsing to the file can fail. Normal desktop programs — the vast majority — work exactly as shown above.
🔴 One rule, one program. A block rule stops the program you selected — it does not slow down or affect any other app, your browser or Windows itself.

🎥 Watch the Complete Video

See the whole trick live in the video — the exact clicks, from opening the firewall to the blocked app.

▶️ Watch Full Video
❓ Common Questions (FAQ)

Will the blocked app still work for offline work?

Yes. The rule stops only network traffic. Local features — opening files, editing, printing to a local printer — keep working exactly as before.

Does this work on Windows 10 and Windows 11 Home?

Yes. Windows Defender Firewall with Advanced Security is built into every edition of Windows 10 and 11, including Home. No extra software or paid tool is needed.

I created the rule but the app still connects. Why?

The usual reason is the wrong .exe: many apps start through a small launcher that then runs the real program, and only the file you picked is blocked. Find the file that is actually running while the app is online, and block that one too.

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 🙏