Skip to content
Follow
Windows

How to Allow Apps Through Microsoft Defender Firewall in Windows 11

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

Microsoft Defender Firewall in Windows 11 blocks apps from sending or receiving data over your network until you give them permission. This built-in security tool acts as a gatekeeper for Windows 11, stopping unauthorized programs from reaching your PC while sometimes trapping harmless games or work tools in the process.

Advertisement

You can let a blocked program connect to the internet by adding it to the allowed apps list instead of turning off your firewall entirely. This keeps your PC safe while letting trusted software reach online servers.

⚡ Quick Answer

You allow apps through Microsoft Defender Firewall by opening Windows Security, navigating to Firewall & network protection, clicking “Allow an app through the firewall,” and then browsing to the application’s executable file. This adds the app to the exceptions list.

Advertisement

How to allow an app through the firewall

To allow apps through firewall in Windows 11, you need to add an exception in the Windows Security settings so the program can connect to the network without being blocked. This process lets you grant internet access to a specific game or tool while keeping your overall system protection turned on. You can complete these steps directly in the settings menu without installing any extra software.

  1. Open the Settings app. You can press the Win+I on your keyboard at the same time.
    windows 11 start settings
    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
    windows 11 windows security
  3. Click the button that says Open Windows Security.
    windows 11 open windows security 1
    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
    allow an app through firewall in windows 11
  6. Click the Change settings button at the top. Note: This step requires administrator privileges.
    Change button for allowing apps in Windows 11 Firewall
    windows 11 allow app through firewall change button
  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
    windows 11 allow another app through 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
    windows 11 add an app windows 11
  9. Click the Add button to save your changes.

Advanced Security and Troubleshooting

Windows Defender Advanced Security offers more control if the basic method doesn’t work for allowing apps through the firewall.

To verify your changes, use the command line. Run Command Prompt as an administrator and type: netsh advfirewall show allprofiles. This displays your current network security settings.

Summary

Managing your firewall rules properly lets you allow apps through firewall settings without leaving your computer exposed to outside threats. Keeping the main security system turned on while only unblocking trusted programs is the safest way to fix connection problems. You should only turn off the firewall completely if you use a different security suite and know the risks involved.

Advertisement

Disabling the Microsoft Defender Firewall is not recommended unless you have installed other security software that conflicts with the firewall. Disabling or turning off the Microsoft Defender Firewall can leave your computer vulnerable. For more information about protecting your computer from ransomware, you can consult resources on disabling or turning off the Microsoft Defender Firewall.

Why is the 'Change settings' button greyed out?

The button is greyed out because you do not have administrator privileges. You must be logged into an account with administrative rights to modify firewall rules. If you are on a work computer, your IT department may have locked these settings to prevent unauthorized changes to network security.

How do I remove an app from the allowed list?

Go back to the 'Allow an app through the firewall' screen and click 'Change settings'. Find the app in the list, click on it to highlight it, and then click the 'Remove' button. This will immediately block the app from communicating through the firewall again.

Is it safe to allow all apps through the firewall?

No, it is not safe. Allowing all apps through the firewall effectively disables your network protection, leaving your computer vulnerable to unauthorized inbound traffic. Only create exceptions for specific, trusted applications that require internet access to function properly for your work or entertainment.

Was this guide helpful?

Tags: #Windows 11
Was this helpful?
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.

Advertisement

📚 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 Antivirus in Windows 11
Windows How to Activate Microsoft Defender Antivirus in Windows 11
How to Enable or Disable Windows Security Notifications in Windows 11
Windows How to Enable or Disable Windows Security Notifications in Windows 11
How to Access Settings in Windows 11
Windows How to Access Settings in Windows 11

No comments yet — be the first to share your thoughts!

Leave a Comment

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