Facebook-f X-twitter
EncodeByte
Need Help!
  • How-To
    How-ToShow More
    How to Fix the “Windows Cannot Be Installed to This Disk” Error
    By
    EncodeMore
    How to Check Your Laptop’s Battery Health: A Step-by-Step Guide
    By
    EncodeMore
    How to Become a Freelancer in 2025: A Comprehensive Guide.
    By
    EncodeMore
    How to Activate Windows Legally and For Free (100% Working)
    By
    EncodeMore
    How do i permanently disable updates in windows 10?
    By
    EncodeMore
  • Web Development & Coding
    Web Development & CodingShow More
    How to Become a Freelancer in 2025: A Comprehensive Guide.
    By
    EncodeMore
    What Are the Top In-Demand Freelancer Niches Predicted for 2025?
    By
    EncodeMore
    🚀 10 Reasons Why Hostinger Is the Best Web Hosting Platform for Speed, Security & Affordability
    By
    Franchbabu
    How to Add “Made with ❤️” to Your WordPress Footer (No Plugin Needed)
    By
    EncodeMore
    WordPress Redirect After Login: How to Set It Up
    By
    EncodeMore
  • Code Snippets & Scripts
    Code Snippets & ScriptsShow More
    How to Hide a Class in WordPress (Easy CSS & Admin Tips)
    By
    EncodeMore
  • Website Design & UX
    Website Design & UXShow More
    10 Web Design Mistakes That Are Killing Your User Experience (and How to Fix Them)
    By
    Franchbabu
  • Make Money Online
    Make Money OnlineShow More
    How to Become a Freelancer in 2025: A Comprehensive Guide.
    By
    EncodeMore
    What Are the Top In-Demand Freelancer Niches Predicted for 2025?
    By
    EncodeMore
    Website related skillsets that you shoud have
    By
    EncodeMore
    Top Sites Like Fiverr: The Best Fiverr Alternatives for Freelancers
    By
    Franchbabu
    Best Telegram Channels For Free Paid Courses
    By
    Franchbabu
  • 🤩 Trending:
  • How-To Guides
  • WordPress & Website Development
  • Web Development & Coding
  • Windows & Software Fixes
  • Tech Tips, Tools & Tutorials
  • Computer Tips & Tricks
Font ResizerAa
EncodeByteEncodeByte
Search
  • How-To
  • Web Development & Coding
  • Code Snippets & Scripts
  • Website Design & UX
  • Make Money Online
Follow US
Made by ThemeRuby using the Foxiz theme. Powered by WordPress
Computer Tips & TricksWindows & Software Fixes

How to Block a Program in Windows 11 Using the Windows Firewall

Last updated: March 10, 2023 8:14 am
By
EncodeByte
Share

You may want to prevent an application from accessing the Internet at times. This tutorial will show you how to use the Windows firewall to block a program in Windows 11.
Normally, you would want your applications to have unrestricted network access. However, if you want to prevent a program from accessing the Internet for whatever reason, you can follow the step-by-step guide below to block a program with Windows firewall in Windows 11.

Contents
How to Block a Program in Windows 11 Using the Windows FirewallHow to Disable an App Internet Blocking Rule on Windows 11Protecting Your Internet Connection Using Windows Firewall

How to Block a Program in Windows 11 Using the Windows Firewall

Step 1: Launch the Windows Firewall application.

You can also type Windows Defender Firewall into the Start menu. Open Windows Defender Firewall by selecting the top result.

To open Windows Control Panel, click Start, type control panel, and select the top result. Then, to open Windows Defender Firewall, go to System & Security -> Windows Defender Firewall.

Step 2: Select Advanced Options.

You can enter the Windows Defender Firewall with Advanced Security app by clicking Advanced settings in the Windows Defender Firewall.

Step 3: Navigate to the Firewall rule creation window.

Then, in the left column, click Outbound Rules, which will display all existing outbound Windows firewall rules in the middle window.

In the right Outbound Rules Actions column, click New Rule to open a new window where you can create your own Firewall rule.

Step 4: Add a new Firewall rule.

