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.