[SOLVED] Server2012R2 No changes to Roles/Features possible

myreflex

New member
Joined
Mar 3, 2016
Posts
4
Hey Guys,
im new to this Forum. Got Attention by some Google Results and like the way you Support.
I'm having Trouble with my Server which doesn't let me install or remove any Roles or Features anymore.
Every step i take is pointing to a corrupted Configuration Database or rather Components Store.
sfc /scannow cannot complete and dism /restorehealth is also stating a corruption
At least Windows Update is working and up to date.

CBS:
Code:
016-03-02 20:17:08, Info                  CSI    [EMAIL="00000002@2016/3/2:19:17:08.239"]00000002@2016/3/2:19:17:08.239[/EMAIL] WcpInitialize (wcp.dll version 0.0.0.6) called (stack @0x7ffab55b7f19 @0x7ffac4f28a65 @0x7ffac4f28bb2 @0x7ff7c985cd89 @0x7ff7c985e28c @0x7ffad8dd2053)
2016-03-02 20:17:08, Info                  CBS    Failed to load the COMPONENTS hive from 'C:\Windows\System32\config\COMPONENTS' into registry key 'HKLM\COMPONENTS'. [HRESULT = 0x800703f1 - ERROR_BADDB]
2016-03-02 20:17:08, Info                  CBS    Failed to load component store [HRESULT = 0x800703f1 - ERROR_BADDB]
2016-03-02 20:17:08, Info                  CSI    00000003 GetSystemStore called without loading components hive
2016-03-02 20:17:08, Error                 CSI    [EMAIL="00000004@2016/3/2:19:17:08.255"]00000004@2016/3/2:19:17:08.255[/EMAIL] (F) base\wcp\componentstore\com\store.cpp(5589): Error HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND) originated in function CreateOrGetIStore expression: (null)
[gle=0x80004005]
DISM:
Code:
016-03-02 20:12:22, Error                 DISM   DISM Package Manager: PID=6036 TID=5276 Failed finalizing changes. - CDISMPackageManager::Internal_Finalize(hr:0x800703f1)
2016-03-02 20:12:22, Error                 DISM   DISM Package Manager: PID=6036 TID=5276 Failed processing package changes with session option CbsSessionOptionRepairStoreCorruption - CDISMPackageManager::RestoreHealth(hr:0x800703f1)
2016-03-02 20:12:22, Error                 DISM   DISM Package Manager: PID=6036 TID=5276 Failed to restore the image health. - CPackageManagerCLIHandler::ProcessCmdLine_CleanupImage(hr:0x800703f1)
2016-03-02 20:12:22, Error                 DISM   DISM Package Manager: PID=6036 TID=5276 Failed while processing command cleanup-image. - CPackageManagerCLIHandler::ExecuteCmdLine(hr:0x800703f1)
2016-03-02 20:12:22, Info                  DISM   DISM Package Manager: PID=6036 TID=5276 Further logs for online package and feature related operations can be found at %WINDIR%\logs\CBS\cbs.log - CPackageManagerCLIHandler::ExecuteCmdLine
2016-03-02 20:12:22, Error                 DISM   DISM.EXE: DISM Package Manager processed the command line but failed. HRESULT=800703F1
2

Reinstallation / Refresh is no Option since the Server is AD/DC. I Hope someone has still an Idea.

Thanks in advance
 

Attachments

Hello and Welcome! Do you have any backups from before the problem started?


Please manually upload the components hive by following these instructions:

Upload Components Hive
  1. Navigate to C:\Windows\System32\config
  2. Right-click on the current COMPONENTS file and select copy
    Note: If you get an error that the file is in use, reboot your computer and then try again.
  3. Right-click on your Desktop and select paste
  4. Right-click on the COMPONENTS file on your Desktop and select Send To -> Compressed (zipped) Folder
  5. Upload the zip from your Desktop to a file sharing service such as DropBox, OneDrive, SendSpace, etc. and include the link with your reply.
 
Thanks for ur Support
Yes, i have Backups. But the last Change in Roles is to Long ago i guess. I don't know when it came up first time since Updates work fine.
I allready tried replacing the registry offline with an old File from Backup but the Error remains, and due to the backuptype i cant restore the whole registry from online writer, or else my AD would be rolled back also.
COMPONENTS: Download COMPONENTS.zip from Sendspace.com - send big files the easy way
 
Step 1 - Replace Components Hive Manually

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 -->COMPONENTS.ZIP<-- and save to your desktop.
  2. Right-click on it and select Extract all.... Make sure the "Show extracted files when complete" is checked and click Extract.
  3. Now we have the COMPONENTS file that we will be using to replace your current one.
  4. Navigate to C:\Windows\System32\config
  5. Right-click on the current COMPONENTS file and select rename. Rename it to COMPONENTS.bad.
    Note: If you get an error that the file is in use, reboot your computer and then try again.
  6. Take the file from the Components folder on your desktop and paste it into C:\Windows\System32\config

Step 2 - DISM /RestoreHealth Scan

  1. Right-click on the Start
    w8start.png
    button and select Command Prompt (Admin)
  2. When command prompt opens, Copy (Ctrl+C) and Paste (Right-click > Paste) the following command into it, then press Enter

    Dism /Online /Cleanup-Image /RestoreHealth

  3. When DISM finishes scanning your component store, zip up and attach your CBS log to your next post:

    C:\Windows\Logs\CBS\CBS.log
 
Awsome Work. It went through the repairprocess without any Errors.
But can you tell me the Reason of this Error for further avoidance?

*EDIT*
As expected i was able to successfully install some new Features on the Server also.
Thank you once again, Keep up the good Work! Donation is out.
:thumbsup2:
 

Attachments

Glad to hear it worked :thumbsup2:

I'm not sure of the reason, I've seen it a few times here.
The checksum for the hive is incorrect, so Windows 8 and newer won't load it but Windows 7 will.
Once the checksum is fixed, the hive will load without an issue.

Please check for Windows Updates and attempt to install one.
 
Just wanted to give a quick Feedback.
Windowsupdates installed properly and Server works as there never were any Problem.
SOLVED :grin1:
 

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

Back
Top