Win 8.1 sfc /scannow returns Windows Resource Protection could not perform the requested operation.

I am running Windows 8.1 Pro.

I have been experiencing problems that lead me to believe the my component store is corrupted.

When I run sfc /scannow sfc immediately comes back with "Windows Resource Protection could not perform the required operation.

Here are the entries in the CBS file

 TI: --- Initializing Trusted Installer ---
2014-01-21 10:45:59, Info                  CBS    TI: Last boot time: 2014-01-21 10:28:05.492
2014-01-21 10:45:59, Info                  CBS    Starting TrustedInstaller initialization.
2014-01-21 10:45:59, Info                  CBS    Ending TrustedInstaller initialization.
2014-01-21 10:45:59, Info                  CBS    Starting the TrustedInstaller main loop.
2014-01-21 10:45:59, Info                  CBS    TrustedInstaller service starts successfully.
2014-01-21 10:45:59, Info                  CBS    No startup processing required, TrustedInstaller service was not set as autostart
2014-01-21 10:45:59, Info                  CBS    Startup processing thread terminated normally
2014-01-21 10:45:59, Info                  CBS    Starting TiWorker initialization.
2014-01-21 10:45:59, Info                  CBS    Ending TiWorker initialization.
2014-01-21 10:45:59, Info                  CBS    Starting the TiWorker main loop.
2014-01-21 10:45:59, Info                  CBS    TiWorker starts successfully.
2014-01-21 10:45:59, Info                  CBS    TiWorker: Client requests SFP repair object.
2014-01-21 10:45:59, Info                  CBS    Universal Time is: 2014-01-21 16:45:59.014
2014-01-21 10:45:59, Info                  CBS    Open of SC_BOOT_SERVICING_DONE event failed 2

