Bob_Simons
asked on
Windows update on Server 2012R2 runs endlessly without ever finding any updates to download and or install
Windows Update runs endlessly on a 2012r2 server standard which is a hyper-v host. the two guests on this machine run successfully. the updater says "most recent check for updates" and "updates were installed" are both showing as "never". However, under "view update history" had listed maybe 20 updates, although now the history is blank after starting to run the reset procedure at Windows Update - additional resources (https://docs.microsoft.com/en-us/windows/deployment/update/windows-update-resources) section "How do I reset Windows update components." This process is a series of folder renaming, file deleting and DLL registering. In this process some 14 DLLs failed top register because they were not found, all causing one of two errors, either "register not found" or "failed to load: because thy were not found. The command which failed were:
regsvr32.exe mshtml.dll
regsvr32.exe shdocvw.dll
regsvr32.exe browseui.dll
regsvr32.exe msxml.dll
regsvr32.exe gpkcsp.dll
regsvr32.exe sccbase.dll
regsvr32.exe slbcsp.dll
regsvr32.exe initpki.dll
regsvr32.exe wuaueng1.dll
regsvr32.exe wucltui.dll
regsvr32.exe
regsvr32.exe wuweb.dll
regsvr32.exe qmgr.dll
regsvr32.exe muweb.dll
The last time Windows update ran successfully was back on June 2018.
I've come across some powershell commands for resetting Windows update but I don't know how to use powershell in terms of how to download scripts and where to copy them and how to select and run them. Anyhow, I don think it would solve the problem of the missing DLLs and I haven't found an installer which would supply all the missing files.
Can anyone help me?
regsvr32.exe mshtml.dll
regsvr32.exe shdocvw.dll
regsvr32.exe browseui.dll
regsvr32.exe msxml.dll
regsvr32.exe gpkcsp.dll
regsvr32.exe sccbase.dll
regsvr32.exe slbcsp.dll
regsvr32.exe initpki.dll
regsvr32.exe wuaueng1.dll
regsvr32.exe wucltui.dll
regsvr32.exe
regsvr32.exe wuweb.dll
regsvr32.exe qmgr.dll
regsvr32.exe muweb.dll
The last time Windows update ran successfully was back on June 2018.
I've come across some powershell commands for resetting Windows update but I don't know how to use powershell in terms of how to download scripts and where to copy them and how to select and run them. Anyhow, I don think it would solve the problem of the missing DLLs and I haven't found an installer which would supply all the missing files.
Can anyone help me?
ASKER
Hi David, thanks for your suggestions. I started at the top and things are starting off well.
DISM found and fixed errors. It is necessary to reboot? then go to the next step or first try check for updates?
DISM found and fixed errors. It is necessary to reboot? then go to the next step or first try check for updates?
try running windows update after every section
ASKER
but my question is whether I need to disrupt the users and do a a hard reboot after each section. I think you say as much and I'm hoping that it isn't so.
if dism or sfc found and repaired errors then you must do a reboot, you can try without if you want.
ASKER
i'll have to wait until after close of business then. can I run SFC immediately after DISM without a reboot in between? I presume not but it couldn't hurt to ask. It is after DISM but I have not run SFC. I did try update and it acts as before which isn't a surprise.
yes you can run sfc after dism without a reboot
you might want to try wsusoffline (http://wsusoffline.net)
you might want to try wsusoffline (http://wsusoffline.net)
ASKER
i;'m not using WSUS on the server. it can be run "offline:" without a local wsus server?
it downloads all of the applicable updates and you can run the updateinstaller.exe either from the directory (client) or mount or burn the iso to disk.
ASKER
so in effect, I could ignore the broken windows update and use the offline wsus process as a substitute? I'll look into it. thanks again,.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
and the exchange server is at CU2 and it needs to get to CU13. Problems everywhere.
I wanted the host updated before doing the exchange server, though.
I wanted the host updated before doing the exchange server, though.
Open in new window
<restart>Open in new window
<restart>retry windows update
if it fails then run
Open in new window