Failed to load the COMPONENTS hive from 'C:\WINDOWS\System32\config\COMPONENTS

Jeeves1582

New member
Joined
Dec 3, 2021
Posts
2
Ran the below in powershell but got the below error...
PS C:\WINDOWS\system32> dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart

Deployment Image Servicing and Management tool
Version: 10.0.19041.844

Image Version: 10.0.19041.1110


Error: 23

Data error (cyclic redundancy check).

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


Below is the CBS.log snapshot
CBS Enumerating Foundation package: Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~10.0.19041.1, this could be slow
2021-12-03 18:54:06, Info CBS Update: Setting Install State, Package: Microsoft-Windows-Lxss-Optional-Package~31bf3856ad364e35~amd64~~10.0.19041.1110, Update: Microsoft-Windows-Subsystem-Linux, new state: On
2021-12-03 18:54:06, Info CBS Update: Setting Install State, Package: Microsoft-Windows-Lxss-Optional-Package~31bf3856ad364e35~amd64~~10.0.19041.1110, Update: Microsoft-Windows-Subsystem-Linux, current State: Off, new state: On, RemovePayload: 0
2021-12-03 18:54:07, Info CBS Failed to load the COMPONENTS hive from 'C:\WINDOWS\System32\config\COMPONENTS' into registry key 'HKLM\COMPONENTS'. [HRESULT = 0x80070017 - ERROR_CRC]
2021-12-03 18:54:07, Info CBS Failed to load component store [HRESULT = 0x80070017 - ERROR_CRC]
2021-12-03 18:54:07, Info CBS Failed to get CSI store. [HRESULT = 0x80070017 - ERROR_CRC]
2021-12-03 18:54:07, Info CBS Failed to get CSI store. [HRESULT = 0x80070017 - ERROR_CRC]
2021-12-03 18:54:07, Info CBS Failed to open COMPONENTS key path: COMPONENTS [HRESULT = 0x80070057 - E_INVALIDARG]
2021-12-03 18:54:07, Info CBS Failed to get COMPONENTS registry key. [HRESULT = 0x80070057 - E_INVALIDARG]
2021-12-03 18:54:07, Info CBS Failed to open COMPONENTS key. [HRESULT = 0x80070057 - E_INVALIDARG]
2021-12-03 18:54:07, Info CBS Failed to check for pending required flag, assuming it is set. [HRESULT = 0x80070057 - E_INVALIDARG]
2021-12-03 18:54:07, Info CBS Real pend will be used if required
2021-12-03 18:54:09, Info CBS Failed to load the COMPONENTS hive from 'C:\WINDOWS\System32\config\COMPONENTS' into registry key 'HKLM\COMPONENTS'. [HRESULT = 0x80070017 - ERROR_CRC]
2021-12-03 18:54:09, Info CBS Failed to load component store [HRESULT = 0x80070017 - ERROR_CRC]
2021-12-03 18:54:09, Info CBS Failed to get CSI store. [HRESULT = 0x80070017 - ERROR_CRC]
2021-12-03 18:54:09, Info CBS Failed to get CSI Store. [HRESULT = 0x80070017 - ERROR_CRC]
2021-12-03 18:54:09, Info CBS Failed to get CSI store from attached session. [HRESULT = 0x80070017 - ERROR_CRC]
2021-12-03 18:54:09, Info CBS Failed to initialize execution object. [HRESULT = 0x80070017 - ERROR_CRC]
2021-12-03 18:54:12, Error CBS Failed to perform operation. [HRESULT = 0x80070017 - ERROR_CRC]
2021-12-03 18:54:12, Info CBS Session: 30926921_199313806 finalized. Reboot required: no [HRESULT = 0x80070017 - ERROR_CRC]
2021-12-03 18:54:12, Info CBS Failed to FinalizeEx using worker session [HRESULT = 0x80070017]
2021-12-03 18:54:12, Info CBS Deleting directory: \\?\C:\WINDOWS\CbsTemp\30926921_199313806\



Can someone please help in checking what is causing the issue?
 

Attachments

@Jeeves1582 Welcome to Sysnative!

To open an elevated command prompt, Hit Start, type cmd, then hit CTRL+SHIFT+ENTER. An elevated command prompt should open.

In this prompt, type DISM /Online /Cleanup-Image /RestoreHealth then Enter.

Let this run.

Once the DISM scan is done, in the same prompt, type SFC /Scannow and enter. Let this run.

If each completes without error, try your install again. If not let us know.
 
It never hurts to do a drive diagnostic, and I really like SeaTools, but these days, with the rarest of exeptions, I use SeaTools for Windows rather than SeaTools for DOS.

How to use SeaTools for Windows

I also don't do the long test unless the short test fails in a situation such as this one.
 
Hi xrobwx71
Thanks for the reply.

Ran the below in cmd prompt but it failed with below error
DISM /Online DISM /Online /Cleanup-Image /RestoreHealth

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

Deployment Image Servicing and Management tool
Version: 10.0.19041.844

Image Version: 10.0.19041.1110

[== 3.8% ]
Error: 23

Data error (cyclic redundancy check).

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

Please find attached the dism log file
 

Attachments

If your drive diagnostic comes back clean, then the next logical step is: Doing a Windows 10 Repair Install or Feature Update Using the Windows 10 ISO file

If that doesn't solve it, then it's time to call in The Big Guns via a new post, referring back to this one, on the Windows Update forum.

If your drive diagnostic does not come back clean then you would be very well advised to immediately take a backup of all your user data (for all accounts) first, plus a full system image backup. You will then need to get yourself a new system drive and restore from your system image, to see if that can be made to work or be repaired. If it can, then great; if it can't, then you would have to resort to Doing a Completely Clean (Re)install of Windows 10 Using Media Creation Tool to Fetch the Win10 ISO File. Before doing such you will want to collect all of the installers/installation media for the programs you use regularly, as a completely clean install is just that - nothing you had on the system survives it, which is why it's a last resort.
 

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

Back
Top