2014-01-21 10:45:59, Info                  CBS    Loaded Servicing Stack v6.3.9600.16470 with Core: C:\WINDOWS\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_6.3.9600.16470_none_fa2491fd9b3cfcb2\cbscore.dll
2014-01-21 10:45:59, Info                  CSI    00000001@2014/1/21:16:45:59.016 WcpInitialize (wcp.dll version 0.0.0.6) called (stack @0x7ffa54fd5929 @0x7ffa55266bda @0x7ffa55269a06 @0x7ff74300d25f @0x7ff74300dc17 @0x7ffa800d2385)
2014-01-21 10:45:59, Info                  CBS    SQM: Initializing online with Windows opt-in: False
2014-01-21 10:45:59, Info                  CBS    SQM: Cleaning up report files older than 10 days.
2014-01-21 10:45:59, Info                  CBS    SQM: Requesting upload of all unsent reports.
2014-01-21 10:45:59, Info                  CBS    SQM: Failed to start upload with file pattern: C:\WINDOWS\servicing\sqm\*_std.sqm, flags: 0x2 [HRESULT = 0x80004005 - E_FAIL]
2014-01-21 10:45:59, Info                  CBS    SQM: Failed to start standard sample upload. [HRESULT = 0x80004005 - E_FAIL]
2014-01-21 10:45:59, Info                  CBS    SQM: Queued 0 file(s) for upload with pattern: C:\WINDOWS\servicing\sqm\*_all.sqm, flags: 0x6
2014-01-21 10:45:59, Info                  CBS    SQM: Warning: Failed to upload all unsent reports. [HRESULT = 0x80004005 - E_FAIL]
2014-01-21 10:45:59, Info                  CBS    NonStart: Set pending store consistency check.
2014-01-21 10:45:59, Info                  CSI    00000002@2014/1/21:16:45:59.020 WcpInitialize (wcp.dll version 0.0.0.6) called (stack @0x7ffa54fd5929 @0x7ffa652e7fc0 @0x7ffa652e80f2 @0x7ff74300c9a5 @0x7ff74300dc2e @0x7ffa800d2385)
2014-01-21 10:45:59, Info                  CSI    00000003 No store version format found; DLL store format 0.0.0.6
2014-01-21 10:45:59, Error                 CSI    00000004@2014/1/21:16:45:59.027 (F) base\wcp\componentstore\storelayout.cpp(3854): Error STATUS_SXS_COMPONENT_STORE_CORRUPT originated in function ComponentStore::CRawStoreLayout::OpenCanonicalDataKey expression: (null)
[gle=0x80004005]
2014-01-21 10:45:59, Info                  CBS    Added C:\WINDOWS\Logs\CBS\CBS.log to WER report.
2014-01-21 10:45:59, Info                  CBS    Added C:\WINDOWS\Logs\CBS\CbsPersist_20140121102547.cab to WER report.
2014-01-21 10:45:59, Info                  CBS    Added C:\WINDOWS\Logs\CBS\CbsPersist_20140114224141.cab to WER report.
2014-01-21 10:45:59, Info                  CBS    Added C:\WINDOWS\Logs\CBS\CbsPersist_20140104132548.cab to WER report.
2014-01-21 10:45:59, Info                  CBS    Added C:\WINDOWS\Logs\CBS\CbsPersist_20131220204514.cab to WER report.
2014-01-21 10:45:59, Info                  CBS    Added C:\WINDOWS\Logs\CBS\CbsPersist_20131215075547.cab to WER report.
2014-01-21 10:45:59, Info                  CBS    Could not get active session for current session file logging [HRESULT = 0x80004003 - E_POINTER]
2014-01-21 10:45:59, Info                  CBS    Not able to add pending.xml to Windows Error Report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2014-01-21 10:45:59, Info                  CBS    Not able to add pending.xml.bad to Windows Error Report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2014-01-21 10:45:59, Info                  CBS    Failed to get CSI system store [HRESULT = 0x80073712 - ERROR_SXS_COMPONENT_STORE_CORRUPT]
2014-01-21 10:45:59, Info                  CBS    CSI store consistency check fails. [HRESULT = 0x80073712 - ERROR_SXS_COMPONENT_STORE_CORRUPT]
2014-01-21 10:45:59, Info                  CBS    Failed to load component store [HRESULT = 0x80073712 - ERROR_SXS_COMPONENT_STORE_CORRUPT]
2014-01-21 10:45:59, Info                  CSI    00000005 No store version format found; DLL store format 0.0.0.6
2014-01-21 10:45:59, Error                 CSI    00000006@2014/1/21:16:45:59.051 (F) base\wcp\componentstore\storelayout.cpp(3854): Error STATUS_SXS_COMPONENT_STORE_CORRUPT originated in function ComponentStore::CRawStoreLayout::OpenCanonicalDataKey expression: (null)
[gle=0x80004005]
2014-01-21 10:45:59, Info                  CBS    Added C:\WINDOWS\Logs\CBS\CBS.log to WER report.
2014-01-21 10:45:59, Info                  CBS    Added C:\WINDOWS\Logs\CBS\CbsPersist_20140121102547.cab to WER report.
2014-01-21 10:45:59, Info                  CBS    Added C:\WINDOWS\Logs\CBS\CbsPersist_20140114224141.cab to WER report.
2014-01-21 10:45:59, Info                  CBS    Added C:\WINDOWS\Logs\CBS\CbsPersist_20140104132548.cab to WER report.
2014-01-21 10:45:59, Info                  CBS    Added C:\WINDOWS\Logs\CBS\CbsPersist_20131220204514.cab to WER report.
2014-01-21 10:45:59, Info                  CBS    Added C:\WINDOWS\Logs\CBS\CbsPersist_20131215075547.cab to WER report.
2014-01-21 10:45:59, Info                  CBS    Could not get active session for current session file logging [HRESULT = 0x80004003 - E_POINTER]
2014-01-21 10:45:59, Info                  CBS    Not able to add pending.xml to Windows Error Report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2014-01-21 10:45:59, Info                  CBS    Not able to add pending.xml.bad to Windows Error Report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2014-01-21 10:47:59, Info                  CBS    Trusted Installer is shutting down because: SHUTDOWN_REASON_AUTOSTOP
2014-01-21 10:47:59, Info                  CBS    TiWorker signaled for shutdown, going to exit.
2014-01-21 10:47:59, Info                  CBS    Ending the TiWorker main loop.
2014-01-21 10:47:59, Info                  CBS    Ending the TrustedInstaller main loop.
2014-01-21 10:47:59, Info                  CBS    Starting TiWorker finalization.
2014-01-21 10:47:59, Info                  CBS    Starting TrustedInstaller finalization.
2014-01-21 10:47:59, Info                  CBS    Ending TrustedInstaller finalization.
2014-01-21 10:47:59, Info                  CBS    Ending TiWorker finalization.

