Trouble With Windows Update

I have been trying all afternoon to get Windows Update to run after a virus infection caused me to have to restore my computer to factory settings.

I’ve installed microsoft framework (up to 3rd package).

When I go to check for updates it just continually scans. I’ve gone through every solution that is suggested on the microsoft page.

Just started doing it by itself ::).