How to block all Windows 10 processes, except one

Teodor Nechita
by Teodor Nechita
Software Managing Editor
Eager to help those in need, Teodor writes articles daily on subjects regarding Windows, Xbox, and all things tech-related. When not working, you may usually find him either at the gym or taking a... Read more
Affiliate Disclosure
windows 10 firewall block all except one program featured
To fix various PC problems, we recommend DriverFix:
This software will keep your drivers up and running, thus keeping you safe from common computer errors and hardware failure. Check all your drivers now in 3 easy steps:

  1. Download DriverFix (verified download file).
  2. Click Start Scan to find all problematic drivers.
  3. Click Update Drivers to get new versions and avoid system malfunctionings.
  • DriverFix has been downloaded by 0 readers this month.

Users have been asking on the official forums if there is a way you can block all Internet activity using the Firewall, except their IP.

Given that this is a prevailing question asked on plenty of other forums as well, it was decided to look into the issue.

Is it possible to auto block all applications incoming/outgoing internet connection except for example Firefox with default windows firewall? I would like to block everything, even including windows update and other software updates. I would like to allow only one web browser like firefox, chrome or opera.

The first solution that may pop into your head would be to just block the applications one-by-one.
However, unless your PC has a fresh Windows install and there few programs and processes, this can end up being a tedious task.

How can you block all Windows 10 processes except one, at once?

1. Manually block processes one-by-one

While admittedly the most tedious method of them all, it is also the simplest.

This makes it excellent for those who aren’t used to using a computer too much.

  1. Press Windows + R
  2. Type in control.exe, which will open the Control Panel
  3. Select View by (Top-right corner) to Category
  4. Click on System and Security
  5. Under the Windows Defender Firewall, select Allow an app through Windows Firewall
  6. Deselect both boxes corresponding to each process until you finish the list

windows 10 firewall block all except one program Manually block Firewall processes one-by-one

2. Make Windows Firewall  block all outgoing traffic by default, then select the exceptions

This is pretty much the opposite of the method listed above, as it is best used when you have too many processes that need blocking.

  1. Press Windows + R
  2. Type in control.exe, which will open the Control Panel
  3. Select View by (Top-right corner) to Small icons
  4. Click Administrative Tools
  5. Select Windows Defender Firewall with Advanced Security
  6. Click Windows Firewall Properties (on the right side)
  7. Click next to Outbound connections and select Block from the list
  8. Confirm your changes by selecting OK
  9. Delete the block all outgoing traffic rule

windows 10 firewall block all except one program Windows Defender Firewall with Advanced Security

3. Use IPSec

  1. Click Windows
  2. Type in MMC and select it from the list
  3. In the new window, click File
  4. Click Add/Remove Snap-In
  5. Select Add the IP Security Policy Snap-In
  6. Click OK
  7. Right-click on the middle section and click Create IP Security Policy
  8. Follow the wizard using default values and whatever names you want
  9. After the first wizard, a new window will appear, When it does, click Add
  10. Click Next 3 times, and then click Add
  11. Name it something relevant, like Block all, and click Add
  12. Go through that wizard with just default values, and click OK at the end
  13. Select Block All and click Next and then Add… again
  14. Follow the wizard, and give it the name Block, then select it as an action
  15. Repeat Steps 9-14 selecting the proper source, destination or protocol and selecting Permit in Step 14

windows 10 firewall block all except one program IPSec


This article covers:Topics: