The file is damaged and cannot be opened or an error occurs.
If there are symptoms of “file corruption,” storage device or file system errors, abnormal termination, etc. can be considered as possible causes. Please check step 1 in order, starting with ‘Immediately backing up important data’.
First, check that this guide matches your problem
Do you have these symptoms?
- File corruption
- Error when opening file
- Photos look corrupted
- Corrupted archive file
Common causes
- Storage device or file system error
- Unexpected shutdown
- Error during transfer
How to fix
6 steps, 1 hr 35 min–4 hr 30 min in total. The easiest checks come first, so stop as soon as the problem is fixed.
Repeated recognition failures, SMART warnings, abnormal sounds, and freezing may be precursors of drive failure.
- Copy files that cannot be replaced, such as documents and photos, to another storage device.
- Large-capacity benchmarks or unnecessary write tests are performed after backup.
Did this step fix it?
If a copy from before the damage still exists, you can restore the file more reliably than with recovery software, so check this first.
- Right-click the file or folder and check Properties → Previous Versions for a copy.
- If File History was turned on, go to Control Panel → File History → Restore personal files, pick a date, and restore.
- For files stored in OneDrive or Google Drive, open the version history on the web and download an earlier version.
- Don't overwrite the original file with the restored one; save it to a different folder and open it there first.
What to check
If the previous version opens normally, use that file. If no copy remains, get it again from the original source.
Did this step fix it?
If the connection drops or a transfer error occurs during copying or downloading, only part of the file may be saved and it won't open.
- Copy or download the file again from the device or site where the original still exists.
- In PowerShell, run Get-FileHash followed by the file path to compare the SHA256 values of the original and the copy.
- If the download site publishes hash values, check that they match the downloaded file's value.
What to check
If the hashes match, the file transferred correctly, so check the app you are opening it with. If they differ, get it again over a different cable or network.
Did this step fix it?
You can check the status and error history reported by the drive.
- Use the manufacturer SSD/HDD diagnostic tool or the trusted SMART verification tool.
- Check for warnings, bad sectors, media errors, and temperature abnormalities.
Did this step fix it?
Recovery tools like CHKDSK can be taxing on unstable drives because they change the file system.
- Verify that the backup is complete.
- Run Windows Error Checking or CHKDSK if necessary.
- If additional errors occur during testing, stop using it and consider replacement/repair.
Did this step fix it?
With a RAM error, data can be written corrupted during copying or saving even if the storage device is healthy.
- Press Windows key + R, run
mdsched.exe, and choose 'Restart now and check for problems'. - If no result appears after the restart, check the MemoryDiagnostics-Results entry under Event Viewer → Windows Logs → System.
- If XMP/EXPO is enabled, set it back to default and copy the same file again to compare.
What to check
If a memory error appears or the corruption stops after turning off XMP, RAM is the likely cause. If there are no errors, keep monitoring the storage device's condition.
Did this step fix it?
Cautions
If you suspect a storage device error, back up important data before recovery. If there are SMART warnings or repeated recognition failures, it is safer to not continue using it.
Frequently asked questions
Related problems
If the symptoms do not match exactly, please check the issue below.
Related error codes
If the code below appears on the screen, refer to the confirmation procedure for each error.
View all error codes