DISM failed to restore health with error The system cannot find the file specified.

Anonymous
2023-12-22T22:41:56+00:00

Hi

I have an issue and I need help in determining the root cause.

below are the commands I have tried in windows PowerShell using administrative privileges

I have uploaded the CBS and DISM logs as well

DISM: https://1drv.ms/u/s!AgpLfXPgmZ4ZzxQjvgjXI\_DKNYAB?e=APGklJ

CBS: https://1drv.ms/u/s!AgpLfXPgmZ4ZzxXuHTX0VKL6B4Jb?e=Cx7oLw

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 found corrupt files but was unable to fix some of them.

For online repairs, details are included in the CBS log file located at

windir\Logs\CBS\CBS.log. For example C:\Windows\Logs\CBS\CBS.log. For offline

repairs, details are included in the log file provided by the /OFFLOGFILE flag.

The system file repair changes will take effect after the next reboot.

PS 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.

PS C:\Windows\system32> DISM /Online /Cleanup-Image /scanhealth

Deployment Image Servicing and Management tool

Version: 10.0.19041.3570

Image Version: 10.0.19045.3570

[== 4.9% ]

Error: 2

The system cannot find the file specified.

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

PS 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

[== 3.8% ]

Error: 2

The system cannot find the file specified.

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

Windows for home | Windows 10 | Performance and system failures

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Igor Leyko 111.4K Reputation points Independent Advisor
2023-12-23T19:39:19+00:00

Seems the drive is in good condition and problem was caused by some one-time fault. So, the format should repair the problem.

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

10 additional answers

Sort by: Most helpful
  1. Anonymous
    2023-12-22T23:43:02+00:00

    Ouch. Thanks for letting me know. fortunately I do not keep anything in my SSD so it will be with no real data losses.

    I hope reformatting the disk does the job though. This is a new SSD and shouldn't cause me that much trouble.

    Was this answer helpful?

    0 comments No comments
  2. Igor Leyko 111.4K Reputation points Independent Advisor
    2023-12-22T23:37:47+00:00

    Unfortunately, your disk's file structure is corrupted and chkdsk cannot repair it.

    Seems it is needed to re-format the disk and reinstall Windows. Sorry for the bad news.

    If you are familiar with NTFS internal structure, you may use hexadecimal editor (e.g. DMDE tool) to analyze disk structure and correct it.

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2023-12-22T23:30:38+00:00

    Thank you Igor I appreciate the help

    below the results and the uploaded DISM logs

    DISM: https://1drv.ms/u/s!AgpLfXPgmZ4ZzxQjvgjXI_DKNYAB?e=k0Xbtn 

    PS 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.

    PS C:\Windows\system32> DISM /Online /Cleanup-Image /scanhealth

    Deployment Image Servicing and Management tool

    Version: 10.0.19041.3570

    Image Version: 10.0.19045.3570

    [== 4.9% ]

    Error: 2

    The system cannot find the file specified.

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

    PS 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

    [== 3.8% ]

    Error: 2

    The system cannot find the file specified.

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

    PS C:\Windows\system32> chkdsk c: /scan

    >>

    The type of the file system is NTFS.

    Stage 1: Examining basic file system structure ...

    Found corrupt basic file structure for "<0x1,0x41cdc>" 
    

    was not able to send command for self-healing due to lack of memory.

    Was this answer helpful?

    0 comments No comments
  4. Igor Leyko 111.4K Reputation points Independent Advisor
    2023-12-22T23:15:32+00:00

    Hi,

    My name is Igor, it's a pleasure for me to help others and I'll try to help you.

    Please remove C:\Windows\Logs\DISM\dism.log file, then re-run Dism and share the appeared file to OneDrive for analysis.

    Run command prompt as administrator, run

    chkdsk c: /scan

    command and show the result.

    Was this answer helpful?

    0 comments No comments