Windows

How to Allow Apps Through Microsoft Defender Firewall in Windows 11

Richard
Written by
Richard
Jan 24, 2022 Updated Apr 15, 2026 2 min read
How to Allow Apps Through Microsoft Defender Firewall in Windows 11

Windows includes a built-in security tool called Microsoft Defender Firewall. It acts like a gatekeeper for your computer. It checks all data coming in and going out to keep your PC safe from hackers and viruses.

Sometimes, this gatekeeper is too strict. It might block a program you trust from connecting to the internet. Instead of turning off your security, you can simply open a door for that specific app.

Why use this?

You should do this when a safe app, like a game or a work tool, cannot connect to the internet even though you are online. This is much safer than turning off your entire firewall.

What happens when done?

Once you finish these steps, your chosen app will be able to communicate through the firewall. Your computer remains protected by the firewall for all other programs.

Note: You must be signed in as an administrator to change these settings.

How to allow an app through the firewall

You can manage this through your main Windows settings. Follow these steps:

  1. Open the Settings app. You can press the Windows key + I on your keyboard at the same time.
    windows 11 start settings
  2. In the menu on the left, click Privacy & security. Then, click the Windows Security box on the right.
    windows 11 windows security
  3. Click the button that says Open Windows Security.
    windows 11 open windows security 1
  4. A new window will open. Click on Firewall & network protection in the left menu.
  5. Look for the link that says Allow an app through the firewall and click it.
    Allow an app through Microsoft Defender Firewall settings in Windows 11
  6. Click the Change settings button at the top. Note: This step requires administrator permissions.
    Change button for allowing apps in Windows 11 Firewall
  7. Click the Allow another app… button at the bottom. Then, click Browse to find the program on your computer.
    Option to allow another app through Windows 11 Firewall
  8. Locate the app’s file (usually in a folder like C:\Program Files\YourApp), select it, and click Open.
    Add an app to Microsoft Defender Firewall in Windows 11
  9. Click the Add button to save your changes.

If you want to use the command line to check your firewall status, you can use: netsh advfirewall show allprofiles.

Summary

Microsoft Defender Firewall is a vital tool that keeps your PC safe from online threats. Instead of turning it off, which leaves your computer vulnerable, you should allow specific apps to pass through. You can do this by using the Windows Security settings menu. Keeping your firewall on is the best way to stay protected while using your favorite software.

Avoid disabling your firewall unless you have installed other security software that conflicts with it. For more information, you can read about disabling or turning off Microsoft Defender Firewall and how to protect against lock your computer for ransom.

Was this guide helpful?

Tags: #Windows 11
Richard

About the Author

Richard

Tech Writer, IT Professional

Richard, a writer for Geek Rewind, is a tech enthusiast who loves breaking down complex IT topics into simple, easy-to-understand ideas. With years of hands-on experience in system administration and enterprise IT operations, he’s developed a knack for offering practical tips and solutions. Richard aims to make technology more accessible and actionable. He's deeply committed to the Geek Rewind community, always ready to answer questions and engage in discussions.

2469 articles → Twitter

📚 Related Tutorials

How to Turn On or Off Microsoft Defender Firewall in Windows 11
Windows How to Turn On or Off Microsoft Defender Firewall in Windows 11
How to Activate Microsoft Defender in Windows 11
Windows How to Activate Microsoft Defender in Windows 11
How to Disable Windows Firewall on Windows 11
Windows How to Disable Windows Firewall on Windows 11
How to Exclude Files from Microsoft Defender on Windows 11
Windows How to Exclude Files from Microsoft Defender on Windows 11

Leave a Reply

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