Link to home
Start Free TrialLog in
Avatar of manav08
manav08Flag for Australia

asked on

Windows Server 2012 checking for updates forever

Hi Guys,

i have a Windows server 2012 is having updating issue. when i click on "Check for updates" it will check for update forever...
there is a patch management tool installed on another server, and all the PCs and servers in the domain are getting updates from the Update server (not WSUS)...

so far i have tried:

click on "Check online for updates from Microsoft Update", still checking forever...
deleting registry key: HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\AU then reboot, no difference.
deleting %systemroot%\System32\Catroot2 and %systemroot%\SoftwareDistribution folder contents, then reboot. no difference.

ran sfc /scannow all corruptions fixed today, i will reboot and try again tonight...

any suggestion to this problem?
Avatar of Tahir Qureshi
Tahir Qureshi
Flag of Australia image

can you share the log file

it will be located (here C: is your OS drive)

C:\Windows\WindowsUpdate.log
Avatar of compdigit44
compdigit44

IS this a fresh install or have it been up and running for a while and patched before as well. If it is a fresh install I have seen the first check for updates take a very long time.
Avatar of manav08

ASKER

@compdigit44

no it's not a fresh install, i have updated this server 4 months ago and it was fine.
Avatar of manav08

ASKER

@Tahir Qureshi

Sorry for getting back to you late, i just attached the log txt.
WindowsUpdate.txt
SOLUTION
Avatar of compdigit44
compdigit44

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of manav08

ASKER

@ compdigit44

i will give it a try on this weekend and see how it goes.
Avatar of manav08

ASKER

@ compdigit44

i got a concern here, will command "netsh winsock reset" affect current network settings in this server? this is an AD, DNS and DHCP server in the domain, is it safe to run it?
this command is from step 7 in the link you provided.

Thanks.
as a precaution skip step 7 with the winsock reset for now ...
Avatar of manav08

ASKER

so i have removed this server out of the third party patch management program.
after that, rebooted and tried resetting except step 7.
but the problem still persist. pls see attached for full log.

i have noticed logs such as

WARNING: Failed to evaluate Installed rule, updateId = {74725129-B5F9-4AF9-816B-B7B3C54B4F2B}.200, hr = 80070057
2017-03-28      15:00:39:566      1644      15bc      Agent      WARNING: Failed to evaluate Installable rule, updateId = {74725129-B5F9-4AF9-816B-B7B3C54B4F2B}.200, hr = 80070057

and

FATAL: CNetworkCostChangeHandler::RegisterForCostChangeNotifications: CoCreateInstance failed with error 80004002
2017-04-06      23:04:12:282      6732      151c      CltUI      WARNING: RegisterNetworkCostChangeNotification: Error 80004002

repeatedly showed up in logs every time i restart update checking.

any suggestions?
WindowsUpdate--2-.txt
Avatar of manav08

ASKER

forgot to mention, in step 11- Install the latest Windows Update Agent.
i downloaded the standalone update but it couldnt install, it would just stuck in "searching for updates on this computer " forever, tried stopping update service but no luck.
Stop Windows Update services, rename or delete the Software Distribution folder then run the following tool on server:
http://go.microsoft.com/?linkid=9830262
Avatar of manav08

ASKER

@compdigit44

tried running that diagnose several times, it didn't solved the issue. tried using WSUS offline which solved similar issue on Win8.1 PC but it didnt work here.
Seems like i have to manually download and install standalone updates now.
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of manav08

ASKER

only this solution solved my problem