How to Fix Error 0x8007007e in Windows?

You can get the 0x8007007e error while upgrading to Windows 10 or performing a Windows update. This error usually prevents you from upgrading or updating your system. Sometimes the error shows up with a “Windows have encountered and unknown error” or “Failed to install the update/build. Please Try again” message as well.

There are usually two things that can cause this issue. The first one is any third party software, especially an antivirus, preventing the update or upgrade. The second is a corrupted windows file or a system file or a registry file.

The issue can be solved by checking what is causing the issue. If a third party software is the reason behind the error then disabling it during the upgrade solves this problem. But if that doesn’t solve the problem then fixing Windows files solves the problem.

First try the method 1 which will most likely solve the issue. If that doesn’t solve the problem then try method 3 to check if a software or service is causing the problem. At the end, try the method 2 which will definitely solve the issue.

Method 1: Disable 3rd party Antivirus

  1. Right click the antivirus icon in the system tray (on the right bottom corner) and select Disable.
  2. If that doesn’t work, double click the antivirus icon. Select the Disable option from the pop up.

Now try to upgrade and see if the issue is still there.

Note: Having an antivirus is important as it protects your computer from threats. Do not forget to enable your antivirus after you are finished upgrading the Windows.

To enable the antivirus, follow these steps

  1. Right click the antivirus icon in the system tray (on the right bottom corner) and select Enable.
  2. If that doesn’t work, double click the antivirus icon. Select the Enable option from the pop up.

Method 2: Manually reset Windows Update Components

In this method we will manually restart the BITS, Cryptographic, MSI Installer and the Windows Update Services and rename the SoftwareDistribution and Catroot2 folders which definitely solves the problem.

  1. Hold Windows Key and press X (release Windows Key). Click Command Prompt (Admin)
  2. Type net stop wuauserv and press Enter
  3. Type net stop cryptSvc and press Enter
  4. Type net stop bits and press Enter
  5. Type net stop msiserver and press Enter
  6. Type ren C:\Windows\SoftwareDistribution SoftwareDistribution.old and press Enter
  7. Type ren C:\Windows\System32\catroot2 Catroot2.old and press Enter
  8. Type net start wuauserv and press Enter
  9. Type net start cryptSvc and press Enter
  10. Type net start bits and press Enter
  11. Type net start msiserver and press Enter
  12. Close the Command Prompt

Sometimes one of the services will start on its own so you don’t have to worry. Now try to upgrade the Windows again and it should work without any problems.

Method 3: Clean Boot

Performing a clean boot will help you identify if the problem is because of the interference of a third party software or a service.

  1. Hold Windows Key and press R (release Windows Key)
  2. Type msconfig and press Enter
  3. Click the Services tab
  4. Check Hide All Microsoft Services and click Disable All (if the button is not greyed out)
  5. Click Startup tab and select Disable All. If there is not disable all option then click the Open Task Manager. Now select each task and click Disable.
  6. Now restart your computer
  7. Check Don’t show this message or launch the System when the System Configuration Utility window appears.

You can also view and read detailed steps to clean boot.

NOTE: Check step 5 before posting. The step 5 wasn’t working for me so I added what I thought might work

Now check if you can download and install the update without any issue.


Kevin Arrows

Kevin Arrows is a highly experienced and knowledgeable technology specialist with over a decade of industry experience. He holds a Microsoft Certified Technology Specialist (MCTS) certification and has a deep passion for staying up-to-date on the latest tech developments. Kevin has written extensively on a wide range of tech-related topics, showcasing his expertise and knowledge in areas such as software development, cybersecurity, and cloud computing. His contributions to the tech field have been widely recognized and respected by his peers, and he is highly regarded for his ability to explain complex technical concepts in a clear and concise manner.