No Updates after upgrading from 2008R2 to 2012R2

Copper Contributor

Hi,

 

I am experiencing strange issues after an inplace upgrade from 2008R2 to 2102R2. Afterward Windows is not finding any updates anymore. "Checking for Updates" is all I see for over a week. Ran the script from Microsoft resetting update agent (ResetWUEng.cmd), but did not help. Even found other methods in a different script, which did not solve the issue either. This is the contents

 


#Stop Windows Update , BITS and cryptographic services:
net stop bits
net stop wuauserv
net stop appidsvc
net stop cryptsvc
taskkill /im wuauclt.exe /f


#Delete service files qmgr*.dat from the folder %ALLUSERSPROFILE%\Application Data\Microsoft\Network\Downloader\:

Del "%ALLUSERSPROFILE%\Application Data\Microsoft\Network\Downloader\qmgr*.dat"

#Rename system folders, in which configuration files and update cache are stored (if necessary, they can be used as backups). After the WU services are restarted the folders will be automatically created again:

Ren %systemroot%\SoftwareDistribution SoftwareDistribution.bak
Ren %systemroot%\system32\catroot2 catroot2.bak
Delete the old windowsupdate.log file :
del /f /s /q %windir%\windowsupdate.log


#Reset the permissions for BITS and Windows Update services (if service permissions have been changed):

"sc.exe sdset bits D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)"
"sc.exe sdset wuauserv D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)"
"sc.exe sdset cryptsvc D:(A;;CCLCSWLOCRRC;;;AU)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCDCLCSWRPWPDTLCRSDRCWDWO;;;SO)(A;;CCLCSWRPWPDTLOCRRC;;;SY)S:(AU;FA;CCDCLCSWRPWPDTLOCRSDRCWDWO;;WD)"
"sc.exe sdset trustedinstaller D:(A;;CCLCSWLOCRRC;;;AU)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCDCLCSWRPWPDTLCRSDRCWDWO;;;SO)(A;;CCLCSWRPWPDTLOCRRC;;;SY)S:(AU;FA;CCDCLCSWRPWPDTLOCRSDRCWDWO;;WD)"

#Re-register the files of system dynamic libraries (dll) related to BITS and Windows Update:

cd /d %windir%\system32
regsvr32.exe /U /s vbscript.dll
regsvr32.exe /U /s mshtml.dll
regsvr32.exe /U /s msjava.dll
regsvr32.exe /U /s msxml.dll
regsvr32.exe /U /s actxprxy.dll
regsvr32.exe /U /s shdocvw.dll
regsvr32.exe /U /s Mssip32.dll
regsvr32.exe /U /s wintrust.dll
regsvr32.exe /U /s initpki.dll
regsvr32.exe /U /s dssenh.dll
regsvr32.exe /U /s rsaenh.dll
regsvr32.exe /U /s gpkcsp.dll
regsvr32.exe /U /s sccbase.dll
regsvr32.exe /U /s slbcsp.dll
regsvr32.exe /U /s cryptdlg.dll
regsvr32.exe /U /s Urlmon.dll
regsvr32.exe /U /s Oleaut32.dll
regsvr32.exe /U /s msxml2.dll
regsvr32.exe /U /s Browseui.dll
regsvr32.exe /U /s shell32.dll
regsvr32.exe /U /s atl.dll
regsvr32.exe /U /s jscript.dll
regsvr32.exe /U /s msxml3.dll
regsvr32.exe /U /s softpub.dll
regsvr32.exe /U /s wuapi.dll
regsvr32.exe /U /s wuaueng.dll
regsvr32.exe /U /s wuaueng1.dll
regsvr32.exe /U /s wucltui.dll
regsvr32.exe /U /s wups.dll
regsvr32.exe /U /s wups2.dll
regsvr32.exe /U /s wuweb.dll
regsvr32.exe /U /s scrrun.dll
regsvr32.exe /U /s msxml6.dll
regsvr32.exe /U /s ole32.dll
regsvr32.exe /U /s qmgr.dll
regsvr32.exe /U /s qmgrprxy.dll
regsvr32.exe /U /s wucltux.dll
regsvr32.exe /U /s muweb.dll
regsvr32.exe /U /s wuwebv.dll
regsvr32.exe /s vbscript.dll
regsvr32.exe /s mshtml.dll
regsvr32.exe /s msjava.dll
regsvr32.exe /s msxml.dll
regsvr32.exe /s actxprxy.dll
regsvr32.exe /s shdocvw.dll
regsvr32.exe /s Mssip32.dll
regsvr32.exe /s wintrust.dll
regsvr32.exe /s initpki.dll
regsvr32.exe /s dssenh.dll
regsvr32.exe /s rsaenh.dll
regsvr32.exe /s gpkcsp.dll
regsvr32.exe /s sccbase.dll
regsvr32.exe /s slbcsp.dll
regsvr32.exe /s cryptdlg.dll
regsvr32.exe /s Urlmon.dll
regsvr32.exe /s Oleaut32.dll
regsvr32.exe /s msxml2.dll
regsvr32.exe /s Browseui.dll
regsvr32.exe /s shell32.dll
regsvr32.exe /s Mssip32.dll
regsvr32.exe /s atl.dll
regsvr32.exe /s jscript.dll
regsvr32.exe /s msxml3.dll
regsvr32.exe /s softpub.dll
regsvr32.exe /s wuapi.dll
regsvr32.exe /s wuaueng.dll
regsvr32.exe /s wuaueng1.dll
regsvr32.exe /s wucltui.dll
regsvr32.exe /s wups.dll
regsvr32.exe /s wups2.dll
regsvr32.exe /s wuweb.dll
regsvr32.exe /s scrrun.dll
regsvr32.exe /s msxml6.dll
regsvr32.exe /s ole32.dll
regsvr32.exe /s qmgr.dll
regsvr32.exe /s qmgrprxy.dll
regsvr32.exe /s wucltux.dll
regsvr32.exe /s muweb.dll
regsvr32.exe /s wuwebv.dll
Reset Winsock settings:
netsh winsock reset
Reset system proxy settings:
netsh winhttp reset proxy

