How to Block App Internet on Windows 10
In this article
Yes, you can block an app’s internet access on Windows 10 using the built-in Windows Defender Firewall. This stops the app from sending or receiving data online, which enhances privacy, reduces background data usage, and prevents unwanted updates or tracking. The method uses firewall rules—no third-party tools are required. You must have administrator rights on the PC to make these changes.
What You'll Need
- A Windows 10 PC with administrator access
- The exact name or file path of the app you want to block
- Know whether the app uses inbound, outbound, or both types of connections
Step-by-Step
- Press the Windows key, type Windows Defender Firewall, and click the top result to open it.
- In the left panel, click Advanced settings. You may be prompted for administrator permission—click Yes to continue.
- In the new window, click Outbound Rules in the left pane. This controls apps trying to connect out to the internet.
- On the right, click New Rule… to start the Rule Creation Wizard.
- Select Program and click Next.
- Choose This program path: and click Browse to locate the app’s .exe file. Common locations are
C:\Program Files\,C:\Program Files (x86)\, orC:\Users\[YourName]\AppData\. Select the .exe file and click Open, then Next. - Select Block the connection and click Next.
- Leave all network types (Domain, Private, Public) checked unless you want to restrict the rule to certain networks. Click Next.
- Give the rule a clear name, such as Block Chrome Internet, and optionally add a description. Click Finish.
- To block incoming connections (less common), repeat steps 3–9 but start from Inbound Rules instead.
Common Mistakes
- Blocking the wrong .exe file: Some apps have multiple executables (e.g., updater.exe, helper.exe). If you block only the main app, background components may still connect. Identify all related files.
- Not running as administrator: You must have admin rights to create firewall rules. If the wizard won’t open or fails, right-click the firewall app and select Run as administrator.
- Using the wrong rule type: Choosing Port instead of Program makes the process more complex and error-prone. Stick to Program for app-specific blocking.
- Forgetting to block both inbound and outbound: Most apps only need outbound blocked, but some may still receive data if inbound isn’t also restricted. Evaluate the app’s behavior.
Tips
- Test the block: After applying the rule, open the app and try loading content that requires internet. If it fails, the block is working.
- Use descriptive names: When creating multiple rules, name them clearly (e.g., Block Discord Update) so you can manage them later.
- Check AppData for hidden apps: Many apps install in
AppData\LocalorAppData\Roaming. Press Windows+R, type%appdata%or%localappdata%, and press Enter to find them. - Disable rules instead of deleting: If you’re unsure, right-click a rule and choose Disable Rule instead of deleting it. You can re-enable it later.
- Monitor connections: Use Task Manager (Network tab) to see which apps are using data. Right-click column headers and enable Command line to identify specific processes.
Troubleshooting
If the app still accesses the internet after blocking:
- Restart the app: Some apps cache connections. Close and reopen the app completely.
- Check for multiple .exe files: An app like Spotify may use
spotify.exeandupdate.exe. Block each one individually. - Verify the rule is active: Open Windows Defender Firewall > Advanced settings > Outbound Rules, and confirm your rule appears and isn’t disabled.
- Check antivirus interference: Third-party antivirus software may override or disable Windows Firewall rules. Temporarily disable the antivirus to test, or configure it to allow the rule.
- Run as admin: If the app runs with administrator privileges, the firewall rule must also be applied while running the wizard as admin. Re-create the rule after opening the firewall as administrator.
- Group Policy or enterprise restrictions: On work or school PCs, network policies may prevent custom firewall rules. Contact your IT administrator.
Frequently Asked Questions
Can I block internet for Microsoft Store apps?
Yes, but it’s more complex. Store apps run in a sandbox and use different executable names. Use the full path (often in Program Files\WindowsApps) or use third-party tools like Firewall Control. Manual blocking via Windows Defender is possible but requires precise file location.
Will blocking internet break the app?
It depends. Offline apps (like Notepad++) will work fine. Online-dependent apps (like browsers or streaming services) will fail to load content. Some apps may show errors or crash if they expect constant connectivity.
Can I schedule internet blocking?
Windows Firewall doesn’t support schedules natively. For time-based blocking, use third-party firewall tools or parental control software that includes scheduling features.
How do I unblock an app?
Go to Windows Defender Firewall > Advanced settings > Outbound Rules, find the rule you created, right-click it, and select Delete or Disable Rule.
Does this stop all data usage?
It stops internet traffic, but local network communication (like file sharing on the same network) may still occur unless you also block private network types in the rule.
Can I block internet for all apps except a few?
Yes, but it requires creating outbound block rules for each app you want to restrict. There’s no global “allow only these” mode in Windows Firewall without complex configuration. Consider using a dedicated network monitor tool for easier management.