win2012r2
1 TopicNo Updates after upgrading from 2008R2 to 2012R2
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 ranWindowsUpdateDiagnostic.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.2KViews0likes1Comment