Hello
Thank you for posting in Q&A forum
The error shows that your firewall can’t start because can’t change your settings, you I guess your firewall service has been disabled, you can try below step to see if it can fix your problem.
Type Win+R >>> enter services.msc >>>find “Windows Defender Firewall “check status is disabled or not.
You can switch it too automatic from disabled
You can use Microsoft Safety Scanner for scan your computer and find the malware, it may will fixed after delete the malware
Microsoft Safety Scanner Download - Microsoft Defender for Endpoint | Microsoft Learn
for more information, you can check below link:
“0x8007042c” error message when you try to start Windows Firewall - Microsoft Support
Best regards
Yanhong
=====================================
If the answer is helpful, please click "Accept answer" and upvote it