dism fails to fix corruption with 0x800f081f error

R

Relytgerg

Background: HP ENVY Desktop 750-514 running Windows 10 build 17134.112
System has experienced some problems in the past but I was able to fix them with DISM.

Current Problem: Windows update KB4338819 runs and results in a stopcode of 0xc000021a. Automatic Repair does not help. I am able to use DISM with the /revertpendingactions option to undo the changes and boot the system. However, I cannot repair apparent corruption with DISM.

Most DISM commands complete successfully, but restorehealth results in errors (see below). The problem seems to be the inability to read the install.wim file. Most help sites recommended using the install.wim file but my DVD only had an install.esd file. Per the recommendation at How to Extract Install.ESD to Install.WIM (Windows 10/8) - wintips.org - Windows Tips & How-tos I extracted the correct install.wim for my Windows 10 Home edition and have been using that.

More details are below. Any help would be appreciated.

------------------------------------------

sfc /scannow completes successfully:

PS C:\WINDOWS\system32> sfc /scannow

Beginning system scan. This process will take some time.

Beginning verification phase of system scan.
Verification 100% complete.

Windows Resource Protection did not find any integrity violations.

-------------------------------------------------------------------

dism checkhealth:

PS C:\WINDOWS\system32> dism /Online /cleanup-image /checkhealth

Deployment Image Servicing and Management tool
Version: 10.0.17134.1

Image Version: 10.0.17134.112

The component store is repairable.
The operation completed successfully.

------------------------------------------------------------------------

dism scanhealth:

PS C:\WINDOWS\system32> dism /Online /cleanup-image /scanhealth

Deployment Image Servicing and Management tool
Version: 10.0.17134.1

Image Version: 10.0.17134.112

[==========================100.0%==========================] The component store is repairable.
The operation completed successfully.

------------------------------------------------------------------------

dism start componentcleanup:

PS C:\WINDOWS\system32> dism /online /cleanup-image /startcomponentcleanup

Deployment Image Servicing and Management tool
Version: 10.0.17134.1

Image Version: 10.0.17134.112

[==========================100.0%==========================]
The operation completed successfully.

----------------------------------------------------------------------------

dism analyzecomponentstore:

PS C:\WINDOWS\system32> DISM /Online /Cleanup-Image /AnalyzeComponentStore

Deployment Image Servicing and Management tool
Version: 10.0.17134.1

Image Version: 10.0.17134.112

[==========================100.0%==========================]

Component Store (WinSxS) information:

Windows Explorer Reported Size of Component Store : 8.01 GB

Actual Size of Component Store : 6.96 GB

Shared with Windows : 4.71 GB
Backups and Disabled Features : 2.25 GB
Cache and Temporary Data : 3.11 MB

Date of Last Cleanup : 2018-07-21 10:37:13

Number of Reclaimable Packages : 0
Component Store Cleanup Recommended : No

The operation completed successfully.

--------------------------------------------------------------

Using dism restorehealth with .esd file:

PS C:\WINDOWS\system32> DISM /Online /Cleanup-Image /RestoreHealth /Source:ESD:F:\Sources\install.esd /LimitAccess

Deployment Image Servicing and Management tool
Version: 10.0.17134.1

Image Version: 10.0.17134.112

[===========================85.5%================= ]
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 Configure a Windows Repair Source.

The DISM log file can be found at C:\WINDOWS\Logs\DISM\dism.log

From C:\WINDOWS\Logs\CBS\cbs.log:
2018-07-21 10:42:20, Info CBS Exec: Addsource called, Session: 30679297_121067182, Client: DISM Package Manager Provider, from GPO: No, Path: C:\WINDOWS\system32\ESD:F:\Sources\install.esd
2018-07-21 10:42:20, Warning CBS The alternate source path directory could not be accessed [HRESULT = 0x8007007b - ERROR_INVALID_NAME]
...and...
2018-07-21 10:42:47, Info CSI 00000007 Hashes for file member [l:11]'shell32.dll' do not match.
Expected: {l:32 ml:4096 b:62c2ae48193d374b7cab066e66350ebe3d6ded68861c136cbf5a9f278dc11996}.
Actual: {l:32 b:864021ed4af31856a9802211da0b5441da0f71c4e2ba7119bc02006e9550225b}.
...and...
2018-07-21 10:44:19, Info CBS Repr: Not able to find replacement file for component wow64_microsoft-windows-shell32_31bf3856ad364e35_10.0.17134.137_none_5834f4839c658742, file shell32.dll from any local source

NOTE: shell32.dll always shows up. Occasionally some other apparently random file shows up.

----------------------------------------------------------------------------------------------

dism restore health results:

PS C:\WINDOWS\system32> DISM /Online /Cleanup-Image /RestoreHealth /Source:C:\install.wim

Deployment Image Servicing and Management tool
Version: 10.0.17134.1

Image Version: 10.0.17134.112

[==========================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 Configure a Windows Repair Source.

The DISM log file can be found at C:\WINDOWS\Logs\DISM\dism.log

---------

The first error indications in cbs.log are always:

Provider, external staging directory: (null), external registry directory: (null
2018-07-21 11:12:52, Info CBS Exec: Addsource called, Session: 30679301_1263717693, Client: DISM Package Manager Provider, from GPO: No, Path: C:\install.wim
2018-07-21 11:12:52, Warning CBS The alternate source path directory could not be accessed [HRESULT = 0x8007007b - ERROR_INVALID_NAME]
2018-07-21 11:12:52, Info CBS Failed to add new file source [HRESULT = 0x8007007b - ERROR_INVALID_NAME]
2018-07-21 11:12:52, Info CBS Failed to add alternate file source [HRESULT = 0x8007007b - ERROR_INVALID_NAME]
2018-07-21 11:12:52, Info CBS Failed adding alternate source directory [HRESULT = 0x8007007b - ERROR_INVALID_NAME]
2018-07-21 11:12:52, Info CBS Failed to Add Source using worker session [HRESULT = 0x8007007b]


Full CBS.log: CBS.log


Full DISM.log: DISM.log

Continue reading...
 
Back
Top Bottom