Server 2019 DISM & SFC Failures

bsmmo

New member
Joined
Jul 23, 2024
Posts
1
I'm needing some assistance with one of our Server 2019 VMs.

I'm getting different types of failures with DISM depending on what DISM command syntax is used.

PS C:\Windows\system32> DISM /Online /Cleanup-Image /RestoreHealth

Deployment Image Servicing and Management tool
Version: 10.0.17763.5830

Image Version: 10.0.17763.5936

[==========================100.0%==========================]
Error: 50

The request is not supported.



Using latest Server 2019 ISO. Same result when using a known good running Windows Server 2019 online image.

PS C:\Windows\system32> DISM /Online /Cleanup-Image /RestoreHealth /Source:WIM:H:\Sources\Install.wim:1 /LimitAccess

Deployment Image Servicing and Management tool
Version: 10.0.17763.5830

Image Version: 10.0.17763.5936

[==========================100.0%==========================]
Error: 0x800f081f

The source files could not be found.
Use the "Source" option to specify the location of the files that are required to restore the feature. For more information on specifying a source location, see Configure a Windows Repair Source.



Using WIM from latest Server 2019 ISO with the latest Windows Defender update injected: https://go.microsoft.com/fwlink/?LinkID=121721&arch=x64

PS C:\Windows\system32> DISM /Online /Cleanup-Image /RestoreHealth /Source:WIM:C:\TEMP\Install.wim:1 /LimitAccess

Deployment Image Servicing and Management tool
Version: 10.0.17763.5830

Image Version: 10.0.17763.5936

[==========================100.0%==========================]
Error: 0x800f081f

The source files could not be found.
Use the "Source" option to specify the location of the files that are required to restore the feature. For more information on specifying a source location, see Configure a Windows Repair Source.



By following the examples of fixes for other members, I was able to fix 3 other servers with issues, but this one is more difficult. I've looked for the Windows Defender Management Powershell source files but have been unable to find them. And sheer number of all the other files that are showing as needing replacement is just astounding.
 

Attachments

Last edited:
Hi and welcome to Sysnative,

The fix is too largo to attach, so I've uploaded it here: SFCFix.zip

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
 

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

Back
Top