Friday, 24 October 2025

How to block internet access for specific apps in windows 11

For Outbound Rules

Step 1: Open Windows Defender Firewall and navigate to Outbound Rules
  • Click the Start button and type "Windows Defender Firewall".
  • Click on Windows Defender Firewall in the search results.
  • Click on Advanced Settings on the left sidebar.
  • Select Outbound Rules from the left-hand menu.
Step 2: Create a new outbound rule
  • Click New Rule on the right-hand side.
  • Select Program and click Next.
Step 3: Specify the program path
  • Select This program path.
  • Click Browse and navigate to the program's executable (.exe) file. This is often found in C:\Program Files or C:\Program Files(x86).
  • Select the program's .exe file and click Open.
  • Click Next.
Step 4: Block the connection
  • Choose Block the connection and click Next.
Step 5: Set the rule to apply and name it
  • Check the boxes for Domain, Private, and Public to ensure the block is applied across all network types.
  • Click Next.
  • Give the rule a descriptive name (e.g., "Block [Program Name]") and optionally add a description.
  • Click Finish.

For Inbound Rules

Step 1: Open Windows Defender Firewall and navigate to Outbound Rules
  • Click the Start button and type "Windows Defender Firewall".
  • Click on Windows Defender Firewall in the search results.
  • Click on Advanced Settings on the left sidebar.
  • Select Outbound Rules from the left-hand menu.
Step 2: Create a new outbound rule
  • Click New Rule on the right-hand side.
  • Select Program and click Next.
Step 3: Specify the program path
  • Select This program path.
  • Click Browse and navigate to the program's executable (.exe) file. This is often found in C:\Program Files or C:\Program Files(x86).
  • Select the program's .exe file and click Open.
  • Click Next.
Step 4: Block the connection
  • Choose Block the connection and click Next.
Step 5: Set the rule to apply and name it
  • Check the boxes for Domain, Private, and Public to ensure the block is applied across all network types.
  • Click Next.
  • Give the rule a descriptive name (e.g., "Block [Program Name]") and optionally add a description.
  • Click Finish.