W8.1 Missing system DLLs - sfc /scannow and dism fail to run?

Agent766

Member
Joined
Feb 24, 2014
Posts
24
Recently I did a Windows refresh install. After that I had a lot of trouble. My metro apps were mostly corrupted (including the store) and logging it sat for 5 minutes at a blank screen before the metro UI loaded. Through some power Googling, I was able to repair the store app by running the command given here which would let the store update the broken apps. Then I was able to fix the freezing by disabling the App Readiness service. I'm giving this background because it may be related to my present problem.

My current issue is that I seem to be missing some system dlls. I've been trying to write a dll plugin for a program, but it was failing to load. Running Dependency Walker shows that kernel32.dll is referencing a few dlls that don't exist (http://puu.sh/79i6m.png). I tried running dism and sfc, but both seem to be failing with a CBS error - CBS_E_DOWNLOAD_FAILURE. DISM gives error 0x800f0906.

My CBS folder: http://puu.sh/79iAQ.zip
SFCFix output:
Code:
SFCFix version 2.1.0.0 by niemiro.Start time: 2014-02-24 22:35:52.252
Not using a script file.








AutoAnalysis::
SUMMARY: Some corruptions could not be fixed automatically. Seek advice from helper or sysnative.com.
   CBS & SFC total detected corruption count:     12
   CBS & SFC total unimportant corruption count:  0
   CBS & SFC total fixed corruption count:        0
   SURT total detected corruption count:          0
   SURT total unimportant corruption count:       0
   SURT total fixed corruption count:             0
AutoAnalysis:: directive completed successfully.








Successfully processed all directives.
SFCFix version 2.1.0.0 by niemiro has completed.
Currently storing 0 datablocks.
Finish time: 2014-02-24 22:36:00.335
----------------------EOF-----------------------
 
Hello Agent 766, welcome to Sysnative!

I'm sorry for the delay in getting to your thread. All of the Windows Update specialists, myself included, are in full time education and have very little free time right now. The Windows Update forum is growing at an incredible rate and it's very hard to keep on top of it all.

Your CBS log is showing some manifest problems:

Code:
2014-02-24 16:35:42, Info                  CSI    00000864 [SR] Repairing 3 components
2014-02-24 16:35:42, Info                  CSI    00000865 [SR] Beginning Verify and Repair transaction
2014-02-24 16:35:42, Info                  CSI    00000866 Manifest hash for component [ml:280{140},l:200{100}]"amd64_microsoft-windows-cameracodec-deployment_31bf3856ad364e35_6.3.9600.16453_none_dfcf1586094bc1fc" does not match expected value. 
 Expected:{l:32 b:e9f24d3d14dda6c8023dd4bc84778759ec139aa693803333b5686fdcd9fee697}
 Found:{l:32 b:0d11f4248e6702948745c7702e1c9aaeff983ff4585022ff0d065aefb3c9c5db}.
2014-02-24 16:35:42, Info                  CSI    00000867 Unable to load manifest for component [ml:280{140},l:200{100}]"amd64_microsoft-windows-cameracodec-deployment_31bf3856ad364e35_6.3.9600.16453_none_dfcf1586094bc1fc"
2014-02-24 16:35:42, Info                  CSI    00000868 [SR] Cannot verify component files for Microsoft-Windows-CameraCodec-Deployment, Version = 6.3.9600.16453, pA = PROCESSOR_ARCHITECTURE_AMD64 (9), Culture neutral, VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neutral, TypeName neutral, PublicKey neutral, manifest is damaged (TRUE)
2014-02-24 16:35:42, Info                  CSI    00000869 Manifest hash for component [ml:280{140},l:190{95}]"amd64_microsoft-windows-microsoftrawcodec_31bf3856ad364e35_6.3.9600.16453_none_28b4e8b21dbe718f" does not match expected value. 
 Expected:{l:32 b:f28b692154cf96a73f2c13412eeeaf79e449a8173054230d3a791748197d5224}
 Found:{l:32 b:9914ed659fb101b06905e3030dce17ce3ca751605de20d24a069f49d8c9b5bfe}.
2014-02-24 16:35:42, Info                  CSI    0000086a Unable to load manifest for component [ml:280{140},l:190{95}]"amd64_microsoft-windows-microsoftrawcodec_31bf3856ad364e35_6.3.9600.16453_none_28b4e8b21dbe718f"
2014-02-24 16:35:42, Info                  CSI    0000086b [SR] Cannot verify component files for Microsoft-Windows-MicrosoftRawCodec, Version = 6.3.9600.16453, pA = PROCESSOR_ARCHITECTURE_AMD64 (9), Culture neutral, VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neutral, TypeName neutral, PublicKey neutral, manifest is damaged (TRUE)
2014-02-24 16:35:42, Info                  CSI    0000086c Manifest hash for component [ml:280{140},l:186{93}]"x86_microsoft-windows-microsoftrawcodec_31bf3856ad364e35_6.3.9600.16453_none_cc964d2e65610059" does not match expected value. 
 Expected:{l:32 b:f1fa416457f0bf9f3ad3ffd752643b3aa3af721c51a114219696eb1c174c4a80}
 Found:{l:32 b:68193f3f98611b2aa42be4d2995b0b9a2465277c7520231324a08460639a41a5}.
2014-02-24 16:35:42, Info                  CSI    0000086d Unable to load manifest for component [ml:280{140},l:186{93}]"x86_microsoft-windows-microsoftrawcodec_31bf3856ad364e35_6.3.9600.16453_none_cc964d2e65610059"
2014-02-24 16:35:42, Info                  CSI    0000086e [SR] Cannot verify component files for Microsoft-Windows-MicrosoftRawCodec, Version = 6.3.9600.16453, pA = PROCESSOR_ARCHITECTURE_INTEL (0), Culture neutral, VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neutral, TypeName neutral, PublicKey neutral, manifest is damaged (TRUE)
2014-02-24 16:35:42, Info                  CSI    0000086f [SR] Repair complete
2014-02-24 16:35:42, Info                  CSI    00000870 Manifest hash for component [ml:280{140},l:190{95}]"amd64_microsoft-windows-microsoftrawcodec_31bf3856ad364e35_6.3.9600.16453_none_28b4e8b21dbe718f" does not match expected value. 
 Expected:{l:32 b:f28b692154cf96a73f2c13412eeeaf79e449a8173054230d3a791748197d5224}
 Found:{l:32 b:9914ed659fb101b06905e3030dce17ce3ca751605de20d24a069f49d8c9b5bfe}.
2014-02-24 16:35:42, Info                  CSI    00000871 Looking for manifest in Backup Dir...
2014-02-24 16:35:42, Error                 CSI    00000872 (F) Unable to load manifest for component [ml:280{140},l:190{95}]"amd64_microsoft-windows-microsoftrawcodec_31bf3856ad364e35_6.3.9600.16453_none_28b4e8b21dbe718f"[gle=0x80004005]
2014-02-24 16:35:42, Error                 CSI    00000873@2014/2/24:22:35:42.661 (F) base\wcp\componentstore\storelayout.cpp(2158): Store corruption detected in function ComponentStore::CRawStoreLayout::FetchManifestContent expression: 0
  FileHashMismatch on resource [122]"\winsxs\manifests\amd64_microsoft-windows-microsoftrawcodec_31bf3856ad364e35_6.3.9600.16453_none_28b4e8b21dbe718f.manifest"[gle=0x80004005]
2014-02-24 16:35:42, Info                  CBS    Added C:\WINDOWS\Logs\CBS\CBS.log to WER report.
2014-02-24 16:35:42, Info                  CBS    Added C:\WINDOWS\Logs\CBS\CbsPersist_20140224222441.log to WER report.
2014-02-24 16:35:42, Info                  CBS    Added C:\WINDOWS\Logs\CBS\CbsPersist_20140218192803.cab to WER report.
2014-02-24 16:35:42, Info                  CBS    Added C:\WINDOWS\Logs\CBS\CbsPersist_20140218172959.cab to WER report.
2014-02-24 16:35:42, Info                  CBS    Added C:\WINDOWS\Logs\CBS\CbsPersist_20140217020908.cab to WER report.
2014-02-24 16:35:42, Info                  CBS    Added C:\WINDOWS\Logs\CBS\CbsPersist_20140216051713.cab to WER report.
2014-02-24 16:35:42, Info                  CBS    Could not get active session for current session file logging [HRESULT = 0x80004003 - E_POINTER]
2014-02-24 16:35:42, Info                  CBS    Not able to add pending.xml to Windows Error Report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2014-02-24 16:35:42, Info                  CBS    Not able to add pending.xml.bad to Windows Error Report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2014-02-24 16:35:42, Info                  CBS    Not able to add SCM.EVM to Windows Error Report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2014-02-24 16:35:43, Info                  CSI    00000874 Manifest hash for component [ml:280{140},l:186{93}]"x86_microsoft-windows-microsoftrawcodec_31bf3856ad364e35_6.3.9600.16453_none_cc964d2e65610059" does not match expected value. 
 Expected:{l:32 b:f1fa416457f0bf9f3ad3ffd752643b3aa3af721c51a114219696eb1c174c4a80}
 Found:{l:32 b:68193f3f98611b2aa42be4d2995b0b9a2465277c7520231324a08460639a41a5}.
2014-02-24 16:35:43, Info                  CSI    00000875 Looking for manifest in Backup Dir...
2014-02-24 16:35:43, Error                 CSI    00000876 (F) Unable to load manifest for component [ml:280{140},l:186{93}]"x86_microsoft-windows-microsoftrawcodec_31bf3856ad364e35_6.3.9600.16453_none_cc964d2e65610059"[gle=0x80004005]
2014-02-24 16:35:43, Error                 CSI    00000877@2014/2/24:22:35:43.099 (F) base\wcp\componentstore\storelayout.cpp(2158): Store corruption detected in function ComponentStore::CRawStoreLayout::FetchManifestContent expression: 0
  FileHashMismatch on resource [120]"\winsxs\manifests\x86_microsoft-windows-microsoftrawcodec_31bf3856ad364e35_6.3.9600.16453_none_cc964d2e65610059.manifest"[gle=0x80004005]
2014-02-24 16:35:43, Info                  CBS    Added C:\WINDOWS\Logs\CBS\CBS.log to WER report.
2014-02-24 16:35:43, Info                  CBS    Added C:\WINDOWS\Logs\CBS\CbsPersist_20140224222441.log to WER report.
2014-02-24 16:35:43, Info                  CBS    Added C:\WINDOWS\Logs\CBS\CbsPersist_20140218192803.cab to WER report.
2014-02-24 16:35:43, Info                  CBS    Added C:\WINDOWS\Logs\CBS\CbsPersist_20140218172959.cab to WER report.
2014-02-24 16:35:43, Info                  CBS    Added C:\WINDOWS\Logs\CBS\CbsPersist_20140217020908.cab to WER report.
2014-02-24 16:35:43, Info                  CBS    Added C:\WINDOWS\Logs\CBS\CbsPersist_20140216051713.cab to WER report.
2014-02-24 16:35:43, Info                  CBS    Could not get active session for current session file logging [HRESULT = 0x80004003 - E_POINTER]
2014-02-24 16:35:43, Info                  CBS    Not able to add pending.xml to Windows Error Report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2014-02-24 16:35:43, Info                  CBS    Not able to add pending.xml.bad to Windows Error Report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2014-02-24 16:35:43, Info                  CBS    Not able to add SCM.EVM to Windows Error Report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2014-02-24 16:35:43, Info                  CSI    00000878 Manifest hash for component [ml:280{140},l:200{100}]"amd64_microsoft-windows-cameracodec-deployment_31bf3856ad364e35_6.3.9600.16453_none_dfcf1586094bc1fc" does not match expected value. 
 Expected:{l:32 b:e9f24d3d14dda6c8023dd4bc84778759ec139aa693803333b5686fdcd9fee697}
 Found:{l:32 b:0d11f4248e6702948745c7702e1c9aaeff983ff4585022ff0d065aefb3c9c5db}.
2014-02-24 16:35:43, Info                  CSI    00000879 Looking for manifest in Backup Dir...
2014-02-24 16:35:43, Error                 CSI    0000087a (F) Unable to load manifest for component [ml:280{140},l:200{100}]"amd64_microsoft-windows-cameracodec-deployment_31bf3856ad364e35_6.3.9600.16453_none_dfcf1586094bc1fc"[gle=0x80004005]
2014-02-24 16:35:43, Error                 CSI    0000087b@2014/2/24:22:35:43.535 (F) base\wcp\componentstore\storelayout.cpp(2158): Store corruption detected in function ComponentStore::CRawStoreLayout::FetchManifestContent expression: 0
  FileHashMismatch on resource [127]"\winsxs\manifests\amd64_microsoft-windows-cameracodec-deployment_31bf3856ad364e35_6.3.9600.16453_none_dfcf1586094bc1fc.manifest"[gle=0x80004005]

DISM /RestoreHealth Scan

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. If you are after assistance, please start a thread of your own.

  1. Right-click on the Start
    w8start.png
    button and select Command Prompt (Admin)
  2. When command prompt opens, Copy (Ctrl+C) and Paste (Right-click > Paste) the following command into it, then press Enter

    Dism /Online /Cleanup-Image /RestoreHealth

  3. When DISM finishes scanning your component store, zip up and attach your CBS log to your next post:

    C:\Windows\Logs\CBS\CBS.log

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

Deployment Image Servicing and Management tool
Version: 6.3.9600.16384


Image Version: 6.3.9600.16384


[==========================100.0%==========================]


Error: 0x800f0906


The source files could not be downloaded.
Use the "source" option to specify the location of the files that are required t
o restore the feature. For more information on specifying a source location, see
 http://go.microsoft.com/fwlink/?LinkId=243077.


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


C:\WINDOWS\system32>

CBS.log: http://puu.sh/7dJDu.zip

I am connected to the internet, firewall disabled.
 
Hello!

I'm really sorry about the delay here. You've got me now.

SFCFix Script

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. If you are after assistance, please start a thread of your own.


  1. Download SFCFix.exe (by niemiro) and save this to your Desktop.
  2. Download the file below, SFCFixScript.zip, and save this to your Desktop.
  3. Save any open documents and close all open windows.
  4. On your Desktop, you should see two files: SFCFix.exe and SFCFixScript.zip.
  5. Drag the file SFCFixScript.zip onto the file SFCFix.exe and release it.
  6. SFCFix will now process the script.
  7. Upon completion, a file should be created on your Desktop: SFCFix.txt.
  8. Copy (Ctrl+C) and Paste (Ctrl+V) the contents of this file into your next post for me to analyse please - put [CODE][/CODE] tags around the log to break up the text.

Richard
 

Attachments

Code:
SFCFix version 2.1.2.0 by niemiro.Start time: 2014-03-07 07:06:40.174
Using .zip script file at C:\Users\Bryce\Downloads\SFCFixScript.zip








PowerCopy::
Successfully took permissions for file or folder C:\WINDOWS\winsxs\manifests\amd64_microsoft-windows-cameracodec-deployment_31bf3856ad364e35_6.3.9600.16453_none_dfcf1586094bc1fc.manifest


Successfully copied file C:\Users\Bryce\AppData\Local\niemiro\Archive\amd64_microsoft-windows-cameracodec-deployment_31bf3856ad364e35_6.3.9600.16453_none_dfcf1586094bc1fc.manifest to C:\WINDOWS\winsxs\manifests\amd64_microsoft-windows-cameracodec-deployment_31bf3856ad364e35_6.3.9600.16453_none_dfcf1586094bc1fc.manifest.


Successfully restored ownership for C:\WINDOWS\winsxs\manifests\amd64_microsoft-windows-cameracodec-deployment_31bf3856ad364e35_6.3.9600.16453_none_dfcf1586094bc1fc.manifest
Successfully restored permissions on C:\WINDOWS\winsxs\manifests\amd64_microsoft-windows-cameracodec-deployment_31bf3856ad364e35_6.3.9600.16453_none_dfcf1586094bc1fc.manifest
PowerCopy:: directive completed successfully.








Successfully processed all directives.
SFCFix version 2.1.2.0 by niemiro has completed.
Currently storing 1 datablocks.
Finish time: 2014-03-07 07:06:40.630
----------------------EOF-----------------------
 
Looks great! Please re-try Windows Update and let me know.

Richard
 
Code:
Microsoft Windows [Version 6.3.9600](c) 2013 Microsoft Corporation. All rights reserved.


C:\WINDOWS\system32>sfc /scannow


Beginning system scan.  This process will take some time.


Beginning verification phase of system scan.
Verification 100% complete.


Windows Resource Protection found corrupt files but was unable to fix some
of them. Details are included in the CBS.Log windir\Logs\CBS\CBS.log. For
example C:\Windows\Logs\CBS\CBS.log. Note that logging is currently not
supported in offline servicing scenarios.


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


Deployment Image Servicing and Management tool
Version: 6.3.9600.16384


Image Version: 6.3.9600.16384


[==========================100.0%==========================]


Error: 0x800f0906


The source files could not be downloaded.
Use the "source" option to specify the location of the files that are required t
o restore the feature. For more information on specifying a source location, see
 http://go.microsoft.com/fwlink/?LinkId=243077.


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


C:\WINDOWS\system32>

CBS.zip: http://puu.sh/7mMHJ.zip
 
Hi agent766! :smile9:
Error: 0x800f0906
The source files could not be downloaded.
This message could indicate that your firewall (or antivirus suite, or proxy, or VPN) is blocking the download of files from Microsoft... It could be useful if you say which FW/AV/proxy/VPN software you are using.

:wave:
 
I'm using Malwarebytes and I have the "Website Blocking" disabled. I still get the same error if I disable the whole program.
 
Back
Top