We help IT Professionals succeed at work.

Server 2012 Windows Updates never finds any updates and checks forever

ianmal2
ianmal2 asked
on
2,593 Views
Last Modified: 2018-03-10
I have a similar problem on a server 2012 (Essentials) to that described in questions Windows Server 2012 checking for updates forever and windows 2012 server and wsus.

I have not had any auto Windows Updates for the last 3 months.

Originally  WU showed a red warning message about having not checked for updates giving a 'last checked date' 3 months prior (even although was set to auto download updates).   After carrying out various actions described in questions above and from many other sources I now have Windows update reporting ‘You are set to automatically download updates’ with ‘most recent’ and ‘updates installed’ showing ‘never’. WU never attempts to check for updates. When I click ‘check for updates’ it appears to start but never completes.
 The WindowsUpdate log shows the ‘FATAL: CNetworkCostChangeHandler::RegisterForCostChangeNotifications: CoCreateInstance failed with error 80004002’ error'. One of the few things I have not done is;

wuauclt /ResetAuthorization /DetectNow

because the Microsoft instruction link prior to this suggested action does not exist anymore (http://windows.microsoft.com/en-IN/windows7/windows-update-error-80004002).  What instructions were in this link?

I am quite happy to start again on this problem feel free to suggest actions to try to fix this.

I have attached a WindowsUpdate log file.  The entries starting at 08:34 was after a reboot. The entries at 16:09 was after manually checking for updates.
Comment
Watch Question

DonNetwork Administrator
CERTIFIED EXPERT

Commented:
Try this from cmd prompt

cd C:\Windows\System32\wbem\AutoRecover
for /f %s in ('dir /b *.mof *.mfl') do mofcomp %s

Reboot and check for updates again
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION

Author

Commented:
I will delay trying WMI suggestion until all else fails  as I believe this could introduce other issues.  I will try manav08 suggestion later today.
DonNetwork Administrator
CERTIFIED EXPERT

Commented:
"I will delay trying WMI suggestion until all else fails...."??

This was the only thing that worked for me, as I spent days with the same issue.
DonNetwork Administrator
CERTIFIED EXPERT

Commented:

Author

Commented:
Didn't work for me unfortunately. The "Microsoft Baseline Security Analyzer" stuck forever at about 50%.  No missing updates, nothing. I tried with various options.  Always same result?
DonNetwork Administrator
CERTIFIED EXPERT

Commented:
Did you try resetting WMI yet ??

Commented:
set Window Update to Never check reboot you server, then run Microsoft Baseline Security Analyzer again, it was stuck in my case as well, but that fixed my problem.

Author

Commented:
Regards resetting the WMI. Thanks for the additional info. As this is a live server what are the dangers? What is the chance it will make the server unusable? (I've not had experience doing this).

manav08 I will try your latest suggestion

Author

Commented:
Making progress. The Baseline Security Analyser ran to completion after I set the server to Never Check for updates and rebooted.  I have some updates to install. I will do this over the weekend. Meanwhile under the 'Check for security updates' did you tick 'Configure computers for Microsoft Update and scanning prerequisites' and/or 'Advanced Update Services options:'

Author

Commented:
Windows update is now working at last.  The fix is convoluted.  At one point I ran sfc /scannow which reported errors and reported it fixed them.   Subsequent to this I tried to join a new Windows 10 PC to the domain. It kept failing at the 2nd stage indicating that it couldn't find the server (even although it had successfully downloaded and run the connect software from the server). Some time later a user reported that anywhere access no longer worked. Investigation found that running the sfc command breaks anywhere access.  I found a Powershell fix and applied it.  All three problems were suddenly fixed. Namely; I was now able to join the Win 10 PC to the domain, anywhere access now worked and best of all, Windows update is now fully operational. Crucially I ran the sfc command before running the Baseline Security Analyser and applying missing updates.  I suspect this fixed the the Windows Update problem but damage had already been done by running the sfc command beforehand.

Gain unlimited access to on-demand training courses with an Experts Exchange subscription.

Get Access
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Empower Your Career
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.