Windows 10 update Error code 80070002

windowswindows 7windows updatewindows-10-upgradewindows-registry

I'm trying to upgrade my Windows 7 Ultimate to Windows 10.
Since I don't get my notification and don't see any updates on Windows Update I'm trying to force the upgrade.
I read on reddit that you can go to the registry and add AllowOSUpgrade as a DWORD with the value of 1 to: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\OSUpgrade

So I tried that and when I check for updates it tells me Windows 10 is ready and I press Get Started. It downloads the 2605MB file, then it says "preparing for installation", then it gives the following error:
Error code 80070002

I tried this: Windows 7 SP1 Not Able To Run Windows Update Error 80070002
It deleted my history and the download, so I checked for updates again, pressed "Get Started" and the problem happened again.

What do I do now?

P.S. I also tried updating via the "Media Creation Tool" from Microsoft's website. It downloads everything, asks me what to save, then it says it wants to make sure I have enough space. Then it stops with an error that says something like: "couldn't make sure you have enough space on your PC", even though I have 180GB free on my only hard drive.

Any help will be much appreciated, thanks.

Best Answer

There is a help page for this specific issue:
http://windows.microsoft.com/en-us/windows/windows-update-error-80070002#1TC=windows-7

If you receive Windows Update error 80070002 while checking for updates, you need to remove the temporary update files that Windows uses to identify updates for your computer. To remove the temporary files, stop the Windows Update service, delete the temporary update files, restart the Windows Update service, and then try to check for Windows updates again.

Click to open each line for an extensive step-by-step process to resolve.