COMPONENTS hive is corrupted, Can someone help in fixing

Anonymous
2025-05-16T16:35:37+00:00

COMPONENTS hive is corrupted, Can someone help in fixing

2025-05-15 21:41:57, Info CBS Failed to load the COMPONENTS hive from 'C:\WINDOWS\System32\config\COMPONENTS' into registry key 'HKLM\COMPONENTS'. [HRESULT = 0x800703f1 - ERROR_BADDB]

2025-05-15 21:41:57, Info CBS Failed to load component store [HRESULT = 0x800703f1 - ERROR_BADDB]

2025-05-15 21:41:57, Info CBS Failed to get CSI store. [HRESULT = 0x800703f1 - ERROR_BADDB]

2025-05-15 21:41:57, Info CBS Failed to get CSI Store. [HRESULT = 0x800703f1 - ERROR_BADDB]

2025-05-15 21:41:57, Info CBS Failed to get CSI store. [HRESULT = 0x800703f1 - ERROR_BADDB]

2025-05-15 21:41:57, Info CBS Failed to get inventory [HRESULT = 0x800703f1 - ERROR_BADDB]

2025-05-15 21:41:57, Info CBS Failed to load current component state [HRESULT = 0x800703f1 - ERROR_BADDB]

2025-05-15 21:41:57, Info CBS Failed to find or add the component family [HRESULT = 0x800703f1 - ERROR_BADDB]

2025-05-15 21:41:57, Info CBS ComponentAnalyzerEvaluateSelfUpdate call failed. [HRESULT = 0x800703f1 - ERROR_BADDB]

2025-05-15 21:41:57, Info CBS Failed to evaluate self update [HRESULT = 0x800703f1 - ERROR_BADDB]

2025-05-15 21:41:57, Info CBS Failed to evaluate non detect parent update [HRESULT = 0x800703f1 - ERROR_BADDB]

2025-05-15 21:41:57, Info CBS Failed to evaluate non parent [HRESULT = 0x800703f1 - ERROR_BADDB]

2025-05-15 21:41:57, Info CBS failed to evaluate single applicability [HRESULT = 0x800703f1 - ERROR_BADDB]

2025-05-15 21:41:57, Info CBS Failed to evaluate applicability [HRESULT = 0x800703f1 - ERROR_BADDB]

2025-05-15 21:41:57, Info CBS Failed to get applicability on updates [HRESULT = 0x800703f1 - ERROR_BADDB]

2025-05-15 21:41:57, Error CBS Failed to call external evaluate applicability on package: Package_5_for_KB5033055~31bf3856ad364e35~amd64~~10.0.1.1, Update: 5033055-5_neutral [HRESULT = 0x800703f1 - ERROR_BADDB]

2025-05-15 21:41:57, Info CBS Failed to evaluate external applicability for package update: 5033055-57_neutral_PACKAGE [HRESULT = 0x800703f1 - ERROR_BADDB]

2025-05-15 21:41:57, Error CBS Failed to call external evaluate applicability on package: Package_for_KB5033055~31bf3856ad364e35~amd64~~22621.2574.1.1, Update: 5033055-57_neutral_PACKAGE [HRESULT = 0x800703f1 - ERROR_BADDB]

2025-05-15 21:41:57, Info CBS Failed to call EvaluateApplicability on internal CBS package. [HRESULT = 0x800703f1]

Windows for home | Windows 11 | Windows update

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
Answer accepted by question author
Ramesh 181.6K Reputation points Volunteer Moderator
2025-06-08T14:59:58+00:00

Thanks Ramesh,

Windows store is installed and photos is also working properly.

Glad to hear that. If the original issue is solved, you may close this thread by marking helpful posts as answers. How to mark Your question as "Answered".

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

69 additional answers

