Fix: Virus and Threat Protection Showing “Engine Unavailable”

The Virus and Threat protection Engine is a built-in feature in Windows that provides security from viruses and malware. However, you receive thisEngine unavailable” error after the Windows Defender update fails to install on the device. In this guide, we will show you how to fix the Virus and threat protection engine’s unavailable Error.

Windows Defender Antivirus Engine Unavailable
Windows Defender Antivirus Engine Unavailable

Workaround: Restart your Computer

You can get the Engine unavailable error when your system did not boot properly. Therefore, as a workaround, you can perform a complete system restart to make sure all programs on your system start properly. Below have given the steps for restarting your computer:

  1. Open the Windows Start Menu by pressing the Win key.
  2. Click on the Power Option below the Windows Settings.
  3. Restart the computer by clicking on the Restart option. 
    Restarting the PC
    Restarting the PC

1. Run the Windows Update Troubleshooter

Windows Update is a built-in feature in Windows that allows your system to detect and repair the errors found in it. Therefore, running a troubleshooter is a must in this situation. You can run the Windows Update Troubleshooter with the steps given below: 

  1. Open the Windows Settings by pressing the Win + I keys together. 
  2. Navigate to Update and Security >  Troubleshoot.
  3. Click on the Windows Update option under “Get up and running.” and run the Windows Update troubleshooter by clicking the “Run the troubleshooter” option.
    Running the Windows Update Troubleshooter
    Running the Windows Update Troubleshooter
  4. After the troubleshooter has detected the problem, it will give you the solutions to fix it. 

2. Restart Security Center Service

Security Center Service monitors your system and notifies you when your device is facing any errors. However, it can also cause issues with the Virus and Threat protection Engine. Therefore, you must restart the service to prevent the error from occurring.

  1. Open the Run Command by pressing the Win + R keys together.
  2. Type “services.ms” in the Search Box and click OK to open the Windows Services.
  3. Now, restart the Security Center Service by right-clicking on it and selecting the “Restart” option.
    Restarting the Security Center Service
    Restarting the Security Center Service

3. Manually Enable the Windows Defender

Windows Defender provides additional protection to your system from viruses. When Windows Defender gets disabled, it will cause issues with the system. Therefore, you must manually enable Windows Defender through the command prompt.

  1. Open the Windows Start Menu by pressing the Win key.
  2. Type “cmd” in the Windows Search bar.
  3. Run the command prompt as an administrator by right-clicking on the app and selecting the “Run as an administrator” option.
    Running the Command Prompt as an administrator
    Running the Command Prompt as an administrator.
  4. Enable the Windows Defender by pasting the following command into the Command Prompt and pressing the Enter key. 
    sc start WinDefend Enable

4. Run the System Scans

Corrupted system files also give rise to this error. Therefore, make sure there are not any corrupted files on your device by performing system scans that will scan your device and repair the defective files. Below are the steps below to performing the system scans:

  1. Open the Windows Start Menu by pressing the Win key.
  2. Type “cmd” in the Windows Search bar.
  3. Run the command prompt as an administrator by right-clicking on the app and selecting the “Run as an administrator” option.
    Running the Command Prompt as an administrator
    Running the Command Prompt as an administrator.
  4. Type the following command in the Command Prompt while giving a space between “sfc” and “/.”
    sfc /scannow
    Running system file checker on the command prompt.
    Running system file checker on the command prompt.
  5. After the scanning is completed, the system file checker automatically repairs the damaged files.
Note: After performing the system file checker, you must run the DISM command and restart your device afterward to make the necessary changes. 
  1. To run the DISM command, Paste the following command into the command prompt.
    Dism.exe /online /cleanup-image /restorehealth
    Running DISM Command on the Command Prompt
    Running DISM Command on the Command Prompt

5. Change Windows Defender Registry Key Values

The Registry Editor consists of several registry keys with each key serving its own purpose. DisableAntiSpyware and DisableAntiVirus are special keys associated with the Windows Defender. When these registry keys are not set to the recommended number, you will face this error. Therefore, you must change the values of both registry keys by following the steps given below:

  1. Open the Run Command by pressing the Win + R keys together.
  2. Open the Registry Editor by typing “regedit” in the search box and clicking OK.
    Opening the Registry Editor
    Opening the Registry Editor
  3. Now, copy and paste the following path into the search bar above and press the Enter key.
    HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender
  4. Click on both the registry keys and type “0” in the Value data box and click OK to confirm the action.
    Setting the value to 0
    Setting the value to 0
     
