Windows

How to Restore Firewall Settings in Windows 11

Richard
Written by
Richard
Aug 9, 2021 Updated Apr 14, 2026 2 min read

Sometimes, your internet or apps might stop working correctly. This can happen if your firewall settings get messed up or if a virus changes them. Resetting your Windows Firewall to its original state can often fix these problems.

Why do this?

You should reset your firewall if your apps cannot connect to the internet, or if you suspect that bad software has changed your security rules to allow unwanted access to your computer.

What happens when done?

When you finish, all your custom firewall rules will be deleted. Any apps you previously gave special permission to pass through the firewall will be blocked again. You will need to re-approve these apps the next time you open them.

To start, open your Settings menu. You can press the Windows key + I on your keyboard or click on Start %%LNK0%% and then select Settings.

Windows 11 Start menu showing Settings option

Once the Settings window is open, click on Privacy & security. Then, select Windows Security from the list.

Windows Security tile

Next, click on the Firewall & network protection link. This will open your security dashboard.

Windows Security interface showing Firewall and network protection

Scroll down to the bottom of the page. Click the link that says Restore firewalls to default.

Option to restore Windows 11 firewall to default settings

A new window will appear. Click the Restore defaults button.

Windows 11 confirmation screen for restoring firewall defaults

Note: This step requires admin privileges. A confirmation box will pop up. Click Yes to finish the process.

Confirmation dialog for resetting Windows 11 firewall settings

Finally, restart your computer to apply the changes.

If you prefer to use the command line, you can run this command as an administrator:

💻Code
netsh advfirewall reset

Summary

Resetting your firewall is a great way to fix network connection issues and clear out harmful rules created by malware. Remember that this process wipes your custom settings, so you will need to re-authorize your trusted apps once you are back up and running. Keeping your firewall at its default state helps maintain a secure and stable system.

Was this guide helpful?

Tags: #Windows 11
Richard

About the Author

Richard

Tech Writer, IT Professional

Richard, the owner and lead writer at Geek Rewind, is a tech enthusiast passionate about simplifying complex IT topics. His years of hands-on experience in system administration and enterprise IT operations have honed his ability to provide practical insights 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.

Leave a Reply

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

Exit mobile version