You can select “What type of rule would you like to create?” in the new window.

To get ready to rule controls connections for a program, click Program and then Next.

Step 5: Select the desired program.

To find the path of the target program you want to block, select This program path and click Browse.

You can open the program’s folder and select the target program by clicking This PC in the left column.

When you open the program in Firewall, Windows will restructure the file path. You can get around this by manually copying and pasting the file path into the box.

Copy the program’s path from the address bar and paste it into the box. At the end of the path, please include the app’s name and extension.

Block a Program in Windows

Step 6: Give the firewall rule a name.

You can name the new Firewall rule by clicking the Next button three times. Then click the Finish button to create a new Firewall rule that will block the program from accessing the Internet with Windows Firewall in Windows 11.

How to Disable an App Internet Blocking Rule on Windows 11

If you blocked an app’s access to the internet but you want to give access back, you can. You’ll need to disable the Outbound Rule in the Windows Defender Firewall menu that you created previously.

To do that, use the following steps:

  1. Open the Start menu, type Windows Defender Firewall, then click the best match result.
Block a Program in Windows

2. In Windows Defender Firewall, click Advanced settings on the left.

  1. In the next menu, press Outbound Rules from the left-hand panel.
  2. Find the name of the rule you created previously (you can sort by name), then right-click it and select Disable Rule.

5. You can also select the outbound rule you created and disable or delete it from the Actions pane on the right.

After disabling or deleting the outbound rule, the app you created it for will now connect to the internet.

Protecting Your Internet Connection Using Windows Firewall

You can prevent programs on a Windows 11 PC from accessing the internet by following the instructions above. Disabling the rule will enable internet connectivity once again if you choose to regain access. You must follow the following instructions again to create a rule once it has been deleted.

The Windows Defender Firewall is an essential aspect of Windows Security, a program created to keep a Windows computer safe from malware. Windows Security provides broader security. You can also block a website on Android to help secure that device if you use that operating system instead of Windows, which is the only place where you can do so.

Share This Article
Facebook Whatsapp Whatsapp LinkedIn
Leave a Comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Popular Categories

Themes & Customization

1 Article

Troubleshooting & Fixes

1 Article

WordPress Tips & Tricks

6 Articles

WordPress Tutorials

4 Articles

Must Read

WordPress & Website DevelopmentPerformance Optimization

The Most Wanted WordPress Tips, Tricks, and Hacks for Smarter Websites (2026 Edition)

WordPress & Website DevelopmentHow-To Guides

How to Create a Private/Password Protected Post or Page in WordPress

Computer Tips & TricksHow-To Guides

How to Repair a Bad Hard Disk (Hard Disk Low Level Format)

How-To GuidesTech Tips, Tools & Tutorials

How to Remove URLs From Google Search

  • I need help with …

Starting a Blog

WordPress SEO

WordPress Performance

WordPress Errors

WordPress Security

Got A Question?

Need Expert Help?
Let CodeXcool power up your website with
custom WordPress design, speed optimization, and SEO!
🚀 Get Started

You Might also Like

How-To GuidesWindows & Software Fixes

How to download the latest & Original Windows 10 ISO from Microsoft

Voice Typing to Control Your Windows PC:
Computer Tips & TricksTech Tips, Tools & TutorialsWindows & Software Fixes

How to Use Voice Typing to Control Your Windows PC | Best Feature in 2023

How To Schedule An Email In Gmail To Send Later

Bitlocker Recovery Key prompted every time I shutdown the computer

EncodeByte

© 2025 EncodeByte – Discover expert tech tutorials, coding guides, troubleshooting solutions, and free tools. Simplify technology, build smarter, and learn faster with us.

About Us / Privacy Policy / Contact Us

Latest News

  • Coming Soon
  • Coming Soon
  • Coming Soon
  • Coming Soon

Services

  • Coming Soon
  • Coming Soon
  • Coming Soon
  • Coming Soon

Looking for custom web development or maintenance?

Check out our parent team at [CodeXcool.com] 🚀
— Let's build together!
Request a Quote
Welcome Back!

Sign in to your account

Username or Email Address
Password

Lost your password?