How to Fix: Windows 10 Upgrade Failed Error 80240020

Dennis Faas's picture

Infopackets Reader Sam T. writes:

" Dear Dennis,

I have clicked on the 'Get Windows 10' app in my tray bar and it still says it's reserved. I read that I can force the upgrade by using entering 'wuauclt.exe /updatenow' in the command prompt -- however, I keep getting a message that Windows 10 Upgrade Failed, with error code 80240020. I searched for 'windows 10 upgrade failed 80240020' on Google and have read a number of posts, but I can't seem to figure out how to make this work. I keep getting an access denied error. Can you help? "

My response:

Many of the instructions on the web I've read on resolving error code 80240020 are far too short and don't explain what's happening. Also, many of the instructions I've read on how to fix Windows 10 Error Code 80240020 may not work for some people. As such, I'll explain two methods on how to fix error 80240020 properly - step-by-step, and in simple English.

Option #1: Reset the SoftwareDistribution Folder

The Windows 10 Error Code 80240020 is most likely a result of a corrupt Windows Update folder, which in turn prevents Windows 10 setup from starting. To fix the issue, you can rename the c:\Windows\SoftwareDistribution folder, which will then force Windows Update initialize itself and start downloading Windows 10 again.

Here's the proper way to do this:

  1. Close the Windows Update window if it's already open.
     
  2. Next, open up an Administrative Command prompt. To do so: click Start and type in "cmd" (no quotes) and do NOT press Enter on the keyboard yet; wait for either Command Prompt or CMD.EXE to appear in the list, then right click it and select "Run as Administrator".
     
  3. If successful, a black command prompt window will appear with the title: "Administrator: Command Prompt" or "Administrator: C:\windows\system32\cmd.exe". If you don't see "Administrator" in the title then please repeat Step #1 above. If it still doesn't work, please refer to this article.
     
  4. Using your mouse, highlight the text below:

    net stop wuauserv
    cd %systemroot%
    rename SoftwareDistribution SoftwareDistribution.old
    net start wuauserv
    wuauclt.exe /updatenow
     
  5. Right click over top of the highlighted text (above) and select "Copy" from the dialogue menu.
     
  6. Go to the Administrative command prompt and right click on the black area of the window. A dialogue menu should appear; select Paste. The commands you copied from Step #4 should now output onto the command line. IMPORTANT: you will need to press Enter on the keyboard inside the command prompt to ensure that the very last command is executed.
     
  7. The Windows Update window should now appear and it should start downloading updates -- specifically, Windows 10. Follow the onscreen instructions and the Windows 10 installer should start.

If after Windows Update runs, you still receive Windows 10 Error Code 80240020, proceed to Option #2.

Option #2: Use the Media Creation Tool instead of Windows Update to Download Windows 10

You can also manually download Windows 10 using the Windows "Update Tool", which will download Windows 10 from scratch -- but not through Windows Update. IMPORTANT: It's critical that you perform the installation of Windows 10 from within your existing Windows environment in order to retain your free Windows 10 upgrade license. In other words, don't create the Windows 10 install media and reboot your computer and do a clean install as this will not retain your free license.

