As stated in this Microsoft article, the Windows Update temporary files need to be removed. Follow the steps there, or do the following if you prefer the command line:
Open an administrative command prompt by pressing the Start button, typing "cmd", right-clicking the result, and choosing "Run as administrator." Type the following commands, pressing Enter after each:
sc stop wuauserv
to stop the Windows Update service
cd \Windows\SoftwareDistribution
to navigate to the Windows Update folder
rmdir /s /q DataStore
to remove the DataStore folder
rmdir /s /q Download
to remove the Download folder
md DataStore
to recreate an empty DataStore folder
md Download
to recreate an empty Download folder
sc start wuauserv
to resume the Windows Update service
Close the command prompt and try to use Windows Update again.
1http://windows.microsoft.com/en-us/windows/windows-update-error-80070002#1TC=windows-7 – DavidPostill – 2015-07-22T23:41:30.740
http://superuser.com/search?q=80070002 – Davidenko – 2015-07-23T00:30:21.360