I'm unable to use DISM restorehealth, depending on command used it gives different errors.
- Error 14: Not enough storage
- 0x800f081f: The source files could not be found
I've checked the CBS.log file, which also says source file issues, but I can't find what it is actually having issues with.
I ran below commands:
1:
Code:
Windows Resource Protection did not find any integrity violations.
2:
Code:
dism /Online /Cleanup-Image /CheckHealth
Code:
The component store is repairable.
The operation completed successfully.
3:
Code:
dism /Online /Cleanup-Image /ScanHealth /LogPath:C:\temp\DISM\LOG-Scan001.txt /loglevel:4 /ScratchDir:C:\temp\DISM\Scratch
Code:
[==========================100.0%==========================] The component store is repairable.
The operation completed successfully.
4:
Code:
dism /Online /Cleanup-Image /RestoreHealth /LogPath:C:\temp\DISM\LOG-Restore-001.txt /LogLevel:4
Code:
[==========================100.0%==========================]
Error: 14
Not enough storage is available to complete this operation.
5:
Code:
dism /Get-ImageInfo /imagefile:D:\sources\install.wim
Code:
Index : 2
Name : Windows Server 2016 Standard (Desktop Experience)
6:
Code:
dism /Online /Cleanup-Image /RestoreHealth /LogPath:C:\temp\DISM\LOG-Restore-002.txt /LogLevel:4 /ScratchDir:C:\temp\DISM\Scratch /Source:wim:D:\Sources\install.wim:2 /LimitAccess
Code:
[===========================96.7%======================== ]
Error: 0x800f081f
The source files could not be found.
7:
Code:
dism /Online /Cleanup-Image /AnalyzeComponentStore
Code:
Windows Explorer Reported Size of Component Store : 9.95 GB
Actual Size of Component Store : 9.85 GB
Shared with Windows : 6.16 GB
Backups and Disabled Features : 2.47 GB
Cache and Temporary Data : 1.21 GB
Date of Last Cleanup : 2021-08-08 01:37:56
Number of Reclaimable Packages : 0
Component Store Cleanup Recommended : Yes
After all of the above I ran the SFCFix.exe, this finds issues and also runs dism at/after Stage 3 and completes with:
AutoAnalysis::
SUMMARY: No corruptions were detected.
AutoAnalysis:: directive completed successfully.
Changed IRPStackSize key, this was set to 1, changed it to 12, rebooted, re-ran:
Code:
dism /Online /Cleanup-Image /RestoreHealth /LogPath:C:\temp\DISM\LOG-Restore-003.txt /LogLevel:4
Still comes back with
Code:
[==========================100.0%==========================]
Error: 14
Not enough storage is available to complete this operation.
C: drive is the only storage drive and has 48.1 GB free out of 126 GB.
RAM, 4.2 out of 20 GB is in use, during dism it hangs around 5-7 GB out of 20 GB.
SFCFix again:
Code:
Checking for updates . . .
No new update is available at this time.
Processing directive 1 of 1 (AutoAnalysis::)
Checking store directories . . .
Checking CBS.log . . .
Checking CheckSUR.log . . .
Checking CheckSUR.persist.log . . .
Attempting repair . . .
Stage 1
Stage 2
Stage 3
Due to the nature of your corruptions, scan times have been extended by
approximately 15-20 minutes. Please be patient and allow the operation to
complete.
Deployment Image Servicing and Management tool
Version: 10.0.14393.4169
Image Version: 10.0.14393.4169
[==========================100.0%==========================]
Error: 14
Not enough storage is available to complete this operation.
The DISM log file can be found at C:\Windows\Logs\DISM\dism.log
SUMMARY:
CBS & SFC total detected corruption count: 0
CBS & SFC total unimportant corruption count: 0
CBS & SFC total fixed corruption count: 0
SURT total detected corruption count: 0
SURT total unimportant corruption count: 0
SURT total fixed corruption count: 0
Press any key to continue to explanation of summary . . .
Log file:
AutoAnalysis::
SUMMARY: No corruptions were detected.
AutoAnalysis:: directive completed successfully.
Successfully processed all directives.
Ran below:
Code:
dism /Online /Cleanup-Image /StartComponentCleanup
Code:
[=========== 20.0% ]
The operation completed successfully.
After the above cleanup is no longer recommended
Code:
Component Store (WinSxS) information:
Windows Explorer Reported Size of Component Store : 9.95 GB
Actual Size of Component Store : 9.85 GB
Shared with Windows : 6.16 GB
Backups and Disabled Features : 2.47 GB
Cache and Temporary Data : 1.21 GB
Date of Last Cleanup : 2021-09-08 12:30:20
Number of Reclaimable Packages : 0
Component Store Cleanup Recommended : No
The operation completed successfully.
Re-ran RestoreHealth, but still coming up with the same messages
Code:
dism /Online /Cleanup-Image /RestoreHealth /LogPath:C:\temp\DISM\LOG-Restore-004.txt /LogLevel:4
Again, Error 14 / (hr:0x8007000e) Not enough storage/ Not enough memory
Checked Virtual Memory setting, this is set to System Managed and only using 3 GB and doesnt change size while running DISM
Code:
dism /Online /Cleanup-Image /RestoreHealth /LogPath:C:\temp\DISM\LOG-Restore-005.txt /LogLevel:4 /ScratchDir:C:\temp\DISM\Scratch /Source:wim:D:\Sources\install.wim:2 /LimitAccess
Code:
[===========================96.5%======================= ]
Error: 0x800f081f
The source files could not be found.
I've created a separate local admin account, but this behaves exactly the same
I have attached the different log files created.