The component store has been corrupted. Windows Server 2016 STD.

JacksonCarvalho

New member
Joined
Jan 10, 2025
Posts
4
First time opening a topic here, I hope I'm not making a mistake... I have a problem with Windows Server 2016 Standard with a graphical interface. I can't repair it either with .ISO or online. Can anyone help me?

C:\WINDOWS\system32>Dism /Online /Cleanup-Image /RestoreHealth

Deployment Image Servicing and Management tool
Version: 10.0.14393.4169

Image Version: 10.0.14393.4169

[== 4.5% ]
Error: 14098

The component store has been corrupted.

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

C:\WINDOWS\system32>sfc /scannow

Beginning system scan. This process will take some time.


Windows Resource Protection could not perform the requested operation.

C:\WINDOWS\system32>


Se tiver um BR aqui eu falo em português pra facilitar nossa conversa =).
 

Attachments

Hi @JacksonCarvalho,

Welcome to Sysnative Forums!

If you haven't already, please review the posting instructions here, and attach the requested log files. Without log files, our helpers will not be able to assist, and this will slow down fixing your machine.

If logs have been already been provided, our team of volunteers will analyse the provided log files to build a fix for your system. Please be aware that this may take several days from your initial post, due to the high volume of threads that we receive.


- Sysnative Windows Update Team
 
Hello and welcome,

Provide the 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. Note: If you find that you need to reboot and are unable to because this is a server then try Option#2 below.
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 Gofile or WeTransfer and just provide the link here.


Option#2 (only if you are unable to follow the previous instructions)

  • 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 COMPONENTS.
  • Copy the COMPONENTS file to your Desktop. If the COMPONENTS file does not exist, please fetch it instead from C:\Windows\System32\config\COMPONENTS.
  • Now right-click on the COMPONENTS file that is on your desktop and select Send to > Compressed (zipped) folder.
  • Then please upload the zip file (COMPONENTS.zip) to your favourite file sharing website (it will be too big to upload here). Examples of services to upload to are Gofile or WeTransfer and then just provide the link in your reply.
  • You can close any open windows you have as well as the RegBak program now.
 
That doesn't look good. Do you have backups ?
 
I do have a backup of the VM, but it is a server that even restoring a backup is complicated, it hosts System Center, SQL databases and other third-party applications, so I am trying to repair it before restoring a backup or starting a new VM.
 
For now we only need the file C:\Windows\System32\Config\Components
Try to extract it from the backup and attach it to your next reply so I can have a look at it.
 
I did some more research and saw that the last time this VM had an update installed was on the 10th, on the 19th. So I went looking for the Components file in the monthly backups, but they were all the same as the one I sent, with nothing inside. The only file I found with more content was on the 30th of month 09. So I don't have any logs from the day the last KB was installed, which possibly caused the problem, and I don't have any logs from the following two days.

The KBs installed were KBs 5043124 and 5040434.

I don't think this file here will help much, but I'll attach it anyway.
 

Attachments

Great, the attached file is valid so we can start with that one and go from there.

Replace Components Hive
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.
  • Navigate to C:\Windows\System32\config
  • 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.
  • Take the file COMPONENTS you send with message #8 and paste it into C:\Windows\System32\config
Let me know if the hive was replaced or if there were any errors.
 

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

Back
Top