PS C:\Windows\system32> DISM /Online /Cleanup-Image /RestoreHealth /Source:C:\Temp\Win2019\sources\install.wim
Deployment Image Servicing and Management tool
Version: 10.0.17763.1
Image Version: 10.0.17763.720
[==========================100.0%==========================]
Error: 0x800f081f
The source files could not be found.
Use the "Source" option to specify the location of the files that are required to restore the feature. For more information on specifying a source location, see http://go.microsoft.com/fwlink/?LinkId=243077.
The DISM log file can be found at C:\Windows\Logs\DISM\dism.log
PS C:\Windows\system32> DISM /Online /Cleanup-Image /RestoreHealth /Source:WIM:C:\Temp\Win2019\sources\install.wim
Deployment Image Servicing and Management tool
Version: 10.0.17763.1
Image Version: 10.0.17763.720
Error: 87
An error occurred while processing WIM:C:\Temp\Win2019\sources\install.wim. The specified path was not found.
Ensure that the argument is valid and that the path exists.
The DISM log file can be found at C:\Windows\Logs\DISM\dism.log