[SOLVED] Windows Updates Broken on Windows Server 2012 Standard

Just an FYI, I think you had a problem (originally like I experienced), when you have a WSUS server, that prevents the DISM command looking online successfully so you have to state a source instead.
 
Thanks. Please do the following.

Retrieve Components Hive
1. Navigate to C:\Windows\System32\Config and locate the COMPONENTS file.
2. Please copy this file to your desktop.
Note: If you receive an error that this file is in-use, simply reboot your computer and try again.
3. Right-click on this file on your desktop and select Send To...Compressed (zipped) folder. This will create a file named COMPONENTS.ZIP on your desktop.
4. The file will likely be too large to upload here so please upload to SendSpace and just provide the link here.
 
Just an FYI, I think you had a problem (originally like I experienced), when you have a WSUS server, that prevents the DISM command looking online successfully so you have to state a source instead.

Hi,

Thank you for your comment. I remember looking into the registry, as part of the troubleshooting, for they key indicating whether I might be using a local WSUS server but I could not find one. Additionally, I have also tried using an external source (multiple actually...I think I specify that somewhere in the post) but DISM is not able to make use of it either. It's possible that something is wrong with the COMPONENTS hive (Brian is looking into it), which SFC/SCANNOW and/or DISM cannot repair. An external tool would be needed to fix the issue, if this turns out to be the case. Then again, the troubleshooting is still a work in progress, so it could be something else altogether.
 
Just an FYI, I think you had a problem (originally like I experienced), when you have a WSUS server, that prevents the DISM command looking online successfully so you have to state a source instead.

Hi,

Thank you for your comment. I remember looking into the registry, as part of the troubleshooting, for they key indicating whether I might be using a local WSUS server but I could not find one. Additionally, I have also tried using an external source (multiple actually...I think I specify that somewhere in the post) but DISM is not able to make use of it either. It's possible that something is wrong with the COMPONENTS hive (Brian is looking into it), which SFC/SCANNOW and/or DISM cannot repair. An external tool would be needed to fix the issue, if this turns out to be the case. Then again, the troubleshooting is still a work in progress, so it could be something else altogether.

Here is what I had written out on another forum, you may find it useful (amended for you slightly);

We had a similar issue to this and I wanted to share our experience with others, I'm sure it could help someone else if not the original poster (see specifically deleting the registry key step to help you with CBS_E_IMAGE_UNSERVICEABLE, error 0x800F0830).

We originally got into this situation installing windows updates, it failed tried to revert changes and boot looped. We eventually managed to repair the system with the DISM command in command prompt under Windows repair (booting from disk).

However the windows updates would all fail afterwards but we could at least boot to the desktop!

we ran sfc /scannow which said it detected issues and fixed them, but we still had windows update errors every time, we then ran the following dism command using the latest iso (obtained as a trial).

DISM /Online /Cleanup-Image /RestoreHealth /source:WIM:E:\Sources\Install.wim:2 /LimitAccess
note we used limitaccess (to bypass WSUS) and install wim2 (not wim1) was defined as apparently wim1 was for CORE installation, which we weren't using.

we received the error below. DISM (Error 0x800f081f) and SFC (Failed to Repair)

Found this also in the CBS log (C:\Windows\Logs\CBS) "Error CBS The image has been damaged by an offline servicing failure and no further servicing is allowed. [HRESULT = 0x800f0830 - CBS_E_IMAGE_UNSERVICEABLE]"

Please perform at your own risk. Delete the following registry key that is blocking the command (you may have to change owner in permissions to delete it).

"HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\ComponentBased" Delete attribute "Unserviceable"

Then re-run the DISM command preferably with the very latest image file or online (again as I mentioned before we had to use an official downloaded trial ISO, because our WSUS server seemed to stop the online DISM command working). We didn't use the original installation disk because our system had been patched to a higher level in windows update.

We then experienced no CBS errors. hopefully this registry fix will help you as well.
 
Thank you. Please do the following.

Step#1 - SFCFix Script
Warning: this fix is specific to the user in this thread. No one else should follow these instructions as it may cause more harm than good. If you are after assistance, please start a thread of your own.
  1. Download SFCFix.exe (by niemiro) and save this to your Desktop. If you still have this on your desktop from downloading previously, you don't need to re-download.
  2. Download the file below, SFCScript.txt, and save this to your Desktop.
  3. Save any open documents and close all open windows.
  4. On your Desktop, you should see two files: SFCFix.exe and SFCScript.txt.
  5. Drag the file SFCScript.txt onto the file SFCFix.exe and release it.
  6. SFCFix will now process the script.
  7. Upon completion, a file should be created on your Desktop: SFCFix.txt.
  8. Copy (Ctrl+C) and Paste (Ctrl+V) the contents of this file into your next post for me to analyse please
 

Attachments

Good. Now please repeat what you did in post#12. Info follows for reference.

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.

If it fails to install I will need the updated copy of the following log file.

C:\Windows\Logs\CBS\CBS.log
 
OK, let's do the following fix and then attempt the install of that update again. If it fails please again provide an updated log. Thanks.

Step#1 - SFCFix Script
Warning: this fix is specific to the user in this thread. No one else should follow these instructions as it may cause more harm than good. If you are after assistance, please start a thread of your own.

  1. Download SFCFix.exe (by niemiro) and save this to your Desktop. If you still have this on your desktop from downloading previously, you don't need to re-download.
  2. Download the file below, SFCScript.txt, and save this to your Desktop.
  3. Save any open documents and close all open windows.
  4. On your Desktop, you should see two files: SFCFix.exe and SFCScript.txt.
  5. Drag the file SFCScript.txt onto the file SFCFix.exe and release it.
  6. SFCFix will now process the script.
  7. Upon completion, a file should be created on your Desktop: SFCFix.txt.
  8. Copy (Ctrl+C) and Paste (Ctrl+V) the contents of this file into your next post for me to analyse please
 

