DISM / SFC not getting Virtual Server 2022 DataCenter repaired

InGodWeTrust1

Member
Joined
May 12, 2025
Posts
54
Greetings
Dell Server Host running Windows Server 2022 Data Center w/GUI (21H2 Long Term Servicing Channel) Carbonite backup in place
Hyper-V MAIN_SERVER with ADDS. DNS, File & Storage, IIS roles Windows Server 2022 Data Center GUI 20348.3453
Hyper-V RD_SERVER with File & Storage, IIS, Remote Desktop Services roles Windows Server 2022 Data Center GUI 20348.230

APRIL 2 2025 RAID 10 4 drive array failed 3 drives and could not rebuild. (2 failed drives max in scenario)
Replaced Drives and new RAID created with fresh install host OS Windows Server 2022 Data Center with Desktop Experience (Index 4 on install media)
Copied salvage backup of MAIN_SERVER and RD_SERVER but the VHDX files in tact but AVHDX were not so corruption in place.
MAIN_SERVER only showed 2012R2 OS (predating the migration to 2022 via 2016 etc) Migrated to 2022 and Carbonite would not restore System State nor Program files
This left old software versions in place with 2022 data. Carbonite FULL Restore or just SYSTEM State Restore Failed repeatedly. They had me run in SAFE Mode and it would not run.
They had me run in Directory Services Restore Mode and it failed also. I was able to select folders and at least get CURRENT data for accounting software and their customer/invoicing software.
These 2 apps are main thing and have been back online with current version of accounting software and old version of their other app. but with current data.
The 2nd location logs in from RD_SERVER and has been offline for 3 weeks due to RD_SERVER issues.

SFC /Scannow
DISM /Online /Cleanup-Image /CheckHealth
DISM /Online /Cleanup-Image /ScanHealth
DISM /Online /Cleanup-Image /restoreHealth all say that it is repairable

DISM /Online /Cleanup-Image /restoreHealth /SOURCE:T:\sources\install.wim:4 (could not find files)
That is using original media. Used DISM to add updates to install.wim with only the 1 index needed and same (could not find files)
Active Directory and DNS repaired with other backup files with virtual server offline.

I downloaded the SFCfix.exe latest version to try on the RD_SERVER and it went through several scans 5 or 6 and then CRASH unexpectedly.

RD_SERVER is needed to bring other location online and creating from scratch does not bring licencing forward.
RD_SERVER is what I want to fix first which DISM responds as above. I can do fresh runs and get fresh CBS logs or DISM logs or both.
Base Filterning Engine, DHCP Client, Ip Helper, Windows Defender Firewall services and 6 others do not start up and will error access denied or 1068 when manual start attempt made.
There is WINSXS corruption on RD_SERVER and I could not add/remove services as .NET (which is built in to Server 2022) would not allow reinstall and loop of "already installed"
Manually repaired .net and able to run Server manager.

Network LAN service on RD_SERVER working and can map shared folders from MAIN_SERVER
Internet Browsing via Edge and Chrome on RD_Server working.
UPDATES will download but fail to install even if WUSA used.

Just looking for options before having to take them down for 3-5 days to do ground up on everything.
Thanks for having this forum
Have a great day everyone.
 
Hi @InGodWeTrust1,

Welcome to Sysnative Forums!

If you haven't already, please review the posting instructions here, and attach the requested log files. Without log files, our helpers will not be able to assist, and this will slow down fixing your machine.

If logs have been already been provided, our team of volunteers will analyse the provided log files to build a fix for your system. Please be aware that this may take several days from your initial post, due to the high volume of threads that we receive.


- Sysnative Windows Update Team
 
CBS ZIP file and DISM log and other TXT needed for post that my lack of sleep overlooked.
Thanks for any light shedded.
 

Attachments

Hi and welcome to Sysnative,

Step 1. Download
67139f7e69a58-SFCFix-ico.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.
67139f52b3c1e-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

Thankyou for the assistance. Attached TXT and log files and screen image of DISM error after running the SFCfix Zip file which required a reboot
I only ran SFXfix with slide into ZIP file and upon reboot ran in administrator command prompt the DISM command requested. I did not run anything further suc as sfc /scannow etc.

Lookforward to your next assist.

May the day bring smiles.
 

Attachments

  • DISM_errafterSFCfix1.webp
    DISM_errafterSFCfix1.webp
    42.6 KB · Views: 2
  • CBS.log
    CBS.log
    9.1 MB · Views: 1
  • dism.log
    dism.log
    3.2 MB · Views: 0
  • SFCFix.txt
    SFCFix.txt
    38.5 KB · Views: 3
Hi,

Here's the next fix.

Step 1.
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

Thanks for round 2. Txt and logs here.
I do have a the original ISO Server 2022 with install.wim
and a ISO with install.wim twice the size containing cumulative updates through Mar 2025 if source specified would do anything diff.
Many thanks for all your assistance.
 

Attachments

Hi,

Upload your COMPONENTS hive.
  • Navigate to C:\Windows\System32\Config and locate the COMPONENTS file.
  • Please copy this file to your desktop.
  • Note: If you receive an error that this file is in-use, simply reboot your computer and try again.
  • Right-click on this file on your desktop and select Send To > Compressed (zipped) folder. This will create a file named COMPONENTS.ZIP on your desktop.
  • If the file is too large to upload here, upload the file to www.wetransfer.com and post the link in your next reply.
 
