How to restore Windows Services to their default state

Last updated on April 23rd, 2016

Sometimes, when your computer is infected with a malware program (virus, trojan, rootkit, etc.), you face problems with critical Windows services, like Windows Firewall, Windows Update or other services which have been compromised or corrupted by the harmful program. In such cases, you must repair or restore these services to their default state. 


This tutorial proposes an easy to try solution to restore critical Windows services to their default state.

Important: Before following the steps in this tutorial, make sure that your computer is 100% clean from harmful programs like rootkits or viruses.

How to easily repair, restore or reset Windows services to their default state.

We have successfully applied the below solution several times to different computers in order to fix the following critical Windows services when they are missing or when they present errors as they are corrupted:

  • Windows Firewall service (MpsSvc): Error Code 5 or Error Code 0x8007042c
  • Windows Update: Service cannot be started or service is missing from services list.
  • Base filtering engine (BFE): couldn’t be started (Error 5: Access is denied).


1. Download the services repair tool by ESET on your computer (e.g. on your desktop).

2. Run "Services repair tool by ESET" with Administrative privileges.

To do this right-click on “ServicesRepair.exe” file and choose “Run as administrator”.

services repair

3. Press “Yes” to the information window.

ESET servicesrepair tool

4. Restart your computer to apply changes.

Windows critical services should run now!


Additional step to perform if Windows services are still missing, cannot be started or they are corrupted:

If you face problems with several services on your computer, then you can run the System File Checker (SFC) tool from command prompt to fix Windows services. To do that:

1. Open an elevated command prompt window by going to:

  • Start > All Programs > Accessories
  • Right-click to “Command prompt” item and choose “Run as administrator”.

command prompt run as administrator

2. In the command window type the following command and press Enter.


sfc snannow

3. Wait and do not use your computer until SFC tool checks and fixes the corrupted system files or services.


4, When SFC tool finishes, reboot your computer and check if Windows services are working again.


Note: If you face errors with specific Windows services then you can download and merge the default registry file for any specific service from this link:

Good luck!

If this article was useful for you, please consider supporting us by making a donation. Even $1 can a make a huge difference for us in our effort to continue to help others while keeping this site free: