Windows Defender is the security component of the Windows Operating System. It was introduced in the latest version of Windows to eliminate malware and other viruses. Ordinarily, it is free from bugs. However, users can still experience Windows Defender Error Code 0x8007139f.

About Windows Defender Error Code 0x8007139f

Windows Defender is turned off whenever a third-party security software is installed. As a result, users may notice that their Windows Defender could not be started and result in the error code 0x8007139f

In general, users can face this error when these software starts interfering with Windows Defender. 

Some other common causes of this error are:

  • Windows Defender program service not running 
  • Corrupted system files 
  • Malware attack 
  • Interference with anti-malware or anti-spyware programs 

Fixing Windows Defender Error Code 0x8007139f

To begin with, the Windows Defender error code 0x8007139f is easy to resolve. Before you head over to the possible solutions, try the following quick fixes – 

  • Run a full system scan 
  • Disable third-party security software 
  • Remove anti-malware or anti-spyware program 
  • Update to the latest Windows OS 
  • Turn on Windows Firewall 

If these fixes work in resolving this particular error, then you do not need to head further. However, if the issue remains, follow the solutions mentioned below one by one.

Solution 1 – Run System File Checker 

Windows operating systems have an in-built system file checker. It can automatically scan and fix corrupted system files on the computer. 

Follow these steps to run this program on your system. 

  1. Click on the Search button next to Start. Type ‘cmd’. 
  2. Right-click and select ‘Run as Administrator’. Next, type ‘sfc /scannow’ and press Enter. 
  3. Finally, restart your system after the command has executed.

Solution 2 – Check Windows Defender Service 

Generally, a malware or virus infection can turn off some important Windows services. As a result, Windows Defender may not be able to start as its service is turned off. 

Therefore, you need to check whether it is running or not by following these steps;  

  1. Click on the Search button. Next, type ‘services.msc’ and click on it. 
  2. Find Windows Defender and double-click this service. 
  3. Here, you’ll find an option for ‘Startup type’. Click and change it to Automatic. Click Ok. 
  4. Next, right-click on the service and select Start. 
  5. Restart your computer. 

Solution 3 – Fix Windows Defender Registry Keys 

Another way to fix Windows Defender error code 0x8007139f is by fixing its registry keys. Besides, this process is very simple and easy to follow in the given steps. 

  1. Initially, make a backup of ‘HKEY_LOCAL_MACHINE’ before doing any changes.
  2. Click on the Search button. Type ‘notepad’ and press Enter. 
  3. Copy and paste the following statements – 
  • Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WinDefend]

“DisplayName”=”@%ProgramFiles%\\Windows Defender\\MsMpRes.dll,-103”

“ErrorControl”=dword:00000001

“Group”=”COM Infrastructure”

“ImagePath”=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,\

  74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,73,\

  00,76,00,63,00,68,00,6f,00,73,00,74,00,2e,00,65,00,78,00,65,00,20,00,2d,00,\

  6b,00,20,00,73,00,65,00,63,00,73,00,76,00,63,00,73,00,00,00

“Start”=dword:00000002

“Type”=dword:00000020

“Description”=”@%ProgramFiles%\\Windows Defender\\MsMpRes.dll,-3068”

“DependOnService”=hex(7):52,00,70,00,63,00,53,00,73,00,00,00,00,00

“ObjectName”=”LocalSystem”

“ServiceSidType”=dword:00000001