Here's the next fix.

Step 1.
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

SFC /SCANNOW

Beginning system scan. This process will take some time.

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

Windows Resource Protection could not perform the requested operation.
 

Attachments

Rich (BB code):
2025-05-18 10:54:57, Error                 CSI    0000012e@2025/5/18:14:54:57.097 (F) onecore\base\wcp\componentstore\deltastore.cpp(3063): Error STATUS_INVALID_PARAMETER originated in function ComponentStore::CRawStoreLayout::DecompressFile expression: Parameter check failed
[gle=0x80004005]

Please run the System File Checker again with Process Monitor running.

Step1. Capture Process Monitor Trace
1. Download and run Process Monitor. Leave this running while you perform the next steps.
2. Run the System File Checker just like you have in the past.
3. Stop Process Monitor a minute after as it fails. You can simply do this by clicking the capture icon (CTRL +E) on the toolbar as shown below.

67c2dd018fcab-Process-Monitor.png


4. Select the File menu...Save... and save the file to your desktop. This is likely the default location. The name (unless changed) will be LogFile.PML. This is fine.
5. Zip up the LogFile.PML and upload it to WeTransfer - Send Large Files & Share Photos Online - Up to 2GB Free and provide the link.
6. Upload also the latest CBS log for the time stamps.
 
Rich (BB code):
5/18/2025 5:12:17 PM	svchost.exe	RegQueryValue	HKLM\System\CurrentControlSet\Control\Lsa\SspiCache\credssp.dll\Type	SUCCESS	Type: REG_DWORD, Length: 4, Data: 33
5/18/2025 5:14:21 PM	TiWorker.exe	RegQueryValue	HKLM\COMPONENTS\DerivedData\Components\amd64_microsoft-windows-t..enseserver-lrwizdll_31bf3856ad364e35_10.0.20348.1_none_8db93300fa60dc7f\f!lrwizdll.dll	SUCCESS	Type: REG_DWORD, Length: 4, Data: 33
5/18/2025 5:14:21 PM	TiWorker.exe	RegQueryValue	HKLM\COMPONENTS\DerivedData\Components\amd64_microsoft-windows-t..enseserver-lrwizdll_31bf3856ad364e35_10.0.20348.1_none_8db93300fa60dc7f\f!lserver_pkconfig.xml_4b3e5be4962e6a22	SUCCESS	Type: REG_DWORD, Length: 4, Data: 33
5/18/2025 5:14:22 PM	wermgr.exe	RegQueryValue	HKLM\System\CurrentControlSet\Control\Lsa\SspiCache\credssp.dll\Type	SUCCESS	Type: REG_DWORD, Length: 4, Data: 33

Rich (BB code):
2025-05-18 11:14:21, Error                 CSI    00000133@2025/5/18:15:14:21.891 (F) onecore\base\wcp\componentstore\deltastore.cpp(3063): Error STATUS_INVALID_PARAMETER originated in function ComponentStore::CRawStoreLayout::DecompressFile expression: Parameter check failed
[gle=0x80004005]

Please reboot the server first and run SFC again, provide also a new copy of the COMPONENTS hive when it fails.

Upload your COMPONENTS hive.
  • Navigate to C:\Windows\System32\Config and locate the COMPONENTS file.
  • Please copy this file to your desktop.
  • Note: If you receive an error that this file is in-use, simply reboot your computer and try again.
  • Right-click on this file on your desktop and select Send To > Compressed (zipped) folder. This will create a file named COMPONENTS.ZIP on your desktop.
  • If the file is too large to upload here, upload the file to www.wetransfer.com and post the link in your next reply.
 
Open an elevated command prompt and run the following commands - copy paste the result in your next post.
Code:
certutil -hashfile %systemroot%\WinSxS\amd64_microsoft-windows-t..enseserver-lrwizdll_31bf3856ad364e35_10.0.20348.1_none_8db93300fa60dc7\lrwizdll.dll SHA256
certutil -hashfile %systemroot%\WinSxS\amd64_microsoft-windows-t..enseserver-lrwizdll_31bf3856ad364e35_10.0.20348.1_none_8db93300fa60dc7\LServer_PKConfig.xml SHA256
 
certutil -hashfile %systemroot%\WinSxS\amd64_microsoft-windows-t..enseserver-lrwizdll_31bf3856ad364e35_10.0.20348.1_none_8db93300fa60dc7\lrwizdll.dll SHA256
CertUtil: -hashfile command FAILED: 0x80070002 (WIN32: 2 ERROR_FILE_NOT_FOUND)
CertUtil: The system cannot find the file specified.
==========
certutil -hashfile %systemroot%\WinSxS\amd64_microsoft-windows-t..enseserver-lrwizdll_31bf3856ad364e35_10.0.20348.1_none_8db93300fa60dc7\LServer_PKConfig.xml SHA256
CertUtil: -hashfile command FAILED: 0x80070002 (WIN32: 2 ERROR_FILE_NOT_FOUND)
CertUtil: The system cannot find the file specified.
 

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

Back
Top