How to Block Program in Firewall Windows 11: A Step-by-Step Guide

How to Block a Program in Firewall Windows 11

Blocking a program in the firewall on Windows 11 is quite straightforward. First, access the Windows Security settings. Then, navigate to the Firewall & network protection section, and add a new rule to block the desired program. This step-by-step guide will walk you through the process.

How to Block a Program in Firewall Windows 11

Following these steps will prevent a specific program from accessing the internet, enhancing your system’s security or managing network usage.

Step 1: Open Windows Security

Access the Windows Security application by searching for it in the Start menu.

Windows Security is your go-to app for all things related to system protection. By typing "Windows Security" in the Start menu search bar and clicking on the application, you’re already on your way to blocking that pesky program.

Step 2: Navigate to Firewall & Network Protection

Click on the "Firewall & network protection" option in Windows Security.

This section houses all the settings related to firewall protection. You’ll find options to configure and manage the firewall rules that govern your computer’s network traffic.

Step 3: Open Advanced Settings

Select "Advanced settings" to access detailed firewall configurations.

The advanced settings open up a window called "Windows Defender Firewall with Advanced Security." This is where you can create custom rules for inbound and outbound network traffic.

Step 4: Create a New Outbound Rule

Click on "Outbound Rules" in the left-hand pane and then select "New Rule" on the right.

Outbound rules control the flow of traffic leaving your computer. By specifying the program you want to block, you’re essentially cutting off its internet access.

Step 5: Select Program

Choose "Program" and click "Next" to specify which program to block.

You’ll be prompted to select the program you wish to block. You can either type in the path or browse to find the executable file of the program.

Step 6: Block the Connection

Select "Block the connection" and click "Next."

Blocking the connection ensures that the selected program cannot send or receive data over the network, effectively isolating it.

Step 7: Apply the Rule

Name your rule and provide a description if desired, then click "Finish."

Giving your rule a name helps you identify it later. Once you click "Finish," the rule is applied immediately, and the program is blocked from accessing the internet.

After completing these steps, the specified program will be unable to communicate over the network, protecting your system from potential threats or limiting internet usage.

Tips for How to Block a Program in Firewall Windows 11

  • Double-check the program path: Ensure you have the correct executable file path to avoid blocking the wrong program.
  • Test your rule: After creating the rule, try to open the program to confirm it’s truly blocked.
  • Use descriptive names: Name your rules descriptively for easier management.
  • Consider inbound rules: Sometimes, you might also need to block inbound connections for complete protection.
  • Review your rules regularly: Periodically check your firewall rules to ensure they’re still relevant and effective.

Frequently Asked Questions

How do I unblock a program in the firewall?

To unblock a program, go to the "Outbound Rules" section in the "Windows Defender Firewall with Advanced Security," find the rule you created, and delete it or disable it.

Will blocking a program in the firewall affect its functionality?

Yes, blocking a program will prevent it from accessing the internet, which may limit its features or functionality that require internet access.

Can I block multiple programs at once?

No, you need to create individual rules for each program you wish to block.

Is it possible to schedule firewall rules?

Windows Firewall does not offer a built-in scheduling feature. You would need additional software or scripts to schedule rules.

Can I block system apps using these steps?

Yes, you can block system apps, but be cautious as it may affect your system’s performance and functionality.


  1. Open Windows Security.
  2. Navigate to Firewall & Network Protection.
  3. Open Advanced Settings.
  4. Create a New Outbound Rule.
  5. Select Program.
  6. Block the Connection.
  7. Apply the Rule.


Blocking a program in the firewall on Windows 11 is an effective way to control your system’s network traffic. Whether you’re trying to enhance security or manage bandwidth, these steps offer a reliable solution. Don’t forget to revisit your rules periodically to ensure they’re still serving your needs. For more advanced network management, consider exploring additional features within Windows Security or third-party tools. Now that you know how to block a program in firewall Windows 11, you have more control over your computer’s interactions with the internet. Happy securing!