I think I've been affected by a virus which give me a real hard time to repair. I’d like to share with you to save you many hours if you ever have the same problem.
Symptomes:
How to identify the source of the bug:
How to identify if the solution can fix your problem:
Add permission: add user ‘Everyone’ and give it ‘Full Control’. Retry, it should work… Remove the user ‘Everyone’ which is not the right way to solve the problem.
The problem probably lie in the fact that you are missing another permission on every “Epoch” key under “HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\SharedAccess”.
Solution:
The solution had been tested for the firewall but should probably could be applied to other services. See “Identify the source of the bug” to identify if it apply to your service and what registry key you need to modify.
This solution apply at least for the Windows Firewall service:
Your done… Good luck!