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: Oldest
  1. Ramesh 181.6K Reputation points Volunteer Moderator
    2025-06-02T16:18:00+00:00

    Please reset the app repository database using these steps.

    Note: The following procedure will make your Start menu and settings inoperable. Your existing Store apps will be gone. After doing the procedure below, a repair installation is required.

    Download "reset_staterepository.bat" from this link:
    https://1drv.ms/u/s!AjVYLGw0OBWU5Ap7RvIn84UWg3l...

    Move the file to the C:\ root.

    Download AdvancedRun from Nirsoft
    https://www.nirsoft.net/utils/advanced_run.html

    Launch AdvancedRun and start "c:\windows\system32\cmd.exe" as TrustedInstaller. See this screenshot - https://www.winhelponline.com/blog/wp-content/u...

    In the TrustedInstaller Command Prompt, run: "C:\Reset_StateRepository.bat"

    Post the screenshot here.

    Once done, mount the Windows 11 ISO and run setup.exe.

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2025-06-02T16:36:47+00:00

    Microsoft Windows [Version 10.0.22631.5413]

    (c) Microsoft Corporation. All rights reserved.

    C:\WINDOWS\System32>C:\Reset_StateRepository.bat

    C:\WINDOWS\System32>md C:\SRBackup

    A subdirectory or file C:\SRBackup already exists.

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

    C:\ProgramData\Microsoft\Windows\AppRepository>sc config staterepository start= disabled

    [SC] ChangeServiceConfig SUCCESS

    C:\ProgramData\Microsoft\Windows\AppRepository>net stop StateRepository

    The following services are dependent on the State Repository Service service.

    Stopping the State Repository Service service will also stop these services.

    AppX Deployment Service (AppXSVC)

    Do you want to continue this operation? (Y/N) [N]: Y

    The AppX Deployment Service (AppXSVC) service is stopping.

    The AppX Deployment Service (AppXSVC) service was stopped successfully.

    The State Repository Service service is stopping.

    The State Repository Service service was stopped successfully.

    C:\ProgramData\Microsoft\Windows\AppRepository>move /y StateRepository-* C:\SRBackup\

    C:\ProgramData\Microsoft\Windows\AppRepository\StateRepository-Deployment.srd

    C:\ProgramData\Microsoft\Windows\AppRepository\StateRepository-Deployment.srd-shm

    C:\ProgramData\Microsoft\Windows\AppRepository\StateRepository-Deployment.srd-wal

    C:\ProgramData\Microsoft\Windows\AppRepository\StateRepository-Machine.srd

    C:\ProgramData\Microsoft\Windows\AppRepository\StateRepository-Machine.srd-shm

    C:\ProgramData\Microsoft\Windows\AppRepository\StateRepository-Machine.srd-wal

        6 file(s) moved. 
    

    C:\ProgramData\Microsoft\Windows\AppRepository>sc config staterepository start= demand

    [SC] ChangeServiceConfig SUCCESS

    C:\ProgramData\Microsoft\Windows\AppRepository>pause

    Press any key to continue . . .

    Was this answer helpful?

    0 comments No comments
  3. Ramesh 181.6K Reputation points Volunteer Moderator
    2025-06-02T16:40:34+00:00

    Mount the 24H2 ISO saved on your desktop.

    Run setup.exe.

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2025-06-02T17:36:47+00:00

    Checking for updates is getting stuck at 46%

    Was this answer helpful?

    0 comments No comments