Tried
X:\Sources>dism /image:c:\ /cleanup-image /revertpendingactions /scratchdir=c:\temp /logpath:c:\dism.log
Deployment Image Servicing and Management tool
Version: 10.0.19041.1949
Image Version: 10.0.19045.2364
Reverting pending actions from the image...
Error: 0x800f082f
An error occurred reverting the pending actions from the image.
For more information, review the log file.
The DISM log file can be found at c:\dism.log
X:\Sources>
The log file contains:
2022-12-29 12:50:53, Error CBS Exec: Cannot finalize session because execution is frozen. [HRESULT = 0x800f082f - CBS_E_EXCLUSIVE_WOULD_MERGE]
2022-12-29 12:50:53, Info CBS Exec: Processing complete, session(Cancelling): 1688_4690671 [HRESULT = 0x800f082f - CBS_E_EXCLUSIVE_WOULD_MERGE]
2022-12-29 12:50:53, Error CBS Session: 1688_4690671 failed to perform cancelling all pending transactions. [HRESULT = 0x800f082f - CBS_E_EXCLUSIVE_WOULD_MERGE]
2022-12-29 12:50:53, Info CBS Session: 1688_4690671 finalized. Reboot required: no [HRESULT = 0x800f082f - CBS_E_EXCLUSIVE_WOULD_MERGE]
2022-12-29 12:50:53, Error DISM DISM Package Manager: PID=1688 TID=1316 Failed finalizing changes. - CDISMPackageManager::Internal_Finalize(hr:0x800f082f)
2022-12-29 12:50:53, Info CBS Force unloading offline registry hive: {bf1a281b-ad7b-4476-ac95-f47682990ce7}c:/Windows/System32/config/SOFTWARE
2022-12-29 12:50:53, Info CBS Force unloading offline registry hive: {bf1a281b-ad7b-4476-ac95-f47682990ce7}c:/Windows/System32/config/SYSTEM
2022-12-29 12:50:53, Info CBS Force unloading offline registry hive: {bf1a281b-ad7b-4476-ac95-f47682990ce7}c:/Windows/System32/config/SECURITY
2022-12-29 12:50:53, Info CBS Force unloading offline registry hive: {bf1a281b-ad7b-4476-ac95-f47682990ce7}c:/Windows/System32/config/SAM
2022-12-29 12:50:53, Info CBS Force unloading offline registry hive: {bf1a281b-ad7b-4476-ac95-f47682990ce7}c:/Windows/System32/config/COMPONENTS
2022-12-29 12:50:53, Info CBS Force unloading offline registry hive: {bf1a281b-ad7b-4476-ac95-f47682990ce7}c:/Windows/System32/config/DRIVERS
2022-12-29 12:50:53, Info CBS Force unloading offline registry hive: {bf1a281b-ad7b-4476-ac95-f47682990ce7}c:/Windows/System32/config/DEFAULT
2022-12-29 12:50:53, Info CBS Force unloading offline registry hive: {bf1a281b-ad7b-4476-ac95-f47682990ce7}c:/Users/Default/ntuser.dat
2022-12-29 12:50:53, Info CBS Force unloading offline registry hive: {bf1a281b-ad7b-4476-ac95-f47682990ce7}c:/Windows/system32/smi/store/Machine/schema.dat
2022-12-29 12:50:53, Info CBS Force unloading offline registry hive: {bf1a281b-ad7b-4476-ac95-f47682990ce7}c:/Boot/BCD
2022-12-29 12:50:53, Info CSI 00000003 Direct SIL provider: Number of files opened: 4.
2022-12-29 12:50:53, Error DISM DISM Package Manager: PID=1688 TID=1316 An error occured clearing the pending actions from the image. - CDISMPackageManager::RevertPendingActions(hr:0x800f082f)
2022-12-29 12:50:53, Error DISM DISM Package Manager: PID=1688 TID=1316 Failed while processing command cleanup-image. - CPackageManagerCLIHandler::ExecuteCmdLine(hr:0x800f082f)