Dism /Online /Cleanup-Image /RestoreHealth haver error 0x800f081f

Kenny Hung 61 Reputation points
2021-04-22T06:29:24.283+00:00

My server is using Windows server 2019 Datacenter and I cannot apply Windows Update. I tried to use the command as below to restore the image

Dism /Online /Cleanup-Image /RestoreHealth /Source:wim:E:\sources\Install.wim:1 /limitaccess

But I got the error message as below:

0x800f081f

90179-123.jpg

I tried to mount Windows 2019 server ISO and run this command again but still have this error message.

I checked the dism.log and find the error as below:

2021-04-22 11:26:46, Error DISM DISM Package Manager: PID=2692 TID=2056 Failed finalizing changes. - CDISMPackageManager::Internal_Finalize(hr:0x800f081f)

2021-04-22 11:26:46, Error DISM DISM Package Manager: PID=2692 TID=2056 The source files could not be found; their location must be specified using the /source option to restore the feature. - GetCbsErrorMsg

2021-04-22 11:26:46, Error DISM DISM Package Manager: PID=2692 TID=2056 Failed processing package changes with session option CbsSessionOptionRepairStoreCorruption - CDISMPackageManager::RestoreHealth(hr:0x800f081f)

2021-04-22 11:26:46, Error DISM DISM Package Manager: PID=2692 TID=2056 The source files could not be found; their location must be specified using the /source option to restore the feature. - GetCbsErrorMsg

2021-04-22 11:26:46, Error DISM DISM Package Manager: PID=2692 TID=2056 Failed to restore the image health. - CPackageManagerCLIHandler::ProcessCmdLine_CleanupImage(hr:0x800f081f)

2021-04-22 11:26:46, Error DISM DISM Package Manager: PID=2692 TID=2056 Failed while processing command cleanup-image. - CPackageManagerCLIHandler::ExecuteCmdLine(hr:0x800f081f)

I would like to know any solution to fix this issue?

Thanks a lot.

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
8,230 questions
No comments
{count} votes

3 additional answers

Sort by: Most helpful
  1. Dave Patrick 330.5K Reputation points Microsoft MVP
    2021-04-22T12:05:32.217+00:00

    Some things to try;

    --please don't forget to Accept as answer if the reply is helpful--

    No comments

  2. Kenny Hung 61 Reputation points
    2021-04-23T03:45:16.763+00:00

    Hi Patrick,

    Thank you your reply. But I will have issue and the process is stop in 89.3% now.

    90538-image.png

    Do I need to upload the details log here?

    Thanks.

    No comments

  3. Zakiah Rasalas 1 Reputation point
    2021-10-22T12:33:27.677+00:00

    dism /online /cleanup-image /restorehealth source files could not be found, I have the same problem on WIndows 11.

    No comments