“RequiredPrivileges”=hex(7):53,00,65,00,49,00,6d,00,70,00,65,00,72,00,73,00,6f,\

  00,6e,00,61,00,74,00,65,00,50,00,72,00,69,00,76,00,69,00,6c,00,65,00,67,00,\

  65,00,00,00,53,00,65,00,42,00,61,00,63,00,6b,00,75,00,70,00,50,00,72,00,69,\

  00,76,00,69,00,6c,00,65,00,67,00,65,00,00,00,53,00,65,00,52,00,65,00,73,00,\

  74,00,6f,00,72,00,65,00,50,00,72,00,69,00,76,00,69,00,6c,00,65,00,67,00,65,\

  00,00,00,53,00,65,00,44,00,65,00,62,00,75,00,67,00,50,00,72,00,69,00,76,00,\

  69,00,6c,00,65,00,67,00,65,00,00,00,53,00,65,00,43,00,68,00,61,00,6e,00,67,\

  00,65,00,4e,00,6f,00,74,00,69,00,66,00,79,00,50,00,72,00,69,00,76,00,69,00,\

  6c,00,65,00,67,00,65,00,00,00,53,00,65,00,53,00,65,00,63,00,75,00,72,00,69,\

  00,74,00,79,00,50,00,72,00,69,00,76,00,69,00,6c,00,65,00,67,00,65,00,00,00,\

  00,00

“FailureActions”=hex:80,51,01,00,00,00,00,00,00,00,00,00,03,00,00,00,14,00,00,\

  00,01,00,00,00,60,ea,00,00,01,00,00,00,60,ea,00,00,00,00,00,00,00,00,00,00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WinDefend\Parameters]

“ServiceDllUnloadOnStop”=dword:00000001

“ServiceDll”=hex(2):25,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,46,00,69,\

  00,6c,00,65,00,73,00,25,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77,00,73,00,\

  20,00,44,00,65,00,66,00,65,00,6e,00,64,00,65,00,72,00,5c,00,6d,00,70,00,73,\

  00,76,00,63,00,2e,00,64,00,6c,00,6c,00,00,0

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WinDefend\Security]

“Security”=hex:01,00,14,80,04,01,00,00,10,01,00,00,14,00,00,00,30,00,00,00,02,\

  00,1c,00,01,00,00,00,02,80,14,00,ff,01,0f,00,01,01,00,00,00,00,00,01,00,00,\

  00,00,02,00,d4,00,07,00,00,00,00,00,28,00,ff,01,0f,00,01,06,00,00,00,00,00,\

  05,50,00,00,00,b5,89,fb,38,19,84,c2,cb,5c,6c,23,6d,57,00,77,6e,c0,02,64,87,\

  00,0b,28,00,00,00,00,10,01,06,00,00,00,00,00,05,50,00,00,00,b5,89,fb,38,19,\

  84,c2,cb,5c,6c,23,6d,57,00,77,6e,c0,02,64,87,00,00,14,00,fd,01,02,00,01,01,\

  00,00,00,00,00,05,12,00,00,00,00,00,18,00,ff,01,0f,00,01,02,00,00,00,00,00,\

  05,20,00,00,00,20,02,00,00,00,00,14,00,9d,01,02,00,01,01,00,00,00,00,00,05,\

  04,00,00,00,00,00,14,00,8d,01,02,00,01,01,00,00,00,00,00,05,06,00,00,00,00,\

  00,28,00,15,00,00,00,01,06,00,00,00,00,00,05,50,00,00,00,49,59,9d,77,91,56,\

  e5,55,dc,f4,e2,0e,a7,8b,eb,ca,7b,42,13,56,01,01,00,00,00,00,00,05,12,00,00,\

  00,01,01,00,00,00,00,00,05,12,00,00,00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WinDefend\Enum]

“0”=”Root\\LEGACY_WINDEFEND\\0000″

“Count”=dword:00000001

“NextInstance”=dword:00000001

  1. Consequently, click on the Save As option. Here, go to Save as type and choose ‘All Files’. 
  2. Rename this to ‘fixing.reg’ and save it. Close the notepad. 
  3. Lastly, navigate and execute fixing.reg.  
  4. Restart PC. 

Conclusion 

To summarize, following the fixes stated above, the Windows Defender error code 0x8007139f should be resolved from your system. In addition, you can post your queries or share additional information in the comments section below.