How To Fix Windows Defender Error Code 0x8007139F On Windows 11/10

Windows Defender error code 0x8007139F occurs when Windows Defender’s definition update or Windows Update corrupts the Windows Defender files. It can also occur when Windows Defender conflicts with other security software installed on your computer.

The Windows Defender error code 0x8007139F is often further accompanied by the message “The group or resource is not in the correct state to perform the requested operation.”

In this post, we’ll look at the various ways in which you can fix the Windows Defender error code 0x8007139.

Words of Wisdom

While you fix the issue ensure that you keep another Antivirus handy so that you don’t put the security of your PC in jeopardy. Systweak Antivirus, for instance, is one of the best lightweight Antivirus for Windows PCs. It comes with features like –

  • Real-time protection from malware.
  • Multiple scan modes – Quick, Deep, and Custom.
  • Exploit protection to help you steer clear of threats that may exploit vulnerabilities on your PC
  • Web and Firewall protection.
  • Systweak Antivirus updates its database of malicious threats so that not even the most recent malware can go unidentified.

Download Systweak Antivirus Now

We have discussed the various aspects of Systweak Antivirus – features, pricing, and various other aspects in this post.

See Systweak Antivirus In Action

Fix Windows Defender Error Code 0x8007139F

Solution No. 1 – Run SFC

Corrupt system files are often the root cause behind many Windows related issues. If you have encountered Windows Defender error 0x8007139F, chances are that corrupt files are present on your computer. The easiest way to identify and remove corrupt files is to run the SFC scan via administrative Command Prompt. Here are the steps for the same.

Step 1 – In the Windows search bar, type cmd, and from the right-hand side, click on Run as administrator.

Step 2 – When the Command Prompt window opens, type SFC /Scannow and press Enter.

SFC Scannow

Step 3 – Once the scan is over, check if the issue is resolved or not.

Solution No. 2 – Turn the Firewall On and Set Windows Defender To Automatic

In case you have a third-party Antivirus, you would want to first disable its firewall. Next, ensure that the Windows firewall is enabled. To do that –

Step 1 – Open the Control Panel by typing Control in the Windows search bar and then clicking on Open.

Step 2 – Click on View by dropdown and click on Large icons.

Step 3 – Click on Windows Defender Firewall.

Step 4 – From the left, click on Turn Windows Defender Firewall on or off.

windows antivirus

Step 5 – Ensure that the Turn on Windows Defender Firewall radio button is checked under both Private and Public network settings. If not, click on both these radio buttons and click on OK.

customize settings

Step 6 – Next, press Windows + R. In the Run dialog box, type services.msc and press Enter.

Run program

Step 7 – Locate Windows Defender Firewall, right-click on it, and click on Start.

windows defender

Solution No. 3 – Reset Windows Security

One of the ways to fix the error code 0x8007139F is to reset the Windows Security app. This will help delete the data which is interfering with the functionality of the app. Here are the steps to reset Windows Security –

Step 1 – In the Windows search bar, type Windows Security. Right-click on it and click on App Settings.

Step 2 – Scroll down till you reach the Reset column.

windows security

Step 3 – Here, click on the Reset button.

Solution No. 4 – Repair Windows Defender Registry

Last but not least, if up until now you are still getting the error code 0x8007139F, you can try fixing the Windows Defender Registry. We’d urge you to Backup registry before trying to repair Windows Defender Registry. Once you have done that, follow the steps mentioned below –

Step 1 – Open a Notepad and save it as .reg in a location on your computer.

Step 2 – Copy and paste the following lines of code in your notepad

Windows Registry Editor Version 5.00

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


“Group”=”COM Infrastructure”







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





































Step 3 – Save the file again. Double-click on the file to execute it. Click on Yes when the prompt appears.

Step 4 – Reboot the PC and now try to run Windows Defender.

Wrapping Up

We hope that the steps above have been helpful for you in getting rid of the Windows Defender error 0x8007139F. If yes, do let us know which of the above solutions helped you out. For more such content, keep reading WeTheGeek.

You can reach out to us on Facebook, Instagram, Twitter, YouTube, and Pinterest.

Leave a Reply

Your email address will not be published. Required fields are marked *

Subscribe Now & Never Miss The Latest Tech Updates!

Enter your e-mail address and click the Subscribe button to receive great content and coupon codes for amazing discounts.

Don't Miss Out. Complete the subscription Now.