How to block all Windows 10 processes, except one

Publish date: 2024-06-24
windows 10 firewall block all except one program featured

XINSTALL BY CLICKING THE DOWNLOAD FILE

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:
  • Download DriverFix (verified download file).
  • Click Start Scan to find all problematic drivers.
  • Click Update Drivers to get new versions and avoid system malfunctionings.
  • 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.

  • Press Windows + R
  • Type in control.exe, which will open the Control Panel
  • Select View by (Top-right corner) to Category
  • Click on System and Security
  • Under the Windows Defender Firewall, select Allow an app through Windows Firewall
  • 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.

  • Press Windows + R
  • Type in control.exe, which will open the Control Panel
  • Select View by (Top-right corner) to Small icons
  • Click Administrative Tools
  • Select Windows Defender Firewall with Advanced Security
  • Click Windows Firewall Properties (on the right side)
  • Click next to Outbound connections and select Block from the list
  • Confirm your changes by selecting OK
  • Delete the block all outgoing traffic rule
  • windows 10 firewall block all except one program Windows Defender Firewall with Advanced Security

    3. Use IPSec

  • Click Windows
  • Type in MMC and select it from the list
  • In the new window, click File
  • Click Add/Remove Snap-In
  • Select Add the IP Security Policy Snap-In
  • Click OK
  • Right-click on the middle section and click Create IP Security Policy
  • Follow the wizard using default values and whatever names you want
  • After the first wizard, a new window will appear, When it does, click Add
  • Click Next 3 times, and then click Add
  • Name it something relevant, like Block all, and click Add
  • Go through that wizard with just default values, and click OK at the end
  • Select Block All and click Next and then Add… again
  • Follow the wizard, and give it the name Block, then select it as an action
  • 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

    RELATED STORIES YOU SHOULD CHECK OUT:

    ncG1vNJzZmivmaOxsMPSq5ypp6Kpe6S7zGifqK9dqbxursuomqRlkaG5bsPIp5uor6NifnF5z6umnJ2jqLK0ecSxmp6opGK8r7GO