asked on
The source files could not be found when using /source switch with DISM
Have tried several attempts using /source switch with DISM but continue getting "The source files could not be found." The install.esd came from current WINDOWS.ISO.
Edition Windows 10 Pro
Version 22H2
Installed on 2/28/2021
OS build 19045.3570
Experience Windows Feature Experience Pack 1000.19052.1000.0
Microsoft Windows [Version 10.0.19045.3570]
(c) Microsoft Corporation. All rights reserved.
C:\Windows\system32>dism /online /cleanup-image /checkhealth
Deployment Image Servicing and Management tool
Version: 10.0.19041.3570
Image Version: 10.0.19045.3570
The component store is repairable.
The operation completed successfully.
C:\Windows\system32>dism /online /cleanup-image /restorehealth
Deployment Image Servicing and Management tool
Version: 10.0.19041.3570
Image Version: 10.0.19045.3570
[==========================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 https://go.microsoft.com/fwlink/?LinkId=243077.
The DISM log file can be found at C:\Windows\Logs\DISM\dism.log
C:\Windows\system32>dism /online /cleanup-image /restorehealth /source:f:\
Deployment Image Servicing and Management tool
Version: 10.0.19041.3570
Image Version: 10.0.19045.3570
[==========================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 https://go.microsoft.com/fwlink/?LinkId=243077.
The DISM log file can be found at C:\Windows\Logs\DISM\dism.log
C:\Windows\system32>dism /online /cleanup-image /restorehealth /source:WU
Deployment Image Servicing and Management tool
Version: 10.0.19041.3570
Image Version: 10.0.19045.3570
[==========================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 https://go.microsoft.com/fwlink/?LinkId=243077.
The DISM log file can be found at C:\Windows\Logs\DISM\dism.log
C:\Windows\system32>dism /online /cleanup-image /restorehealth /source:g:\
Deployment Image Servicing and Management tool
Version: 10.0.19041.3570
Image Version: 10.0.19045.3570
[==========================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 https://go.microsoft.com/fwlink/?LinkId=243077.
The DISM log file can be found at C:\Windows\Logs\DISM\dism.log
C:\Windows\system32>dism /online /cleanup-image /restorehealth /source:g:\sources
Deployment Image Servicing and Management tool
Version: 10.0.19041.3570
Image Version: 10.0.19045.3570
[==========================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 https://go.microsoft.com/fwlink/?LinkId=243077.
The DISM log file can be found at C:\Windows\Logs\DISM\dism.log
C:\Windows\system32>
C:\Windows\system32>dism /online /cleanup-image /restorehealth /source:g:\sources\install.esd
Deployment Image Servicing and Management tool
Version: 10.0.19041.3570
Image Version: 10.0.19045.3570
[==========================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 https://go.microsoft.com/fwlink/?LinkId=243077.
The DISM log file can be found at C:\Windows\Logs\DISM\dism.log
C:\Windows\system32>dism /online /cleanup-image /restorehealth /source:c:\esd\install.esd
Deployment Image Servicing and Management tool
Version: 10.0.19041.3570
Image Version: 10.0.19045.3570
[==========================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 https://go.microsoft.com/fwlink/?LinkId=243077.
The DISM log file can be found at C:\Windows\Logs\DISM\dism.log
C:\Windows\system32>
ASKER
Same results. Understanding is the source path should point to install.esd which is in the G:\sources\
Microsoft Windows [Version 10.0.19045.3570]
(c) Microsoft Corporation. All rights reserved.
C:\Windows\system32>dism /online /cleanup-image /restorehealth /source:G:\sources\sxs
Deployment Image Servicing and Management tool
Version: 10.0.19041.3570
Image Version: 10.0.19045.3570
[==========================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 https://go.microsoft.com/fwlink/?LinkId=243077.The DISM log file can be found at C:\Windows\Logs\DISM\dism.log
ASKER
- dism /online /cleanup-image /analyzecomponentstore
dism.exe /online /Cleanup-Image /StartComponentCleanup
Reboot
sfc /scannow
All reports clean with no further messages about needing repair
mount the iso that contains the installation media
dism /online /cleanup-image /restorehealth /source:G:\sources\sxs