Sort by: Most helpful
  1. Anonymous
    2025-06-02T15:40:16+00:00

    Microsoft Windows [Version 10.0.22631.5413]

    (c) Microsoft Corporation. All rights reserved.

    C:\WINDOWS\System32>cd /d C:\ProgramData\Microsoft\Windows\AppRepository

    C:\ProgramData\Microsoft\Windows\AppRepository>

    C:\ProgramData\Microsoft\Windows\AppRepository>xcopy /h StateRepository-* C:\SRBackup\

    C:StateRepository-Deployment.srd

    C:StateRepository-Deployment.srd-shm

    C:StateRepository-Deployment.srd-wal

    C:StateRepository-Machine.srd

    C:StateRepository-Machine.srd-shm

    C:StateRepository-Machine.srd-wal

    6 File(s) copied

    C:\ProgramData\Microsoft\Windows\AppRepository>

    C:\ProgramData\Microsoft\Windows\AppRepository>dir C:\SRBackup

    Volume in drive C has no label.

    Volume Serial Number is 04F4-27A3

    Directory of C:\SRBackup

    02-06-2025 21:09 .

    01-06-2025 23:30 39,845,888 StateRepository-Deployment.srd

    02-06-2025 20:51 32,768 StateRepository-Deployment.srd-shm

    02-06-2025 21:07 5,392 StateRepository-Deployment.srd-wal

    02-06-2025 21:06 7,340,032 StateRepository-Machine.srd

    02-06-2025 20:51 32,768 StateRepository-Machine.srd-shm

    02-06-2025 21:07 136,176 StateRepository-Machine.srd-wal

               6 File(s)     47,393,024 bytes
    
               1 Dir(s)  58,920,919,040 bytes free
    

    C:\ProgramData\Microsoft\Windows\AppRepository>

    Was this answer helpful?

    0 comments No comments
  2. Ramesh 181.6K Reputation points Volunteer Moderator
    2025-06-01T20:13:24+00:00

    From admin Command Prompt, run:

    cd /d C:\ProgramData\Microsoft\Windows\AppRepository

    *xcopy /h StateRepository-* C:\SRBackup*

    dir C:\SRBackup

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2025-06-01T18:31:38+00:00
    1. cmd output

    C:\WINDOWS\System32>rd /s /q "C:\ProgramData\Microsoft\Network\Connections\Cm"

    C:\WINDOWS\System32>rd /s /q "C:\ProgramData\Microsoft\Network\Connections\CM_old"

    C:\WINDOWS\System32>

    C:\WINDOWS\System32>reg delete

    ERROR: Invalid syntax.

    Type "REG DELETE /?" for usage.

    C:\WINDOWS\System32>reg delete "HKLM\System\CurrentControlSet\Services\RasMan\Parameters\Config\Phonebooks" /f

    The operation completed successfully.

    C:\WINDOWS\System32>dir c:\srbackup /a

    Volume in drive C has no label.

    Volume Serial Number is 04F4-27A3

    Directory of c:\srbackup

    01-06-2025 22:34 .

    01-06-2025 22:34 ..

               0 File(s)              0 bytes
    
               2 Dir(s)  59,362,082,816 bytes free
    

    C:\WINDOWS\System32>

    1. Error in locating core isolation

    1. ISO creation in progress

    Was this answer helpful?

    0 comments No comments
  4. Ramesh 181.6K Reputation points Volunteer Moderator
    2025-06-01T18:00:12+00:00

    Hi Aditya,

    1. From admin Command Prompt, run:

    rd /s /q "C:\ProgramData\Microsoft\Network\Connections\Cm"

    rd /s /q "C:\ProgramData\Microsoft\Network\Connections\CM_old"

    reg delete "HKLM\System\CurrentControlSet\Services\RasMan\Parameters\Config\Phonebooks" /f

    dir c:\srbackup /a

    Post the output.

    1. Enable Memory Integrity. To do so, go to Windows Security > Device security > Core isolation details > Memory integrity.
    2. Download the 24H2 ISO.

    Download Windows 11 Media Creation Tool (MCT) from this link:

    https://go.microsoft.com/fwlink/?linkid=2156295

    Run MCT and download the ISO it recommends for your system. Do *not* uncheck "Use the recommended options for this PC".

    Save the ISO on the desktop. Don't run setup yet.

    Was this answer helpful?

    0 comments No comments