[SOLVED] SFC Scan Now and DISM Failure: cbscore.dll

emuking

Contributor
Joined
Oct 19, 2023
Posts
3
Hello sysnative, I appear to have some system corruption that prevents me from running sfc /scannow as well as dism /online /cleanup-image /restorehealth. I have attached the CBS.log output.

2023-10-18 18:44:47, Info CBS Failed to load Core DLL from path: C:\WINDOWS\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.19041.3562_none_7e0523f67c93b82a\\cbscore.dll [HRESULT = 0x800700c1 - ERROR_BAD_EXE_FORMAT]
2023-10-18 18:44:47, Info CBS Failed to initialize CBS class factory. [HRESULT = 0x800700c1 - ERROR_BAD_EXE_FORMAT]
2023-10-18 18:44:47, Info CBS TiWorker: Client requests SFP repair object.
2023-10-18 18:44:47, Info CBS Failed to load Core DLL from path: C:\WINDOWS\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.19041.3562_none_7e0523f67c93b82a\\cbscore.dll [HRESULT = 0x800700c1 - ERROR_BAD_EXE_FORMAT]
2023-10-18 18:44:47, Info CBS Failed to initialize CBS class factory. [HRESULT = 0x800700c1 - ERROR_BAD_EXE_FORMAT]
2023-10-18 18:44:47, Info CBS Failed to get class factory for service: 1 [HRESULT = 0x800700c1]
2023-10-18 18:46:25, Info CBS TiWorker: Client requests SFP repair object.
2023-10-18 18:46:25, Info CBS Failed to load Core DLL from path: C:\WINDOWS\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.19041.3562_none_7e0523f67c93b82a\\cbscore.dll [HRESULT = 0x800700c1 - ERROR_BAD_EXE_FORMAT]
2023-10-18 18:46:25, Info CBS Failed to initialize CBS class factory. [HRESULT = 0x800700c1 - ERROR_BAD_EXE_FORMAT]
2023-10-18 18:46:25, Info CBS TiWorker: Client requests SFP repair object.
2023-10-18 18:46:25, Info CBS Failed to load Core DLL from path: C:\WINDOWS\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.19041.3562_none_7e0523f67c93b82a\\cbscore.dll [HRESULT = 0x800700c1 - ERROR_BAD_EXE_FORMAT]
2023-10-18 18:46:25, Info CBS Failed to initialize CBS class factory. [HRESULT = 0x800700c1 - ERROR_BAD_EXE_FORMAT]

I was hoping some of the SCFFix zips I found here would suffice, but I don't think they're pointing towards different file locations vs mine (31bf3856ad364e35_10.0.19041.3562_none_7e0523f67c93b82a). Please let me know if you have any advice or solutions on how to setup a SFCFix zip. Thank you!
 

Attachments

Attempting to follow instructions more closely now, apologies for lack of doing so on initial post:

Error outputs from SFC and DISM:

SFC /scannow
PS C:\WINDOWS\system32> SFC /scannow

Windows Resource Protection could not start the repair service.
DISM /Online /Cleanup-Image /RestoreHealth
PS C:\WINDOWS\system32> DISM /Online /Cleanup-Image /RestoreHealth

Deployment Image Servicing and Management tool
Version: 10.0.19041.3570

Image Version: 10.0.19045.3570


Error: 193

%1 is not a valid Win32 application.

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

Attached are ComponentsScanner output (found no errors) and CBS.zip.

I'm currently experiencing being unable to install NVIDIA display drivers, being unable to run SFC, and being unable to run DISM. I have been able to install basic software such as Signal messaging app or Android Studio IDE, but not NVIDIA display drivers.
 

Attachments

Hi and welcome to Sysnative,

Step 1. Download
6530fbb0f4101-56f31e53c97da-SFCFix.PNG
SFCFix and save it to your desktop.

Warning: This fix was written specifically for this system. Do not run this fix on another system.
  • Save any work you have open, and close all programs.
  • Download the attachment SFCFix.zip and save it to your desktop.
  • Drag the SFCFix.zip file over the SFCFix.exe executable and release it.
650c22f99662d-6190d993a26f3-SFCFix-Zip-Eng.gif

  • SFCFix will launch, let it complete.
  • Once done, a file will appear on your desktop, called SFCFix.txt.
  • Post the logfile (SFCFix.txt) as attachment in your next reply.


Step 2. Run the following DISM command and post the result. If it fails attach a new copy of the CBS log.
Code:
DISM /online /cleanup-image /RestoreHealth
 

Attachments

Thank you Maxstar,

The existence of this tool and your support is wonderful. Microsoft could learn a few things.

Attached is the SFCFix.txt after running that.

At first the DISM command did not fully work, and I needed to restart, which triggered some Windows Updates.

C:\WINDOWS\system32>DISM /online /cleanup-image /RestoreHealth

Deployment Image Servicing and Management tool
Version: 10.0.19041.3570

Image Version: 10.0.19045.3570

[== 3.8% ]
Error: 3017

The requested operation failed. A system reboot is required to roll back changes made.

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

After restarting I ran the command again and it succeeded!

C:\WINDOWS\system32>DISM /online /cleanup-image /RestoreHealth

Deployment Image Servicing and Management tool
Version: 10.0.19041.3570

Image Version: 10.0.19045.3570

[==========================100.0%==========================] The restore operation completed successfully.
The operation completed successfully.

I have since been able to install NVIDIA graphics drivers, and even boot up seems a bit smoother now.
 

Attachments

Hi,

Great, are there any remaining issues or can we mark this thread as solved?
 

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

Back
Top