FIX: Windows 10 Upgrade fails with 80240020

The real reason is yet to be determined however We’ve seen that it helps if you try to run the Windows Update Troubleshooter. If that does not work then we can try to boot your system clean. after even that does not work then redownloading Windows 10 in most cases did.

Run the Windows Update Troubleshooter

Microsoft has released an automatic troubleshooter to find and solve common Windows Update problems, we suggest you give this a try. We hear very good things about it when trying to solve the Windows 10 problems

Download

Then try to run Windows Update again, continue if it still does not work properly.

Clean boot your device

1. Right-click the Windows Logo in the bottom left corner of your screen.

Or press the Windows + R key at the same time, and skip to step 3. 

2. A menu will appear, now click on, Run

3. A Window “Run” will appear, now enter “msconfig” (without quotes) and press the enter key or click on OK

Run MSConfig FIX: Windows 10 Upgrade fails with 80240020 FIX: Windows 10 Upgrade fails with 80240020

Run MSConfig

4. Choose Selective Startup and make sure Load Startup Items is unchecked

Selective Start-up FIX: Windows 10 Upgrade fails with 80240020 FIX: Windows 10 Upgrade fails with 80240020

Selective Start-up

5. Then click on the Services tab.

6. Check the box “Hide all Microsoft Services” and then click on Disable All

Hide and Disable All FIX: Windows 10 Upgrade fails with 80240020 FIX: Windows 10 Upgrade fails with 80240020

Hide and Disable All

7. Close MSConfig by clicking on OK, and choose to Reboot your device.

Now that all non-Microsoft services are disabled, we are going to try to apply the Windows Updates again, if they fail again, then go to the next step.

Resetting the Windows Update Components

In most cases the downloaded data is just corrupted and removing this data can help making Windows update again.

  1. Open Elevated Command Prompt by following one of two methods:
    1. Press the Windows + X at the same time, then choose Command Prompt (admin)
    2. Press the Windows + W key at the same time and then type ” cmdright-click
      Command Prompt and choose Run as Administrator
  2. Enter the following command: “net stop wuauserv” and hit enter.
  3. Enter the following command: “net stop cryptSvc” and hit enter.
  4. Enter the following command: “net stop bits” and hit enter.
  5. Enter the following command: “net stop msiserver” and hit enter.
  6. Enter the following command: “ren C:\Windows\SoftwareDistribution SoftwareDistribution.old” and hit enter.
  7. Enter the following command: “ren C:\Windows\System32\catroot2 catroot2.old” and hit enter.
  8. Enter the following command: “net start wuauserv” and hit enter.
  9. Enter the following command: “net start cryptSvc” and hit enter.
  10. Enter the following command: “net start bits” and hit enter.
  11. Enter the following command: “net start msiserver” and hit enter.
  12. Reboot your system.

Then try to run Windows Update again, continue if it still does not work properly.

What's your reaction?
Solved it!
0%
Helped me
0%
Didn't work
0%
Inaccurate Information
0%
About The Author
Yuri Pustjens
Yuri Pustjens
2014, 2015 & 2016 Microsoft Most Valuable Professional Windows Yuri specializes in troubleshooting (crash analysis and devices), system resource utilisation and system performance. He is also very interested in Customer Security. Yuri can be found as Windows Community Moderator and Wiki Author on Microsoft Answers and is active on different communities all across the web.

Leave a Response