SFC Scan and DISM failing on Windows server 2019

Anonymous
2023-11-15T20:57:08+00:00

We are doing maintenance on a server, we ran into an issue with the SFC scan and DISM failing but not sure what steps to take next. Below is the failure pasted from the report, has anyone experienced this error, and what would be good next steps?

DISM

![](https://filestore.community.support.microsoft.com/api/images/3565fb5d-05a3-47b9-a003-386e55748e19?upload=true&fud_access=wJJIheezUklbAN2ppeDns8cDNpYs3nCYjgitr%2BfFBh2dqlqMuW7np3F6Utp%2FKMltnRRYFtVjOMO5tpbpW9UyRAwvLeec5emAPixgq9ta07Dgnp2aq5eJbnfd%2FU3qhn54fCB9zZB49ejcDaYaHyQa96lec93EToYBRUUMIwOJ5T5SIMVz9DItIefImeqaTta4w62CudsSogsuDhtHNzbRZdQHEuUCpFVq32cKUTu4VwqFEuEKJHYb6Fn0RuoGCKE4YSccoxvk2i3YPmSMJ3MhtI7odN322qv5qeG%2BrfIFrlohv1euWUGGDpl2FijBARwYz22wOzZkjHE0hbchUZgH%2FHL%2Fxc%2Fte4DLLCvKSUylyK2XYi%2BtqkgA5kZuaq81LmjKq6KfpJpQKWl0DdfaoYeb1lHSPlmoPRdFVXSH8NkERXE%3D)

023-11-15 14:26:08, Error DISM DISM Package Manager: PID=51324 TID=31232 Failed finalizing changes. - CDISMPackageManager::Internal_Finalize(hr:0x800f081f)

2023-11-15 14:26:08, Error DISM DISM Package Manager: PID=51324 TID=31232 The source files could not be found; their location must be specified using the /source option to restore the feature. - GetCbsErrorMsg

2023-11-15 14:26:08, Error DISM DISM Package Manager: PID=51324 TID=31232 Failed processing package changes with session option CbsSessionOptionRepairStoreCorruption - CDISMPackageManager::RestoreHealth(hr:0x800f081f)

2023-11-15 14:26:08, Error DISM DISM Package Manager: PID=51324 TID=31232 The source files could not be found; their location must be specified using the /source option to restore the feature. - GetCbsErrorMsg

2023-11-15 14:26:43, Error DISM DISM Package Manager: PID=51324 TID=31232 Failed to restore the image health. - CPackageManagerCLIHandler::ProcessCmdLine_CleanupImage(hr:0x800f081f)

2023-11-15 14:26:43, Error DISM DISM Package Manager: PID=51324 TID=31232 Failed while processing command cleanup-image. - CPackageManagerCLIHandler::ExecuteCmdLine(hr:0x800f081f)

SFC

Failed to collect corrupted payload, try repair as much as possible [HRESULT = 0x800f081f - CBS_E_SOURCE_MISSING]

Info CBS Repr: Finished collecting payload.

Windows for business | Windows Server | Performance | System performance

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question. To protect privacy, user profiles for migrated questions are anonymized.

0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Anonymous
    2023-11-16T02:49:59+00:00

    Hello

    Thank you for posting in Microsoft Community forum.

    The errors you’re seeing, 0x800f081f for both DISM and SFC, typically indicate that the source files could not be found. This can happen when the utility is unable to access the necessary files to repair the system image.

    Here are some steps you can try:

    Check the System File Checker (SFC) log: The SFC tool should generate a CBS.log file that provides more details about the errors. You can find this file in the C:\Windows\Logs\CBS directory.

    Specify a source file: If DISM can’t find the source files, you can specify a source file using the /Source flag. For example, if you have a known good copy of the Windows image that you’re trying to repair, you can specify it like this: DISM /Online /Cleanup-Image /RestoreHealth /Source:C:\RepairSource\Windows /LimitAccess.

    Use Windows Update as a repair source: If you don’t have a separate repair source, you can use Windows Update by running the following command: DISM /Online /Cleanup-Image /RestoreHealth.

    Perform a Windows repair install: If the above steps don’t work, you might need to perform a repair install of Windows. This should fix any system file issues without affecting your personal files.

    Remember to run these commands in an elevated command prompt (run as administrator).

    Best Regards,

    Wesley Li

    1 person found this answer helpful.
    0 comments No comments
  2. Anonymous
    2023-11-16T22:50:02+00:00

    Thank you for the quick response! I ran DISM /Online /Cleanup-Image /RestoreHealth and received the error below. I think at this time, I need to perform a repair install of Windows as suggested in your post.

    0 comments No comments
  3. Anonymous
    2023-11-21T07:28:47+00:00

    Yes, try performing a repair install following this document:

    How to perform a repair installation of Windows 10 - Dave's (davescomputers.com)

    0 comments No comments