Monthly Archives: January 2012

Windows 7 firewall service won’t start

Problem

When you attempt to start the Windows 7 firewall service you receive the following error

Windows could not start the Windows Firewall on Local Computer. For more information, review the system event log. If this is a non-Microsoft service, contact the service vendor, and refer to service-specific error code 5.

If you look in the System Event Log, you will see event 7024 from the Service Control Manager

The Windows Firewall service terminated with service-specific error Access is denied..

Cause

This may be caused because the “NT Service\MpsSvc” account does not have adequate permissions on the following registry key

HKLM\SYSTEM\CurrentControlSet\Services\SharedAccess

Solution

  1. In Registry Editor, browse to the key HKLM\SYSTEM\CurrentControlSet\Services\SharedAccess
  2. Right click SharedAccess, and click Permissions.
  3. Click Add.
  4. In the “Enter the object names to select” field, type “NT SERVICE\mpssvc”. Then click Check Names. The name should change to MpsSvc
  5. Click OK.
  6. Select Full Control in the Allow column.
  7. Click OK.

Applies To

Windows 7 (all versions) / Windows Vista (all versions)

Windows 7 firewall service is missing

Problem

You receive a message from the Action Center that the Windows Firewall is turned off. When you attempt to turn it on, you receive a message like this:

Windows Firewall can’t change some of your settings
Error code 0×80070424

If you go into Services, you will find that the Windows Firewall service is missing. Also, the following registry key will be missing as well:

HKLM\System\CurrentControlSet\Services\MpsSvc

Solution

To fix this issue, copy the missing registry key from a working Windows 7 computer. If you don’t have access to another computer, download this reg file to your desktop and double-click it to import the missing key into your registry.

Now reboot your computer and the Windows Firewall service should be started.

If the service still won’t start, you may have permission problems or you may have other missing services such as the Base Filtering Engine

Applies To

Windows 7 (all versions)