Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

Symptoms

When you try to start a Windows Service such as the Windows Firewall, DHCP client, or Diagnostic Policy Service, you may get the following error:

Windows could not start the Windows Firewall, DHCP client, or Diagnostic Policy 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.

Resolution

To resolve this issue, click the Fix it button below to automatically diagnose and fix common Windows Firewall problems, such as the following:

  • Windows Firewall is not the default firewall

  • Windows Firewall does not start

  • Windows could not start the Windows Firewall

  • Service-specific error 5 (0x5) Remote Assistance does not work

  • You cannot access shared files and printers

To download and run this automated troubleshooter, click the Fix this problem link:



If you would prefer to fix this problem yourself rather than using the above automated troubleshooter, add the permission for the account on these registry keys. For example, here are the steps for the Windows Firewall service:

  1. Click the Start button, then type regedit in the Search box.

  2. Right click regedit.exe, then click Run as administrator. If prompted, enter your user name and password and click OK.

  3. Browse to one of the following keys:

    • HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy permission needed:

    • HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Defaults\FirewallPolicy

  4. Right click the key, and click Permissions.

  5. Under Group or user names, select your account.

  6. Under the Allow column in Permissions, make sure the Full Control and Read boxes are checked.

  7. Click Apply, then click OK.

  8. Repeat steps 3-7 for the other key.

  9. Browse to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Epoch

  10. Right click the key, then click Permissions, then click Advanced.

  11. Under the Name column, click the one that states MpsSvc, then click Edit.

  12. Under the Allow column, make sure the Query Value and Set Value boxes are checked.

  13. Click OK to close the window, then click Apply, then click OK.

If your error is DHCP related, follow these steps:

  1. Click the Start button, then type regedit in the Search box.

  2. Right click regedit.exe, then click Run as administrator. If prompted, enter your user name and password and click OK.

  3. Browse to the following key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dhcp\Configurations

  4. Right click the key, and click Permissions.

  5. Under Group or user names, select your account.

  6. Under the Allow column in Permissions, make sure the Full Control and Read boxes are checked.

  7. Click Apply, then click OK.

  8. Browse to the following key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dhcp

  9. Right click the key, then click Permissions, then click Advanced.

  10. Under the Name column, click the one that states MpsSvc, then click Edit.

  11. Under the Allow column, make sure the Query value, Create value, Enumerate Subkeys, Notify, Read Control boxes are checked.

  12. Click OK to close the window, then click Apply, then click OK.

If the error is related to the Diagnostic Policy Service, follow these steps:

  1. Click the Start button, then type regedit in the Search box.

  2. Right click regedit.exe, then click Run as administrator. If prompted, enter your user name and password and click OK.

  3. Browse to the following key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DPS\Parameters

  4. Right click the key, and click Permissions.

  5. Under Group or user names, select your account.

  6. Under the Allow column in Permissions, make sure the Full Control and Read boxes are checked.

  7. Click Apply, then click OK.




Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×