(or with the slipstreamed/22H2 WIM as the source)
- Dism /Online /Cleanup-Image /RestoreHealth /Source:wim:D:\Sources\install.wim:#
- sfc /scannow
From normal boot, I ran:
dism /online /cleanup-image /restorehealth /source:wim:D:\sources\install.wim:6
Then, further down we get the same error that it can't find the source.
2023-01-03 14:26:27, Info DISM DISM Package Manager: PID=6560 TID=6092 Error in operation: source for package or file not found, ResolveSource() unsuccessful. (CBS HRESULT=0x800f081f) - CCbsConUIHandler::Error
2023-01-03 14:26:27, Error DISM DISM Package Manager: PID=6560 TID=6232 Failed finalizing changes. - CDISMPackageManager::Internal_Finalize(hr:0x800f081f)
2023-01-03 14:26:27, Error DISM DISM Package Manager: PID=6560 TID=6232 The source files could not be found; their location must be specified using the /source option to restore the feature. - GetCbsErrorMsg
2023-01-03 14:26:27, Error DISM DISM Package Manager: PID=6560 TID=6232 Failed processing package changes with session option CbsSessionOptionRepairStoreCorruption - CDISMPackageManager::RestoreHealth(hr:0x800f081f)