To create the Windows 10 install media using the Media Creation Tool, do the following:

  1. First, we need to collect some info about your computer so you create the proper install media. To do so, open up an Administrative Command prompt: click Start and type in "cmd" (no quotes) and do NOT press Enter on the keyboard yet; wait for either Command Prompt or CMD.EXE to appear in the list, then right click it and select "Run as Administrator".
     
  2. Highlight the text below with your mouse:

    systeminfo | findstr /B /C:"OS Name" /C:"OS Version" /C:"System Locale" /C:"System Type"
     
  3. Right click over top of the highlighted text (above) and select Copy from the dialogue menu.
     
  4. Go to the Administrative Command prompt and right click on the black area of the window; select Paste from the dialogue menu, then press Enter on the keyboard. The command should execute and you should see something similar to the following:

    OS Name: Microsoft Windows 7 Ultimate
    OS Version: 6.1.7601 Service Pack 1 Build 7601
    System Type: x64-based PC
    System Locale: en-us;English (United States)
     
  5. Go to Microsoft's website and download the Windows 10 Media Creation Tool (32 or 64 bit installer), depending on the "System Type" output from the previous step.
     
  6. Run the windows 10 Media Creation Tool (x32 or x64) and select one of the following options:

    (a) if you only have 1 PC that you are updating, then select "Upgrade this PC Now". If you choose this option then it will download Windows 10 directly to the computer and perform an in-place upgrade from within your existing Windows environment. This method will ensure that you receive and retain your free Windows 10 license. After that you can perform a clean install if you wish, or you can leave it as-is, if the system is working as expected.

    (b) If you want to upgrade to Windows 10 on more than one PC, select "Create installation media for another PC", and click next. IMPORTANT: on the proceeding page, ensure that you select the SAME language as your System Locale (as output in Step #4), otherwise you will receive a "Something happened" error message and it will abort. For the "Edition" option, choose either Windows 10 Home or Pro*, and for "Architecture" select "both", then click next. On the proceeding page, select USB flash drive (if you have at least an 8GB flash drive), or ISO if you want to burn it to DVD.

    * You can choose Windows 10 Home or Pro depending on which version of Windows you are upgrading from; please refer to this article as it explains the upgrade paths. If you are upgrading to both Home and Pro on different systems, then you will need to create two different install media as there is no option to create "Home and Pro" - only one or the other.
     
  7. If you created an .ISO file, you will need to burn the .ISO to DVD or USB. Note that you cannot burn the .ISO file as a data disc; it must be burned as an ISO disc. For this, please download CD Burner XP and refer to this document which explains how to burn an ISO. If you want to write the .ISO to USB, use Rufus.
     
  8. IMPORTANT: once the install media has been created, run the setup.exe from the USB drive or DVD disc. This will perform an in-place install of Windows 10 within your existing Windows environment. This method will ensure that you receive and retain your free Windows 10 license. After that you can perform a clean install if you wish.

If all of this is over your head and you need help, you can contact me for remote desktop support and I will connect to your system and do it for you.

Hope that helps!

Got a Computer Question or Problem? Ask Dennis!

I need more computer questions. If you have a computer question -- or even a computer problem that needs fixing -- please email me with your question so that I can write more articles like this one. I can't promise I'll respond to all the messages I receive (depending on the volume), but I'll do my best.

About the author: Dennis Faas is the owner and operator of Infopackets.com. With over 30 years of computing experience, Dennis' areas of expertise are a broad range and include PC hardware, Microsoft Windows, Linux, network administration, and virtualization. Dennis holds a Bachelors degree in Computer Science (1999) and has authored 6 books on the topics of MS Windows and PC Security. If you like the advice you received on this page, please up-vote / Like this page and share it with friends. For technical support inquiries, Dennis can be reached via Live chat online this site using the Zopim Chat service (currently located at the bottom left of the screen); optionally, you can contact Dennis through the website contact form.

Rate this article: 
Average: 4.9 (16 votes)

Comments

ConnieB's picture

I'm not the early adopter type, so I'm holding off on the upgrade. The information on infopackets is really helpful and I'll use it when I decide to go ahead. I especially like your point about installing "Windows 10 from within your existing Windows environment in order to retain your free Windows 10 upgrade". I've noticed a lot of people have had license problems, but the suggested fixes were not clear to me. Your explanation is very clear. Thank you, Dennis!

NickyK's picture

I've just had this error code with W10 download:

C1900208

(This is on my W7 desktop)

NickyK's picture

I've cancelled the free reserved upgrade (Windows 7 Home). There is really little point at the moment. I don't trust Microsoft. Too many error messages on download.

tooducool_5151's picture

Heres what happened to me, I kept getting fails on both the Windows update and also on the downloaded media creation tool. Its not your download or anything else that is messed up so heres what I did to resolve this, I found this nowhere outside and just figured it out before I wasted money on a new Windows 10...

1. Delete the Software distribution download contents as stated in multiple threads.

2. Go to the install as if you were going to install on a partition drive....

3. Delete everything that is extra in there, any extra partitions are giving the 0400 error or whatever it

was.... Make sure the only partition is the one that you are installing on, nothing else such as

recovery, back up, partition 0 whatever is in there other than your main one with the most

gigabytes get rid of it.

4. If you need to reinstall windows 8.1 I do recommend doing it as a clean however this would

probably work if your partition is still in tact I went ahead and did a clean install and it worked fine.

I basically took out everything on my partitions and started with the one and original one on my

SSD and it worked perfectly. Apparently if you have more than one partition on your drive you will

get install fails left and right which is what happened to me everything id install it would randomly

say initialization failed.

5. Install windows either by the win update methods posted with the command prompt or as I did it

with a usb drive with the media creation tool.

6. BAM Windows 10 installed. I suspect this is whats causing everyone whos having issues, my

laptop running bootcamp worked perfectly and now my PC is working good too, windows shows

activated.

Good Luck!!!!

billrwatson_5344's picture

Thank you so much for the lesson, very well presented and easy to follow. Unfortunately I still can't run windows 10 because my CPU doesn't support NX. Unless you know of a fix I'll have to get a new CPU.

Thanks again, great work