#Optional. When using a local WSUS server, you can also reset the current binding of a client to the WSUS server by deleting the following parameters in the registry key HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate:

REG DELETE "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate" /v AccountDomainSid /f
REG DELETE "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate" /v PingID /f
REG DELETE "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate" /v SusClientId /f
REG DELETE "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /v TargetGroup /f
REG DELETE "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /v WUServer /f
REG DELETE "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /v WUStatusServer /f


#Start the previously stopped services:

sc.exe config wuauserv start= auto
sc.exe config bits start= delayed-auto
sc.exe config cryptsvc start= auto
sc.exe config TrustedInstaller start= demand
sc.exe config DcomLaunch start= auto
net start bits
net start wuauserv
net start appidsvc
net start cryptsvc

Then I ran WindowsUpdateDiagnostic.diagcab to fix the problem. No luck at all.

 

Then I followed a procedure from a different post. It suggested to add a key in registry 

 

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate"

There I inserted a dword key with "DisableDualScan" and a value of 1.

 

I checked, so that Client connects to WSUS instead of Microsoft Update

 


PS C:\Windows\system32> $MUSM.Services | select Name, IsDefaultAUService

Name IsDefaultAUService
---- ------------------
Microsoft Update False
Windows Store False
Windows Server Update Service True
Windows Update False


PS C:\Windows\system32>

 

Any idea what is going wrong?

1 Reply

This is from one of the affected servers

 

2019-07-27	11:42:11:139	 344	8d8	IdleTmr	WU operation (CAgentProtocolTalker::GetExtendedUpdateInfo_WithRecovery, operation # 487) stopped; does use network; is at background priority
2019-07-27	11:42:11:139	 344	8d8	IdleTmr	WU operation (CAgentProtocolTalker::GetExtendedUpdateInfo_WithRecovery) started; operation # 488; does use network; is at background priority
2019-07-27	11:42:12:829	 344	8d8	IdleTmr	WU operation (CAgentProtocolTalker::GetExtendedUpdateInfo_WithRecovery, operation # 488) stopped; does use network; is at background priority
2019-07-27	11:42:12:829	 344	8d8	IdleTmr	WU operation (CAgentProtocolTalker::GetExtendedUpdateInfo_WithRecovery) started; operation # 489; does use network; is at background priority
2019-07-27	11:42:14:597	 344	8d8	IdleTmr	WU operation (CAgentProtocolTalker::GetExtendedUpdateInfo_WithRecovery, operation # 489) stopped; does use network; is at background priority
2019-07-27	11:42:14:597	 344	8d8	IdleTmr	WU operation (CAgentProtocolTalker::GetExtendedUpdateInfo_WithRecovery) started; operation # 490; does use network; is at background priority
2019-07-27	11:42:16:519	 344	8d8	IdleTmr	WU operation (CAgentProtocolTalker::GetExtendedUpdateInfo_WithRecovery, operation # 490) stopped; does use network; is at background priority
2019-07-27	11:42:16:519	 344	8d8	IdleTmr	WU operation (CAgentProtocolTalker::GetExtendedUpdateInfo_WithRecovery) started; operation # 491; does use network; is at background priority
2019-07-27	11:42:17:785	 344	8d8	IdleTmr	WU operation (CAgentProtocolTalker::GetExtendedUpdateInfo_WithRecovery, operation # 491) stopped; does use network; is at background priority
2019-07-27	11:42:17:785	 344	8d8	IdleTmr	WU operation (CAgentProtocolTalker::GetExtendedUpdateInfo_WithRecovery) started; operation # 492; does use network; is at background priority
2019-07-27	11:42:19:691	 344	8d8	IdleTmr	WU operation (CAgentProtocolTalker::GetExtendedUpdateInfo_WithRecovery, operation # 492) stopped; does use network; is at background priority
2019-07-27	11:42:19:691	 344	8d8	IdleTmr	WU operation (CAgentProtocolTalker::GetExtendedUpdateInfo_WithRecovery) started; operation # 493; does use network; is at background priority
2019-07-27	11:42:21:162	 344	8d8	IdleTmr	WU operation (CAgentProtocolTalker::GetExtendedUpdateInfo_WithRecovery, operation # 493) stopped; does use network; is at background priority
2019-07-27	11:42:49:384	 344	f0c	AU	User login event timer expired for session id: 1.
2019-07-27	11:42:49:384	 344	f0c	AU	WARNING: Failed to get Network Cost info from NLM, assuming network is NOT metered, error = 0x80240037
2019-07-27	11:42:49:384	 344	f0c	AU	#############
2019-07-27	11:42:49:384	 344	f0c	AU	## START ##  AU: Install updates
2019-07-27	11:42:49:384	 344	f0c	AU	#########
2019-07-27	11:42:49:384	 344	f0c	AU	  # Initiating scheduled install
2019-07-27	11:42:49:384	 344	f0c	AU	WARNING: There are no approved updates to install
2019-07-27	11:42:49:384	 344	f0c	AU	  # Exit code = 0x8024000C
2019-07-27	11:42:49:384	 344	f0c	AU	#########
2019-07-27	11:42:49:384	 344	f0c	AU	##  END  ##  AU: Install updates
2019-07-27	11:42:49:384	 344	f0c	AU	#############
2019-07-27	13:25:20:925	 344	354	Report	WARNING: CSerializationHelper:: InitSerialize failed : 0x80070002