Short answer: “Windows Firewall can’t change some of your settings” with error code 0x80070422 almost always means the Windows Defender Firewall service, or a service it depends on, is stopped or disabled. Open Services, find Windows Defender Firewall and Base Filtering Engine, set both to Automatic and start them, then restart the PC. If the options are grayed out with “some settings are managed by your system administrator”, Group Policy or a management tool controls the firewall. If Windows Security says another app is managing it, a third-party antivirus firewall has taken over. If services won’t start, run sfc /scannow and DISM. Because malware sometimes disables the firewall, run a full Microsoft Defender scan afterwards.
What the message really means
The firewall settings screen in Control Panel and Windows Security is just a front end. The actual work is done by the Windows Defender Firewall service (internal name MpsSvc), which relies on the Base Filtering Engine service (BFE). When you try to turn the firewall on, Windows asks the service to apply the change. If the service isn’t running or is disabled, Windows reports that it can’t change your settings. Error 0x80070422 is a general Windows code meaning a service can’t be started because it’s disabled or has no enabled devices associated with it.

The same symptom also shows up as Error 1058 from the command line, which also means a disabled service.
Match the message to the cause
| What you see | Likely cause | Where to fix |
|---|---|---|
| “Windows Firewall can’t change some of your settings. Error code 0x80070422” | Firewall or BFE service stopped or disabled | Services |
| “For your security, some settings are managed by your system administrator” | Group Policy, registry policy, or device management | Group Policy or your IT team |
| “These settings are being managed by vendor application” | Third-party antivirus with its own firewall | That app’s settings |
| Base Filtering Engine missing from Services | Damaged service registration or malware | System repair, malware scan |
| Firewall turns itself off after reboot | Policy, conflicting software or malware | Policies, startup apps, full scan |
Fix 1: start the firewall services
- Press Windows key + R, type services.msc and press Enter.
- Find Base Filtering Engine. Double-click it, set Startup type to Automatic, click Start if it isn’t running, then OK.
- Find Windows Defender Firewall. Set Startup type to Automatic and click Start.
- Restart the computer and try turning the firewall on again.
On recent Windows versions, the startup type options for these services may be grayed out because Windows protects them. If so, they should already be set correctly, and the problem lies elsewhere (a policy, a third-party firewall or corruption). You can check status from an administrator Command Prompt:
sc query mpssvc
sc query bfe
Both should report STATE: RUNNING. If either reports STOPPED and won’t start, note any error code it gives.
Some community fixes also suggest checking that Windows Management Instrumentation is running, since some firewall tools depend on it.
Fix 2: check for a third-party firewall
Security suites from antivirus companies often include their own firewall. When installed, they register with Windows Security and Windows turns its own firewall off to avoid conflicts. Open Windows Security, then Firewall and network protection. If it names another app, that app is in charge; manage the firewall there.
Problems start when a third-party product is uninstalled badly or its subscription expired. Windows may still think it’s managing the firewall. Use the vendor’s official removal tool to clean it up completely, then restart and check that Windows Defender Firewall has taken over again. Our guide to Windows Security not opening covers leftover security software in more depth.
Fix 3: rule out Group Policy and management
If settings are grayed out with an administrator message, a policy is controlling the firewall. On work or school computers, this is expected; contact your IT team rather than changing it. On a personal computer, it’s a warning sign, because malware and some “optimizer” tools set policies to disable security features.
To see what’s applied, run this from an administrator Command Prompt and open the report it creates:
gpresult /h "%USERPROFILE%\Desktop\gp.html"
On Windows Pro editions, you can also open the Local Group Policy Editor (gpedit.msc) and look under Computer Configuration, Administrative Templates, Network, Network Connections, Windows Defender Firewall. Policies are also stored in the registry under HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsFirewall. If you find firewall policies on a personal PC that you didn’t set, take note before deleting anything and run a full malware scan.

A related problem affects Microsoft Defender Antivirus itself; our guide to Defender “turned off by Group Policy” explains how to read and remove those policy keys.
Fix 4: reset the firewall to defaults
If services run but settings still won’t change, reset the firewall configuration. This removes all custom rules, including ones added by apps, which may then ask for network permission again.
- Through the interface: Windows Security, Firewall and network protection, Restore firewalls to default.
- From an administrator Command Prompt:
netsh advfirewall reset
In PowerShell, you can then confirm each profile is enabled:
Get-NetFirewallProfile | Format-Table Name, Enabled
Set-NetFirewallProfile -Profile Domain,Public,Private -Enabled True
Fix 5: repair Windows system files
If Base Filtering Engine is missing or won’t start, system files or service registrations may be damaged. From an administrator Command Prompt, run:
DISM /Online /Cleanup-Image /RestoreHealth
sfc /scannow
Restart afterwards. If these tools report errors they can’t fix, a repair install of Windows using Microsoft’s installation media keeps your files and apps while replacing system components.
Fix 6: check for malware
Some malware disables the firewall and security services, deletes the BFE service or adds policies to keep protection off. If you didn’t make these changes and there’s no third-party security app, run a full scan with Microsoft Defender, then a Microsoft Defender Offline scan, which runs before Windows starts. Our Windows malware removal guide covers scan types and when to reset instead.
Why it’s worth fixing
The Windows firewall blocks unsolicited incoming connections, which protects you on public networks and stops some malware spreading between computers on the same network. Running without it, especially on laptops that join hotel or cafĂ© Wi-Fi, increases exposure. Make sure the Public profile is on whenever you connect to networks you don’t control.
Frequently asked questions
Is it safe to set firewall services to Automatic?
Yes. Automatic is the Windows default for Windows Defender Firewall and Base Filtering Engine. Disabled is not normal unless another product or policy deliberately manages the firewall.
Does resetting the firewall delete my files?
No. It only removes firewall rules and settings. Some apps may ask for network permission again afterwards.
My work laptop shows the administrator message. Should I change it?
No. Your organization manages that setting. Contact your IT team if you think something is wrong.
Can I use a third-party firewall instead?
Yes, a reputable security suite’s firewall can replace Windows Defender Firewall. Just make sure it’s fully installed, updated and showing as active in Windows Security.



