I have a server that had problems getting the firewall started. I fixed that and manually recreated critical rules such as DNS, DHCP and SQL. I still cannot turn on file and print sharing and network discovery in Advanced Sharing Settings.
I saw all the suggestions about turning on services but that did not help.
I compared rules from another server and there are a lot of rules missing in Advanced firewall settings relating to network discovery and file sharing. I'd prefer not to manually try to recreate all those rules.
I am remoted into the server so I really don't want to attempt "restore defaults" in Windows Firewall. If I were on site, I would try that.
The firewall settings are in the registry but I don't want to export from one server to another. I'm afraid that may break something.
Is there anyway to SAFELY restore these settings.