Note: If you don’t find the registry keys on the panel, follow the steps below to see how to create the keys in the Windows Defender registry:
  1. Open the following path inside the Registry Editor:
    HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender
  2. Right-click on the employ panel on the right.
  3. Now, navigate to New > DWORD (32-bit) Value.

    Creating a DWORD Registry key
    Creating a DWORD Registry key
  4. Name the newly created REG_DWORD as “DisableAntiSpyware” and do the same with “DisableAntiVirus.”
    Renaming the Registry Keys
    Renaming the Registry Keys
  5. Once both registry keys are created, you can change their respective values to the recommended 0. 

6. Temporarily Disable Third-Party Security Software

This error can also occur after inference from third-party security software such as Antivirus. Therefore, make sure that you temporarily disable any antivirus software installed on your system. Follow the steps below to see how to temporarily turn off an antivirus from our device (in this method, we have used Avast as an Example):

  1. Open Avast Antivirus and navigate to Menu > Settings > Protection > Core Shield.
  2. Disable the Avast security feature by turning off the Core-Shield toggle switch.
    Turning on Avast Core Shield
    Turning on Avast Core Shield
  3. Right-click on the Windows Start Button and select the “Task Manager” option.
    Opening Task Manager
    Opening Task Manager
  4. Click on the Processes tab and select the Antivirus program running in the background.
  5. Close the program by clicking on “End Task” at the bottom of the Window. 
    Ending the Task
    Ending the Task

7. Delete conflicting Registry Entry

A corrupted Registry can also be one of the reasons for this error to occur as malware inside the Registry will create corrupted Entries that will prevent the Windows Defender from working. Therefore, you must delete these entries to prevent the Windows Defender Error. Follow the steps below to see how to delete the conflicting Registry Keys:

  1. Open the Run Command by pressing the Win + R keys together.
  2. Type “regedit” in the search box and click OK to open the Registry Editor.
    Opening the Registry Editor
    Opening the Registry Editor
  3. Now, copy and paste the following path into the Registry Editor’s search bar and press the Enter key:
     HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options
  4. Lastly, delete the keys named MSASCui.exeMpCmdRun.exe, and MsMpEng.exe by right-clicking on them and Selecting the “Delete” option. 
    Deleting Conflicting Registries
    Deleting Conflicting Registries

8. Manually Install the Windows Defender Update

Before you move to the last resort, you also have an option to manually download and Install the Windows Defender Update. Simply follow the steps below to see how to Download and Install the Windows Defender Update manually:

  1. Check the total size of the Operating System on your Device by right-clicking on “This PC” and selecting the “Properties” option.
    Checking System Type
    Checking System Type
  2. Go to the Official Microsoft Website and download the Microsoft Defender Antivirus Version corresponding to your Operating System’s size. (For example 64-bits in size).
    Downloading the Windows Defender Update
    Downloading the Windows Defender Update
  3. Click on the three dots in the top right corner and open the downloads page by clicking on the “Downloads” option.
    Opening the Downloads tab
    Opening the Downloads tab
  4. Open the file directory of the Defender by clicking on “Open in Folder.”
    Opening file in Directory
    Opening file in Directory
  5. Double-click on the downloaded Defender and click Run to install it on your system.
    Running the EXE file
    Running the EXE file

9. Perform a Clean Boot

If you are still facing the Virus and threat protection engine’s unavailable Error, then as a last resort, you must perform a Clean Boot which is a feature used to start your system on a minimal set of drivers and startup programs. 

ABOUT THE AUTHOR

Muhammad Zubyan


Muhammad Zubyan is a certified Google IT Support Professional with over 7 years of extensive experience. He has worked on more than 1500 computers, gaining valuable insights that enable him to detect and troubleshoot any complicated root cause of Windows-related issues and errors. In addition to managing Appuals as a Senior Editor, he is currently developing his own Game Optimization program that caters to both gamers and casual users alike.