How to Fix Windows Defender Error Code 0X8007139F?

error code 0x8007139f

Keeping Windows up to date is quite necessary, but over time you may run into Windows Defender error code 0x8007139f while trying to run the Windows Defender software or installing the latest updates. This is an annoying problem and occurs because of a hardware or software problem. Generally, the error code 0x8007139f comes with the following error message: “The group or resource is not in the correct state to perform the requested operation.”

In most cases, a corrupt or damaged operating system and system files are the main cause of this problem. Apart from this, improper handling of the device can also lead you to the Windows Defender error. Whatever the cause, you should resolve this issue as early as possible. Otherwise, this error can permanently damage your PC.

If you are one of them who comes across this, go through this post to get rid of this situation. Well, in this post you will get all the reliable solutions that can help you fix the Windows Defender related problems.

Why does Windows Defender Error Code 0x8007139f occur?

There are several instances when such types of Windows Defender errors occur. And damaged system files are the ultimate cause of this failure. Sometimes Windows Defender interferes with other antivirus software pre-installed on the system. Basically, this conflict causes Windows Defender to stop its execution and as a result, the problem ‘Windows Defender could not be started with error code 0x8007139f‘. In addition, there may be a problem with the Windows Defender service itself.

These are the main causes that can lead you to the Windows Defender error code 0x8007139f. To solve this issue, you need to learn some essential solutions. So let’s check out the article below where you will get all the possible hacks to fix this problem.

Fix Windows Defender Error Code 0x8007139f: Simple Methods

Once you get stuck with Windows Defender error code 0x8007139f, you will not be able to access the Windows Defender program. In this situation, you need to know the exact way to resolve the issue. In the section below, we have used several proven ways to fix this error. You just need to follow these methods in order.

Method 1: Check the security software

We have already mentioned that third-party security software can be the main cause of this problem as it can interact with Windows Defender and the resulting errors. So before going through the technical process, you need to check the security software. It is recommended to disable the security of third parties you use.

To disable virus protection:
  • Firstly, you need to go to the ‘Microsoft Security Essential‘ icon. You can find it in the Windows notification area.
  • Now navigate to the ‘Settings‘ tab.
  • On the Settings tab, you need to click on the option ‘Real-time protection‘.
  • Then disable the ‘Enable real-time protection‘ button.
  • When it’s done, just hit the Apply button and the OK button to save the new changes.

After disabling virus protection, check if the problem still occurs. If so, remove the security programs. Windows has its own security programs in the form of Windows Defender. So after removing the security software, your device will still be protected. If the problem is resolved after removing the conflicting software, reinstall it or switch to another set of software if necessary.

Remove the third-party security program:
  • First click the Start icon.
  • Then navigate to the ‘Settings’ section.
  • In the settings, tap on the ‘System’.
  • Now click on the ‘Apps and features’ option in the left pane.
  • After that, you have to choose the application or software you want to remove.
  • Now press the Delete button.
  • Once it’s done, restart your device and check if the error code is removed or not.

If you still get the same error message then proceed with the next method.

Method 2: Run the Windows Update Troubleshooter

You can easily fix the Windows Defender error code 0x8007139f by running the Windows Update Troubleshooter tool. As we know, the Windows Update Troubleshooter is a built-in tool designed to fix the Windows update problem. It can also fix Windows Defender related problems. Therefore, you just need to run the Windows Update Troubleshooter tool and it will automatically fix the internal glitches and bugs. To run this tool, you need to proceed with the instructions below.

First of all, you need to go to the Settings app by pressing the Windows logo key and I key. When the Settings app opens, navigate to the ‘Update & Security’ section. Now look for the ‘Troubleshoot‘ button. You will find this option in the left pane. 

After this process, select the ‘Windows Update‘ button and then click the ‘Run the troubleshooter’ button. Once you perform this action, the troubleshooting wizard will give you the direction to continue with the rest of the process. When the troubleshooting process is complete, check if the problem is resolved. If the error code still appears on the screen then check out the methods below.

Method 3: Run SFC and DISM scans

In most cases, such kind of Windows Defender problem appears due to the corrupted system files. This can be a critical issue, but you can easily fix it by running the SFC and DISM scans. To do this, you need to perform the task below:

  • Start Command Prompt as an administrator by pressing the Windows + X function keys all the way and then select the PowerShell (Admin) or Command Prompt (Admin).
  • Now at the command prompt type “sfc / scannow” and press Enter.

The SFC scan starts automatically. Once it is done, check if the problem is solved. If not, you may need to use the DISM scan. So you need to start Command Prompt as administrator. Then in the command prompt type ‘DISM / Online / Cleanup-Image / RestoreHealth’ and hit Enter. This process takes about 20 minutes, so don’t interrupt the process.

Method 4: Create a new user account

Your user account may be corrupt and for this reason, you may encounter Windows Defender error code 0x8007139f. In that case, we recommend that you create a new user account. Please follow the instructions below:

  • First navigate to the Settings app and then select the ‘Accounts’
    Now go to the ‘Family and other people’ section in the left pane.
  • Then click on ‘Add someone else to this PC’
  • When you’re done, choose the option ‘I don’t have this person’s credentials’.
  • After that, you will be asked to enter your Microsoft account credentials and at that point just click on ‘Add a user without a Microsoft account’.
  • Now enter a username and password for your new user account.
    When it’s done, just hit Next.

Once the new user account is created, you can switch to it and see if the problem gets removed.

Method 5: reset the Windows Update components

If the Windows Update components are not working properly, you may end up with such a Windows Defender error. In that case, you need to reset the Windows Update components. To do that, launch the Command Prompt as an administrator. Then in the command prompt, enter the following commands one by one. Keep in mind that you have to press the Enter key after each command.

  • First, ‘just stop wuauserv’. Then ‘just stop cryptSvc’
  • Then ‘just stop bits’. Now, ‘just stop msiserver’
  • Then ‘Ren C: WindowsSoftwareDistribution SoftwareDistribution.old’
  • When you are done, ‘Run C: WindowsSystem32catroot2 Catroot2.old’
  • Then ‘just start wuauserv’. Then ‘just start cryptSvc’
  • Hierna ‘net start bits’
  • Finally ‘just start msiserver’

After performing this action, check if the problem is resolved. If you don’t want to run these above commands, you can also create Windows Update Reset Script and the commands will run automatically.

Method 6: perform a system restore

Moreover, you can also fix the Windows Defender problem by performing a system restore. A system restore is an advanced feature that can restore your device to its previous state, and can solve multiple problems in the meantime. So, aside from the Window Defender related issues, if you ever get an additional update error, you can restore the system.

To do that, you need to open the System Restore window by pressing the Windows logo key + S function key all the way. After that you have to choose ‘Create a restore point’ in the menu. Once done, simply navigate to the System Properties window and tap on the ‘Systrem Restore’ option. 

Now in the System Restore window tap on the Next button to continue. Then find the option ‘Show more restore points’. Once you find this option, make sure the option is checked. If not, check that option. Then choose the desired restore point and click the Next button. Now follow the guideline on the screen to restore the device. When it’s done, you can try downloading the missing updates.

We hope the above solutions are very helpful to you. However, if you have additional questions or queries regarding this issue, you can leave a comment in the feedback section below.

Sarah Johnson is a Microsoft Office expert and I am working in the technology industry for the last 5 years. As a technical expert, I wrote technical blogs, white papers, and reviews for many websites such as www.office.com/setup.

Leave a Reply

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