Quick Fix: Check Time Settings
Click “Control Panel”
Open “Date and Time”
Press on “Change date and time” and make corrections if necessary
Configure your time zone before pressing OK
Press on “Internet Time” tab before selecting “Change Settings”
Check “Synchronize with an Internet time server” before choosing the Time Server from the list presented
Press “Update Now”
Press “OK” twice to complete the configuration and close all open windows
After this, restart your computer before accessing Windows Update. if You had Incorrect time set on your system then doing the above steps should fix the 0x80070002 error for you.