Windows Firewall acts as the first layer of defense against malware, so it is always advisable to keep it turned ‘ON’ – unless you are using a third-party firewall software. If for some unknown reason if you find your Windows Firewall does not start automatically at startup, then here are a few trouble-shooting steps you may want to try out.
Windows Firewall service does not start
1] First scan your machine for malware using a good antivirus software. If you have installed a 3rd party firewall or a Security Suite, then that could also be the cause for the problem. Many a times, third-party security software can disable the Windows Firewall and even prevent it from starting up.
3] Next, type services.msc in Windows Start Search and hit Enter to open up Services. Here ensure that the Windows Firewall Service is started and set on Automatic. Also ensure that the Remote Procedure Call Service & the Base Filtering Engine Service is started and set on Automatic.
4] Now you also have to ensure that the Windows Firewall Authorization Driver (mdsdrv.sys) is running properly.
To do so, type devmgmt.msc in search bar and hit enter to open Device Manager. In the Views tab check on Show Hidden Devices and also show Devices By Connection.
Locate Windows Firewall Authorization Driver in the list and double click on it to open its Properties box. Click on Driver tab and ensure that the process is started, and the startup type is Demand. Click OK.
Reboot. Hopefully your Windows Firewall should be working OK now.
5] If it does not help then run Group Policy Result Tool to check if there is a Firewall policy blocking it. Open an elevated command prompt window, type gpresult -z and hit Enter. Check under Resultant Set Of Policies For Computer, esp under Security Options.
Incidentally, drifting a bit away from the main topic, should you need to access the following panels easily, you can type the following Run commands and hit Enter
Firewall Settings : FirewallSettings
Firewall Control Panel : FirewallControlPanel
Windows Firewall with Advanced Security : wf.msc
You might to see this post if your Windows could not start the Windows Firewall on Local Computer