Attachments

I am trying to install the update now. This is the resulting Log from running the SFCScript, just in case you need it. Will post results next.

RegistryScript::
Successfully took ownership and permissions for registry key HKEY_LOCAL_MACHINE\COMPONENTS\DerivedData\VersionedIndex\6.2.9200.17516 (win8_gdr.150912-0600)\ComponentFamilies\amd64_microsoft-windows-smbminirdr.resources_31bf3856ad364e35_en-us_7f18b81ab422d156\v!6.2.9200.17095.

WARNING: Failed to create backup for registry key HKEY_LOCAL_MACHINE\COMPONENTS\DerivedData\VersionedIndex\6.2.9200.17516 (win8_gdr.150912-0600)\ComponentFamilies\amd64_microsoft-windows-smbminirdr.resources_31bf3856ad364e35_en-us_7f18b81ab422d156\v!6.2.9200.17095.

Successfully deleted registry key HKEY_LOCAL_MACHINE\COMPONENTS\DerivedData\VersionedIndex\6.2.9200.17516 (win8_gdr.150912-0600)\ComponentFamilies\amd64_microsoft-windows-smbminirdr.resources_31bf3856ad364e35_en-us_7f18b81ab422d156\v!6.2.9200.17095.

Failed to open registry key HKEY_LOCAL_MACHINE\COMPONENTS\DerivedData\VersionedIndex\6.2.9200.17516 (win8_gdr.150912-0600)\ComponentFamilies\amd64_microsoft-windows-smbminirdr.resources_31bf3856ad364e35_en-us_7f18b81ab422d156\v!6.2.9200.17095 with error code ERROR_FILE_NOT_FOUND.
RegistryScript:: directive failed to complete successfully.




Failed to process all directives successfully.
SFCFix version 3.0.0.0 by niemiro has completed.
Currently storing 1 datablocks.
Finish time: 2016-04-28 15:38:25.325


Thank you
 
Thank you. I'd like to take a look at your Software hive. Please do the following.

Step#1 - Retrieve Software Hive
Note: The Software have has confidential and sensitive information in it so please send me a PM with a link to the hive so it's not in the public form.
  • Please download the Freeware RegBak from here: Acelogix Software - Download products
    You will find it at the bottom of the page that the link brings you to.
  • Go ahead and install this program and accept all the defaults. After the last install screen the program should open.
  • Click the New Backup button. Accept the defaults and simply click Start.
  • When it says Finished successfully, click the Close button.
  • This will bring you back to the main screen of the program. You will see one entry in this list with the date that you did it. Right-click on this line-item and select Explore Backup...
  • This will bring you into the folder where the backup was made. You should see a Users folder and a Windows folder along with a couple other files. Double-click on the Windows folder to open it. Then open the System32 folder and then config folder. You should see around 6 files in here, one of which is named SOFTWARE.
  • Copy this file to your Desktop.
  • Now right click on this file on your desktop and select Send to > Compressed (zipped) folder.
  • Then please upload the zip file(s) to your favourite file sharing website (it will be too big to upload here). Examples of services to upload to are Dropbox or One Drive or SendSpace and then just PM me your link.
  • You can close any open windows you have as well as the RegBack program now.
 
Thanks. Please do the following.

OK, let's do the following fix and then attempt the install of that update again. If it fails please again provide an updated log. Thanks.

Step#1 - SFCFix Script
Warning: this fix is specific to the user in this thread. No one else should follow these instructions as it may cause more harm than good. If you are after assistance, please start a thread of your own.
  1. Download SFCFix.exe (by niemiro) and save this to your Desktop. If you still have this on your desktop from downloading previously, you don't need to re-download.
  2. Download the file below, SFCScript.txt, and save this to your Desktop.
  3. Save any open documents and close all open windows.
  4. On your Desktop, you should see two files: SFCFix.exe and SFCScript.txt.
  5. Drag the file SFCScript.txt onto the file SFCFix.exe and release it.
  6. SFCFix will now process the script.
  7. Upon completion, a file should be created on your Desktop: SFCFix.txt.
  8. Copy (Ctrl+C) and Paste (Ctrl+V) the contents of this file into your next post for me to analyse please
 

Attachments

RegistryScript::
Successfully took ownership and permissions for registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-smbminirdr.resources_31bf3856ad364e35_en-us_7f18b81ab422d156\6.2.

Successfully imported registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-smbminirdr.resources_31bf3856ad364e35_en-us_7f18b81ab422d156\6.2.

Successfully restored ownership and permissions for registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-smbminirdr.resources_31bf3856ad364e35_en-us_7f18b81ab422d156\6.2.
RegistryScript:: directive completed successfully.

Successfully processed all directives.
SFCFix version 3.0.0.0 by niemiro has completed.
Currently storing 2 datablocks.
Finish time: 2016-04-29 06:23:39.497
 
Good news, the installation went through! At the end it asked me to restart, did that and the computer is back up. Nnnice job! What next?

Thank you.
 
KB3088195, which is the next update from the top of the list, seems to have installed fine (no errors) but it's asking to restart to finish installing. I will do a restart later today and report back. I used Windows Updates this time. Didn't have to manually download/install. If that works, should I continue installing the updates until all are done and report back if any fails?

Thank you!
 

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

Back
Top