View Single Post
  #3 (permalink)  
Old 09-06-2008
ashank
 

Posts: n/a
Re: The Windows Firewall service terminated with service-specific error 13 (0xD). (cannot start firewall)

Here is a possible solution. I got the same error. To fix it, I had to
delete the existing firewall rules in the registry. It worked in my
case, but since it involves registry changes, you have to be careful. It
-may- not work in your case. Also some rules which were manually added
will need to be re-created.

Here are the steps:-

1. This solution is for Windows Firewall error in Vista home edition,
as appearing in Event Log: "The Windows Firewall service terminated with
service-specific error 13 (0xD)."

2. Check in Security Event Log (Event Viewer->Windows Logs->Security).
Is there is any error with Event Id 5027 or 5028? The error message is:
"The Windows Firewall Service was unable to retrieve the security policy
from the local storage. The service will continue enforcing the current
policy. Error Code: 2147942413"

If there is no such error in Security log, *do not* proceed further on
this solution.

3. Open Registry Editor (Start->Run->regedit). Navigate to
HKLM\System\CurrentControlSet\Sevices\SharedAccess \Parameters\FirewallPolicy\FirewallRules.


You will see a bunch of values in the right pane there. Windows
Firewall is not able to load these rules, possibly because of some
corruption.

4. Take a backup of these registry entries. Right Click on
FirewallRules node in the left pane. Click on export. Save the file.
Backup may be required to restore values, in case something goes wrong
later.

5. Delete the rules in the left pane: Select 2nd row from top. Press
Ctrl Shift End. Press Delete.

6. Start Services MMC (Start->Run->Services.msc). Select "Windows
Firewall" ->Right Click->Start. Firewall service should start now.

7. To restore the default set of rules, click on Start->Type Windows
Firewall in the search box. Click on "Windows Firewall"

8. Click on "Allow a program through Windows Firewall". Click on
Advanced Tab->Restore Defaults.

Some programs will need to be manually allowed in the Firewall
settings.


--
ashank
------------------------------------------------------------------------
ashank's Profile: http://forums.techarena.in/members/ashank.htm
View this thread: http://forums.techarena.in/vista-security/969035.htm

http://forums.techarena.in

Reply With Quote