Server 2012 - Can't Re-install .NET, Cleanup-Image Can't Find Source Files

jsanders

Member
Joined
Jun 13, 2022
Posts
5
A little history: Our web developers were having issues with a new application that was throwing an error basically saying that .NET wasn’t fully installed, but it was. We tried to remove .NET Framework and add it back in. The server is Windows 2012 R2 server and once we removed .NET Framework we could not boot to Windows (GUI) or to Safe Mode. We eventually got the GUI/PowerShell restored with:

DISM.exe /image:C: /enable-feature /all /featurename:NetFx4 and

DISM.exe /image:C: online /enable-feature /all /featurename:MicrosoftWindowsPowerShell.



We were still not able to open Powershell to run the next recommended step (Install-WindowsFeature Server-Gui-Shell, Server-Gui-Mgmt-Infra) but were able to run:

DISM.exe /image:C: /enable-feature /featurename:Server-Gui-Mgmt /featurename:Server-Gui-Shell /featurename:ServerCore-FullServer.



We wanted to re-install .NET Framework, but cannot get it installed. The ASP features are “staged” but not “installed”. To resolve the issue we tried running:

Dism /Online /Cleanup-Image /ScanHealth – The component store cannot be repaired.

Dism /Online /Cleanup-Image /CheckHealth – The component store cannot be repaired.

Dism /Online /Cleanup-Image /RestoreHealth - Error: 0x800f0906. The source files could not be downloaded.


We also ran SFCFix, and received the similar results.

I've attached the CBS log. Any help would be appreciated.
 

Attachments

EDIT: DISM.exe /image:C: online /enable-feature /all /featurename:MicrosoftWindowsPowerShell should have been: DISM.exe /image:C: enable-feature /all /featurename:MicrosoftWindowsPowerShell
 
Hello jsanders,

The DISM repair detected one file which needed replacing:

Code:
Checking System Update Readiness.

(p)    CSI Payload Corrupt            x86_microsoft-windows-d2d.resources_31bf3856ad364e35_6.3.9600.16384_en-us_2c17bdc766742699\d2d1.dll.mui
Repair failed: Missing replacement payload.

Summary:
Operation: Detect and Repair
Operation result: 0x800f0906
Last Successful Step: Entire operation completes.
Total Detected Corruption:    1
    CBS Manifest Corruption:    0
    CBS Metadata Corruption:    0
    CSI Manifest Corruption:    0
    CSI Metadata Corruption:    0
    CSI Payload Corruption:    1
Total Repaired Corruption:    0
    CBS Manifest Repaired:    0
    CSI Manifest Repaired:    0
    CSI Payload Repaired:    0
    CSI Store Metadata refreshed:    True

I have created a fix for this and checked that it has the expected file hash.

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, SFCFix.zip, and save this to your Desktop. Ensure that this file is named SFCFix.zip - do not rename it.
  3. Save any open documents and close all open windows.
  4. On your Desktop, you should see two files: SFCFix.exe and SFCFix.zip.
  5. Drag the file SFCFix.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. Attach this file into your next post for me to check please.
 

Attachments

Hello jsanders,

The DISM repair detected one file which needed replacing:

Code:
Checking System Update Readiness.

(p)    CSI Payload Corrupt            x86_microsoft-windows-d2d.resources_31bf3856ad364e35_6.3.9600.16384_en-us_2c17bdc766742699\d2d1.dll.mui
Repair failed: Missing replacement payload.

Summary:
Operation: Detect and Repair
Operation result: 0x800f0906
Last Successful Step: Entire operation completes.
Total Detected Corruption:    1
    CBS Manifest Corruption:    0
    CBS Metadata Corruption:    0
    CSI Manifest Corruption:    0
    CSI Metadata Corruption:    0
    CSI Payload Corruption:    1
Total Repaired Corruption:    0
    CBS Manifest Repaired:    0
    CSI Manifest Repaired:    0
    CSI Payload Repaired:    0
    CSI Store Metadata refreshed:    True

I have created a fix for this and checked that it has the expected file hash.

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, SFCFix.zip, and save this to your Desktop. Ensure that this file is named SFCFix.zip - do not rename it.
  3. Save any open documents and close all open windows.
  4. On your Desktop, you should see two files: SFCFix.exe and SFCFix.zip.
  5. Drag the file SFCFix.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. Attach this file into your next post for me to check please.
Thanks.

The file is attached.
 

Attachments

That seems to have worked. Please make sure DISM restorehealth now completes successfully.

If you still get errors please post a new CBS logfile.
 
There do not appear to be any errors in the CBS log. Which DISM command failed?

Please also try SFC /scannow and post new CBS logs
 
There do not appear to be any errors in the CBS log. Which DISM command failed?

Please also try SFC /scannow and post new CBS logs
It failed on the /RestoreHealth command. I re-ran everything just in case, and received the same error:

The restore operation failed. Either the repair was not found or the component store cannot be repaired.

Error: 0x800f081f


I also ran sfc /scannow, but no integrity violations were found.
 

Attachments

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

Back
Top