0

I've searched through some threads here, yet I still not have an answer to my question. Basically, I have some weird internet connection, which is really sensitive on any usage and it's not unlimited. I bought 50GB extra monthly internet to play some games on normal ping. I want to minimize the use of data (I've already selected "set as metered connection" in network settings) and the general use of that connection (so my ping doesn't go nuts). I realized that I have to actually search for apps using the internet in Task manager and then turn them off separately.

My question here is: Is there a way to do this automatically? Like I select every app, or I select them all and unselect only those I want to use, I press a button, and then magic happens, they cannot use my connection? Or do I have to do this manually?

4
  • Well, yeah. But I want an ON/OFF switch, a quick solution. Not manually blocking apps, and then unblocking them if I switch to my normal internet connection Commented Sep 29, 2018 at 19:02
  • Then disable the network interface when you don't want the connection.
    – Biswapriyo
    Commented Sep 29, 2018 at 19:44
  • As @Biswapriyo suggests, use Airplane Mode - an easy click to the taskbar. Commented Sep 30, 2018 at 0:52
  • What you want can only be accomplished by using Third-Party applications. While you could block a program, in Windows Firewall, that would block it. Which would require you to remove the rule, each time, you wanted it to access the internet. Outside of doing that, what you want, cannot be accomplished without a third-party application.
    – Ramhound
    Commented Sep 30, 2018 at 3:37

1 Answer 1

1

You can set up your rules on on Windows Firewall, and export them and also import.

What you can do is to save the firewall rules for the two states :

  • Normal state, most connections are allowed
  • Restricted state, where everything is blocked except for some chosen applications.

Saving your rules is done in the Windows Defender Firewall with Advance Security, using the menu option Action / Export Policy ...

Restoring them is done by the menu Action / Import Policy ...

image

You may also do the same via PowerShell :

netsh advfirewall export "C:\temp\WFconfiguration.wfw"  
netsh advfirewall import "C:\temp\WFconfiguration.wfw"

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .