[SOLVED] Windows Updates Broken on Windows Server 2012 Standard

madorean

Active member
Joined
Apr 23, 2016
Posts
25
Hi,
I am having issues downloading Windows Updates. It all started one day when I noticed that the server showed 80% memory usage for no apparent reason. I tried rebooting but it would hang at Shutting Down. After almost two hours waiting I had to do a hard reboot. Did some troubleshooting upon restart, then tried another reboot and it hang again, which forced me to do another hard reboot. After resetting the Windows Updates components, I was then able to reboot the server normally and the memory usage values returned to normal. I am thinking that perhaps a Windows Update was stuck? Although during the deregistration and registration process I encountered some errors for some of the dlls:

The module "mshtml.dll" was loaded but the entry-point DLLRegisterServer was not found.
Make sure that "mshtml.dll" is a valid DLL or OCX file and try again.

I also got this same error for the files shdocvw.dll, browseui.dll and qmgr.dll.

For a bunch of other files, I got a different error.

The module "msxml.dll" failed to load.
Make sure the binary is stored at the specific path or debug it to check for problems with the binary or dependent .DLL files.

Next to the msxml.dll I also got this error on the following files: gpkcsp.dll, sccbase.dll, slbcsp.dll, initpki.dll, wuaueng1.dll, wucltui.dll, wuweb.dll, muweb.dll

For my next steps, I run CHKDSK, which found and repaired errors successfully.
I then run SFC /SCANNOW which found corruption and also repaired it successfully.
Next I ran DISM /Online /Cleanup-Image /CheckHealth and /ScanHealth, which both reported running successfully and repairable. However, when I use the /RestoreHealth switch, it fails complaining that it cannot find the source. So I downloaded the Windows Server 2012 Standard evaluation ISO from Microsoft, mounted the image to the E: drive and run the DISM tool again with the /RestoreHealth switch and the /Source switch, specifying the E: drive as the source:

DISM /Online /Cleanup-Image /RestoreHealth /source:WIM:E:\Sources\Install.wim:1 /LimitAccess

But that also fails complaining that it cannot find a source. I then tried using the IMAGE_HEALTH tool from another forum, thinking that perhaps I was not using the DISM tool properly somehow and the /RestoreHealth got further along but it also fails. However, looking at the DISM log, it seems that there are only a couple of repositories that are missing and that could be the reason why it fails?
I feel that the server is already performing much better than the original state I found it in but I really need to fix this Windows Updates problem so that I can install the latest security/required updates. This currently fails with error codes 800F081F and 80073712. The attached SFCFix could not find anything. I will upload the zipped CBS log shortly, it’s over 1GB in size. Please help, I am at a loss and I am not sure what else I can do other than a repair install, which I would like to avoid.
View attachment SFCFix.txt
 
Hello. A fun day for you I can tell :banghead:
Ok, do you happen to have an image that you can use to restore to a previous state?? If this OS can be repaired and restored to a working state please "create a system image" in the Backup entry in control panel.
For the present, do you happen to have access to a different computer with the same OS as yours? If so, use the file names from your post above and copy over from the other computer what your need.
Also, looking at the DISM line in your post, have you checked to see if "Install.wim" is actually in E:\Sources??
 
Hi mmullen2,

Thank you for replying. Yes, having too much fun here so I decided to share with others :)
I do not believe I have an Image I can use to restore to previous state. I might have access to a similar server, let me look into it and report back.
Yes, browsing to the Sources folder showed the "install.wim" file but keep in mind that this ISO was downloaded from the MS website (the Evaluation version of Windows Server 2012 Server Standard) and I am not sure if it's the same build as the OS I am currently running. Additionally, since it's an Evaluation version, I am not sure if that would work?
 
The CBS Log was just done uploading. I checked one other server I had in mind and unfortunately it's a Windows Server 2012 R2 Standard. Would that work or better to keep looking for same exact OS version?
 
The installed OS is version 6.2, build 9200. The ISO i downloaded from MS seems to be the same build, although an evaluation version: 9200.16384.WIN8_RTM.120725-1247_X64FRE_SERVER_EVAL_EN-US-HRM_SSS_X64FREE_EN-US_DV5.iso
 
As a test I extracted the ISO with winrar, then pointed DISM to the install.wmi like so:

DISM /Online /Cleanup-Image /RestoreHealth /source:WIM:C:\WinServ2012\Sources\install.wim:1 /LimitAccess

Results:

Deployment Image Servicing and Management tool
Version: 6.2.9200.16384

Image Version: 6.2.9200.16384

[==========================100.0%==========================]
The restore operation failed. Either the repair source was not found or the comp
onent store cannot be repaired.

Error: 0x800f081f

DISM failed. No operation was performed.
For more information, review the log file.

The DISM log file can be found at C:\Windows\Logs\DISM\dism.log

Looking at the DISM log I can see some errors where the system was unable to initialize some of the providers, like:

2016-04-23 12:52:53, Warning DISM DISM Provider Store: PID=3864 TID=2436 Failed to Load the provider: C:\Users\ADMINI~1.SHO\AppData\Local\Temp\3\B6B9F37F-7112-4EF8-80A0-D2A4DD6D3684\IBSProvider.dll. - CDISMProviderStore::Internal_GetProvider(hr:0x8007007e)

Here is the latest DISM log: View attachment latestdism.txt
 
Ah!...I just figured out that I should be using Index #2, not the #1, in the DISM command, so instead of:

DISM /Online /Cleanup-Image /RestoreHealth /source:WIM:C:\WinServ2012\Sources\install.wim:1 /LimitAccess

It should be:

DISM /Online /Cleanup-Image /RestoreHealth /source:WIM:C:\WinServ2012\Sources\install.wim:2 /LimitAccess

because Index #2 corresponds to Windows Server 2012 Standard, which is my current OS, while Index #1 corresponds to the Server Core version, I believe, without GUI.
 
Hi madorean -

When you check for Windows Updates, do you get a list of updates to install?

Yes, and if i remember correctly there are 11 required and 4 optional but if i try to install any, after 10 minutes or so windows update fails and shows the two error codes i reported earlier in the original post.
 
I also tried installing the first update at the top of the list manually (downloading it directly from MS catalog) and it failed the same way.
 
OK. Please navigate to c:\windows\logs and then right-click on the CBS folder and select Copy. Then right-click on your desktop and choose paste. This will put the entire CBS folder on your desktop.

Now right-click the CBS folder on your desktop and choose Send To....Compressed (zipped folder). This will create a CBS.zip file.

Please upload this file to SendSpace and then just provide the link to this in your next reply.

Can you tell me what the KB number was of the update that was at the top of the list that you tried?
 
I just tried installing the updates again to see if anything had changed and I noticed that the first error message has now changed from 800F081F to 800F0831

newfailedupd.JPG
 
Thanks. I see the following which needs resolved. I'll look to see if I can come up with something for this and be back with you today.

Code:
2016-04-26 13:14:19, Error                 CSI    0000048c@2016/4/26:20:14:19.321 (F) base\wcp\componentstore\versionedindex.cpp(3434): Store corruption detected in function ComponentStore::CRawStoreLayout::CheckFamilyIndexForDeadWinnerComponent expression: (null)
  MissingWinningComponentKey on resource [99]"amd64_microsoft-windows-smbminirdr.resources_31bf3856ad364e35_6.2.9200.17095_en-us_97f827567d7fb6c5"[gle=0x80004005]
 

Thank you. I need to gather some more info. Please do the following.

1. Point your mouse to the lower left corner of your screen and hover there until the Start Screen icon appears. Then move your mouse on to the Start Screen and right-click and choose Command Prompt (Admin).
2. A User Account Control dialog may come up asking for approval. If it does go ahead and allow.
3. A command prompt window will open. Copy/Paste the following into the command-prompt and hit enter.
wmic qfe list brief /format:texttablewsys > "%USERPROFILE%\desktop\hotfix.txt"

4. After the command runs there will be a file on your desktop named hotfix.txt.
5. Please zip/attach this file.

Thank you.
 

Thank you. I need to gather some more info. Please do the following.

1. Point your mouse to the lower left corner of your screen and hover there until the Start Screen icon appears. Then move your mouse on to the Start Screen and right-click and choose Command Prompt (Admin).
2. A User Account Control dialog may come up asking for approval. If it does go ahead and allow.
3. A command prompt window will open. Copy/Paste the following into the command-prompt and hit enter.
wmic qfe list brief /format:texttablewsys > "%USERPROFILE%\desktop\hotfix.txt"

4. After the command runs there will be a file on your desktop named hotfix.txt.
5. Please zip/attach this file.

Thank you.

Attached below, Thank you.

View attachment hotfix.txt
 

Has Sysnative Forums helped you? Please consider donating to help us support the site!

Back
Top