Link to home
Create AccountLog in
Avatar of Lance McGrew
Lance McGrewFlag for United States of America

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>

Avatar of David Johnson, CD
David Johnson, CD
Flag of Canada image

mount the iso that contains the installation media

dism /online /cleanup-image /restorehealth /source:G:\sources\sxs

Avatar of Lance McGrew

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.User generated imageThe DISM log file can be found at C:\Windows\Logs\DISM\dism.logUser generated image


ASKER CERTIFIED SOLUTION
Avatar of serialband
serialband
Flag of Ukraine image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
  1. dism /online /cleanup-image /analyzecomponentstore
  2. dism.exe /online /Cleanup-Image /StartComponentCleanup

    Open in new window

  3. Reboot

    Open in new window

  4. sfc /scannow

    Open in new window

  5. All reports clean with no further messages about needing repair

    Open in new window