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

How to Block Programs in Firewall Windows 11

Blocking a program through Windows 11 Firewall is a great way to prevent certain applications from accessing the internet. This can help protect your computer from potential threats or simply manage network traffic. Here’s a quick guide on how to set it up: Open the Windows Security app, navigate to ‘Firewall & network protection,’ access ‘Advanced settings,’ and create a new outbound rule to block the specific program.

How to Block Programs in Firewall Windows 11

In this section, we’ll walk you through the steps to block a program using the Windows 11 Firewall. By following these steps, you’ll be able to prevent a selected application from accessing the internet through your firewall settings.

Step 1: Open Windows Security

First, open the Windows Security app by clicking on the Start menu and typing "Windows Security."

The Windows Security app is your primary hub for managing your device’s protection settings. Make sure you have it fully up-to-date.

Step 2: Access ‘Firewall & network protection’

Click on ‘Firewall & network protection’ within the Windows Security app.

This section is where you can control and customize how your firewall protects your device, and it offers various options for managing network security.

Step 3: Open ‘Advanced settings’

Next, click on ‘Advanced settings’ which will open the Windows Defender Firewall with Advanced Security window.

This window provides a more detailed view and additional options for configuring your firewall settings beyond the basic controls.

Step 4: Create a New Outbound Rule

In the Advanced Security window, right-click on ‘Outbound Rules’ and select ‘New Rule.’

Outbound rules control the flow of outgoing network traffic, allowing you to specify which programs are allowed or blocked from accessing the internet.

Step 5: Select ‘Program’ and Click ‘Next’

Choose ‘Program’ on the New Outbound Rule Wizard and click ‘Next’ to proceed.

This option allows you to create a rule specific to a single application, giving you precise control over that program’s network access.

Step 6: Browse and Select the Program

Browse to the program’s executable file (.exe) you want to block and click ‘Next.’

Make sure you select the correct executable file, as this will be the program that gets blocked from accessing the internet.

Step 7: Choose ‘Block the connection’ and Click ‘Next’

Select ‘Block the connection’ and hit ‘Next’ to enforce the rule.

Blocking the connection ensures that the chosen program will be prevented from sending or receiving data over the network.

Step 8: Apply the Rule to All Profiles

Ensure all three profiles (Domain, Private, Public) are checked and click ‘Next.’

Applying the rule to all profiles ensures comprehensive coverage, regardless of the network type you’re connected to.

Step 9: Name the Rule and Finish

Give your rule a name and click ‘Finish’ to complete the setup.

Naming your rule helps you easily identify it later if you need to make changes or troubleshoot.

After completing these steps, the specified program will be blocked from network access, enhancing your control over how applications interact with the internet.

Tips for Blocking Programs in Firewall Windows 11

  • Regularly review your firewall rules to ensure they are still relevant and necessary.
  • Keep your Windows Security app updated to benefit from the latest protections and features.
  • If you’re unsure which executable file to block, consult the program’s documentation or support team.
  • Test the blocked program to confirm it’s functioning as expected after applying the firewall rule.
  • Use descriptive names for your rules to make future management easier.

Frequently Asked Questions

Can I unblock a program after I’ve blocked it?

Yes, you can unblock a program by going back to the ‘Outbound Rules’ in Advanced settings, right-clicking the rule you created, and selecting ‘Delete.’

Will blocking a program slow down my computer?

No, blocking a program in the firewall won’t affect your system’s performance. It only restricts network access for that program.

Can I block multiple programs at once?

You need to create separate outbound rules for each program you want to block. Each rule targets a specific executable file.

Is it safe to block programs in the firewall?

Yes, it’s generally safe. However, make sure you know what the program does and why you’re blocking it to avoid disrupting necessary functions.

Do I need admin rights to block a program?

Yes, you need administrative privileges to modify firewall settings and create outbound rules.

Summary of Steps

  1. Open Windows Security.
  2. Access ‘Firewall & network protection.’
  3. Open ‘Advanced settings.’
  4. Create a new outbound rule.
  5. Select ‘Program’ and click ‘Next.’
  6. Browse and select the program.
  7. Choose ‘Block the connection’ and click ‘Next.’
  8. Apply the rule to all profiles.
  9. Name the rule and finish.


Blocking a program in Firewall Windows 11 is a handy way to manage your network security and protect your system from unwanted access. By following the steps outlined above, you can easily control which applications are allowed to connect to the internet, ensuring a safer and more controlled computing environment.

Remember, regularly reviewing your firewall rules can help keep things in check and maintain optimal security. It’s a straightforward process, but it can make a significant difference in how your system handles network traffic.

For further reading, consider looking into more advanced firewall configurations or exploring other security features available in Windows 11. It’s always good to stay informed and proactive when it comes to protecting your digital world. Happy securing!

Get Our Free Newsletter

How-to guides and tech deals

You may opt out at any time.
Read our Privacy Policy