Warning: Serious problems might occur if you modify the registry incorrectly. Before you modify it, back up the registry for restoration in case problems occur.
Locate the registry key: [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\OSUpgrade]
It should exist, but if not, create it.
Create a new DWORD (32-bit) Value with Name = "AllowOSUpgrade” (without the quotes), and set the Value = 0x00000001.
Once the registry key is modified, close and reopen the desktop Control Panel, go to Windows Update and check for updates. You should now be able to click the Get Started button to upgrade to Windows 10. Note: Windows 8.1 users must go to the desktop Control Panel, and not the modern Windows Update UI.”
This is the official M$ site discussing the '80240020' error and a registry fix to begin your update ahead of their (M$) planned queue. It works I am currently doing the update now. Previously I tried the Windows Media Tool to no avail and got the above mentioned error. This registry tweak places your update to the head of the line. Will report back when this update/upgrade finishes.