How to Disable Firewall on Windows 11: A Step-by-Step Guide

Microsoft Defender Firewall is an important Windows 11 security layer and should normally stay enabled. When an application or service is blocked, a narrow firewall rule is safer than turning protection off for the entire computer.

Steps

  1. Open Windows Security > Firewall & network protection.
  2. Identify the active network profile and confirm the firewall is enabled.
  3. If a trusted application is blocked, use the supported Allow an app through firewall controls or create a rule limited to the required program, port, protocol, and network profile.
  4. Test the application.
  5. Remove temporary rules that are no longer needed.
  6. Only for a brief diagnostic on a network you control, turn the firewall off for the active profile if that test is genuinely necessary, then turn it back on immediately.

Do not disable it for unknown software

An application that demands all firewall protection be disabled deserves additional scrutiny. Verify the publisher and determine what network access it actually needs.

Public networks deserve stronger caution

Coffee shops, hotels, airports, and other shared networks expose the PC to systems you do not control. Do not use them for a firewall-off troubleshooting test.

Third-party security can manage filtering

Some security suites install their own firewall or network-filtering components. Check the product’s status before assuming Microsoft Defender Firewall is the only layer involved.

Managed PCs can enforce policy

Work and school devices may receive firewall configuration centrally. Contact the administrator rather than bypassing an organization-required security control.