[Error during using DISM] DISM /Online /Cleanup-Image /RestoreHealth

Hi,

I was trying to execute the DISM command successfully:

DISM /Online /Cleanup-Image /RestoreHealth

but got this error:

Deployment Image Servicing and Management tool 
Version: 10.0.19041.844 
Image Version: 10.0.19044.2251 
Error: 998 
Invalid access to memory location. 
The DISM log file can be found at C:\Windows\Logs\DISM\dism.log

I checked the dism.log and found this Error section:

2023-09-12 22:00:00, Info                  DISM   DISM Package Manager: PID=25196 TID=12076 CBS session options=0x40100! - CDISMPackageManager::Internal_Finalize 
2023-09-12 22:00:00, Error                 DISM   DISM Package Manager: PID=25196 TID=12076 Failed finalizing changes. - CDISMPackageManager::Internal_Finalize(hr:0x800703e6) 
2023-09-12 22:00:00, Error                 DISM   DISM Package Manager: PID=25196 TID=12076 Failed processing package changes with session option CbsSessionOptionRepairStoreCorruption - CDISMPackageManager::RestoreHealth(hr:0x800703e6) 
2023-09-12 22:00:00, Error                 DISM   DISM Package Manager: PID=25196 TID=12076 Failed to restore the image health. - CPackageManagerCLIHandler::ProcessCmdLine_CleanupImage(hr:0x800703e6) 
2023-09-12 22:00:00, Error                 DISM   DISM Package Manager: PID=25196 TID=12076 Failed while processing command cleanup-image. - CPackageManagerCLIHandler::ExecuteCmdLine(hr:0x800703e6) 
2023-09-12 22:00:00, Info                  DISM   DISM Package Manager: PID=25196 TID=12076 Further logs for online package and feature related operations can be found at %WINDIR%\logs\CBS\cbs.log - CPackageManagerCLIHandler::ExecuteCmdLine 
2023-09-12 22:00:00, Error                 DISM   DISM.EXE: DISM Package Manager processed the command line but failed. HRESULT=800703E6

Specification

Edition	Windows 10 Pro 
Version	21H2 
Installed on	‎06/‎12/‎2020 
OS build	19044.2251 
Experience	Windows Feature Experience Pack 120.2212.4180.0 

Please help resolve this issue, as I cannot upgrade my Windows version from 21H2 to 22H2 due to this issue.

Hi Jacob,
My name is Igor, it's a pleasure for me to help others and I'll do all my best to help you.

Please run Windows update troubleshooter and see if this helps.
If not, please try so called repair install. Сreate Windows installation media as described at https://www.microsoft.com/en-us/software-downlo... but do not boot from it, run setup.exe file from running Windows instead. This will keep all your files, apps and settings.
------------------
if you'll find someone's post helpful, mark it as an answer and rate it please. This will help other users to find answers to their similar questions.

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Hi Igor,

thanks for your help.

After running Windows Update troubleshooter I got this notification:


Do you find anything here what could be improved?

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Please try to repair a corrupted BITS configuration as described at https://learn.microsoft.com/ru-ru/security-upda...
------------------
if you'll find someone's post helpful, mark it as an answer and rate it please. This will help other users to find answers to their similar questions.

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

I marked BITS to be automatically triggered and reran Windows Update Troubleshooter.

The notification from the troubleshooter is different than previously, to some extent, but the info about BITS is still the same.

Q1: Do you know how to proceed further with that?

Q2: Do you know why, even though I changed BITS to be automatically triggered, it changed to be Manually triggered by itself after some time?

ImageImageImage

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Please try so called repair install. Сreate Windows installation media as described at https://www.microsoft.com/en-us/software-downlo... but do not boot from it, run setup.exe file from running Windows instead. This will keep all your files, apps and settings.
------------------
if you'll find someone's post helpful, mark it as an answer and rate it please. This will help other users to find answers to their similar questions.

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

 
 

Question Info


Last updated March 18, 2025 Views 5,409 Applies to: