While you should always have the Windows 11 firewall enabled, you may need to disable the protection for various reasons. For example, you are troubleshooting a network problem, testing an application over the network, or when you want to use another security application. Regardless of the reason, Windows 11 lets you disable the firewall in at least four ways using the Windows Security app, Control Panel, Command Prompt, and PowerShell. In this guide, you will learn how to disable (re-enable) the built-in firewall on Windows 11.

Disable firewall using Windows Security on Windows 11 Disable firewall using Control Panel on Windows 11 Disable firewall using Command Prompt on Windows 11 Disable firewall using PowerShell on Windows 11

Disable firewall using Windows Security on Windows 11

To disable the firewall through Windows Security, use these steps: Once you complete the steps, the firewall will disable in the active network profile. If you want to disable the firewall for all networks, turn off the security feature for all the profiles, including “Domain network,” “Private network,” and “Public network.”

Enable firewall using Windows Security

To enable the firewall on Windows 11, use these steps: After you complete the steps, the Microsoft Defender Firewall will enable again on the computer.

Disable firewall using Control Panel on Windows 11

To disable the Windows 11 firewall, use these steps: Once you complete the steps, the firewall will no longer protect the device from malicious connections.

Enable firewall using Control Panel

To re-enable the firewall with Control Panel, use these steps: After you complete the steps, the built-in firewall will enable on the computer.

Disable firewall using Command Prompt on Windows 11

To disable the firewall on Windows 11 using Command Prompt, use these steps: After you complete the steps, the firewall will turn off in the network profiles you specified.

Enable firewall using Command Prompt

To enable the built-in firewall with Command Prompt, use these steps: Once you complete the steps, the firewall will turn on for the network profiles you specified.

Disable firewall using PowerShell on Windows 11

To disable the Defender Firewall with PowerShell Commands, use these steps: After you complete the steps, the Defender Firewall will turn off on the device.

Enable firewall using PowerShell

To enable the firewall with PowerShell commands, use these steps: Once you complete the steps, the firewall will allow or deny network access depending on the configured rules.

		      All content on this site is provided with no warranties, express or implied. Use any information at your own risk. Always backup of your device and files before making any changes. Privacy policy info.