Is there a way to rebuild the component store?

Thanks,

Glen

January 21st, 2014 12:07pm

Hey Glen,

This log shows the exact same error that is mentioned in the comments of this blog post, and the response is:


               joscon [Microsoft]                  Avatar of joscon [Microsoft]                                                   

joscon [Microsoft]

Thanks.  Unfortunately, this isn't good news.  The CanonicalData key is missing.

2013-08-05 11:08:32, Error                 CSI    00000004@2013/8/5:09:08:32.471 (F) base\wcp\componentstore\storelayout.cpp(3617): Error STATUS_SXS_COMPONENT_STORE_CORRUPT originated in function ComponentStore::CRawStoreLayout::OpenCanonicalDataKey expression: (null)

[gle=0x80004005]

Unfortunately, its a small, but unrecreatable subset of data.  If this is missing, servicing is broken on the machine and the system will need to be restored from backup or PBR.

So you will need to try a refresh or a re-install of Windows, unfortunately.

Hope this helps,

David

Windows Outreach Team - IT Pro
The Springboard Series on TechNet


Free Windows Admin Tool Kit Click here and download it now
January 21st, 2014 1:45pm

Hey Glen,

This log shows the exact same error that is mentioned in the comments of this blog post, and the response is:


               joscon [Microsoft]                  Avatar of joscon [Microsoft]                                                   

joscon [Microsoft]

Thanks.  Unfortunately, this isn't good news.  The CanonicalData key is missing.

2013-08-05 11:08:32, Error                 CSI    00000004@2013/8/5:09:08:32.471 (F) base\wcp\componentstore\storelayout.cpp(3617): Error STATUS_SXS_COMPONENT_STORE_CORRUPT originated in function ComponentStore::CRawStoreLayout::OpenCanonicalDataKey expression: (null)

[gle=0x80004005]

Unfortunately, its a small, but unrecreatable subset of data.  If this is missing, servicing is broken on the machine and the system will need to be restored from backup or PBR.

So you will need to try a refresh or a re-install of Windows, unfortunately.

Hope this helps,

David

Windows Outreach Team - IT Pro
The Springboard Series on TechNet


January 21st, 2014 6:41pm

Hey Glen,

This log shows the exact same error that is mentioned in the comments of this blog post, and the response is:


               joscon [Microsoft]                  Avatar of joscon [Microsoft]                                                   

joscon [Microsoft]

Thanks.  Unfortunately, this isn't good news.  The CanonicalData key is missing.

2013-08-05 11:08:32, Error                 CSI    00000004@2013/8/5:09:08:32.471 (F) base\wcp\componentstore\storelayout.cpp(3617): Error STATUS_SXS_COMPONENT_STORE_CORRUPT originated in function ComponentStore::CRawStoreLayout::OpenCanonicalDataKey expression: (null)

[gle=0x80004005]

Unfortunately, its a small, but unrecreatable subset of data.  If this is missing, servicing is broken on the machine and the system will need to be restored from backup or PBR.

So you will need to try a refresh or a re-install of Windows, unfortunately.

Hope this helps,

David

Windows Outreach Team - IT Pro
The Springboard Series on TechNet


Free Windows Admin Tool Kit Click here and download it now
January 21st, 2014 6:41pm

A small but unrecreatable subset of data... are you kidding us ?? Reinstall a whole system for a f****  key ? 2 years later I face the same problem and nothing evolved regarding this ? Why can't it be recreated ? Is it some kind of magical data that came from nowhere ??
August 14th, 2015 8:23pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics