A corrupted file is one whose contents have changed or been cut short, so it no longer opens properly or no longer matches the original. The worrying part is that a damaged file often looks perfectly normal in File Explorer: same name, same icon, plausible size. This guide explains how corruption happens, what it looks like, and how to check your backup with tools already in Windows.
What corruption is and how it happens
Files are stored as long sequences of bytes. If some of those bytes are missing, wrong or never got written, the program that opens the file can’t make sense of it. Common causes are ordinary:
- Interrupted copies. The copy was cancelled, the laptop went to sleep, or the power dropped part-way through.
- Unsafe removal. Unplugging a drive while Windows is still writing to it can leave the last files incomplete.
- Ageing or failing storage. Drives can develop bad sectors, areas that can no longer store data reliably.
- Faulty cables, ports or USB hubs. A flaky connection can corrupt data in transit even when the drive itself is fine.
- Software bugs. Occasionally a program saves a damaged file, and every later copy of it is damaged too.
You may also hear the term “bit rot”, meaning stored data slowly degrading over time. It can happen, but you don’t need to settle how often it does. The checks below catch damage from any cause.
Symptoms to look for
- A photo shows a grey or garbled band, or only loads part-way.
- A document or spreadsheet offers to “repair” itself, or won’t open at all.
- A ZIP or other archive reports a CRC or “data error” when you extract it.
- A video starts but stops, freezes or skips partway through.
- A file shows a size of 0 KB.
- Windows reports that a file “can’t be read” or is “unreadable”.
No symptoms doesn’t guarantee a file is fine. Damage inside a rarely opened file can sit unnoticed for years, which is why it’s worth checking on purpose.
How to check your backup
1. Open a sample of files
Pick ten or so files of different types, especially older ones, and copy them from the backup into a new folder. Open each one and look for the symptoms above. It’s quick and catches the obvious problems, but it only checks the files you chose.
2. Compare one file with a hash
A hash is a short fingerprint of a file’s contents. If a single byte differs, the fingerprint changes completely. In PowerShell:
Get-FileHash "C:\Users\you\Pictures\2014\beach.jpg"
Get-FileHash "E:\Backup\Pictures\2014\beach.jpg"
Replace the paths with your own. Get-FileHash uses
SHA-256 by default. If the two Hash values are
identical, the files are identical.
3. Compare every file in two folders
This short script walks through your original folder and reports any file that is missing from the backup or has different contents. It only reads files and prints results; it changes nothing. Edit the first two lines, paste it into PowerShell and press Enter:
$src = "C:\Users\you\Pictures"
$bak = "E:\Backup\Pictures"
$srcRoot = (Resolve-Path -LiteralPath $src).Path.TrimEnd('\')
$bakRoot = (Resolve-Path -LiteralPath $bak).Path.TrimEnd('\')
Get-ChildItem -LiteralPath $srcRoot -Recurse -File -Force | ForEach-Object {
$rel = $_.FullName.Substring($srcRoot.Length).TrimStart('\')
$copy = Join-Path $bakRoot $rel
if (-not (Test-Path -LiteralPath $copy)) {
"MISSING $rel"
}
elseif ((Get-FileHash -LiteralPath $_.FullName).Hash -ne
(Get-FileHash -LiteralPath $copy).Hash) {
"DIFFERENT $rel"
}
}
"Finished."
Anything listed as MISSING never reached the backup.
DIFFERENT means the contents don’t match. That could be
damage, but it could also be a file you edited after the last
backup, so look at the file’s modified date before worrying. If
only “Finished.” appears, every file in the original folder has an
identical copy in the backup. Large folders can take a long time
because every file is read in full. The script doesn’t list files
that exist only in the backup.
4. Test archives
Windows can open ZIP files in File Explorer, and extracting one will usually fail with an error if it’s damaged. The free third-party tool 7-Zip has a Test archive command that checks every file inside without extracting anything, and also handles other formats such as 7z and RAR.
Why the same name and size isn’t proof
Comparing names, sizes and dates is fast, and it’s what many tools and a glance in File Explorer rely on. But a file can keep its exact size while some of its bytes are wrong, for example when a failing disk returns garbage in place of the real data. Only comparing the contents, such as with hashes, will show that.
If you find corrupted files
- Stop writing to that drive. Don’t keep copying onto it or running repair tools yet.
- Keep your originals. Don’t delete or overwrite anything until you know which copy is good.
- Copy the good files elsewhere. Put them on a different drive so you have a safe copy.
- Check the drive. Repeated damage can point to a failing disk or cable. Our guide on checking an external drive’s health walks through it.
- Make a fresh copy. If the original is intact, back it up again to a drive you trust, then re-run the comparison.
How to make corruption less likely to hurt
- Use Safely Remove Hardware before unplugging a drive.
- Verify after copying, using the comparison above or a tool that does it for you.
- Keep more than one copy, ideally one off-site. See the 3-2-1 backup rule.
- Practise getting files back. Our ten-minute restore test is a good habit to build.
Where RestoreWarden fits
RestoreWarden Home is a free Windows 11 beta that automates these checks for backups stored as plain folders on a second disk, an external or USB drive, or a NAS. It compares your source folder with its backup and lists missing, extra and different files, verifies file contents byte for byte using BLAKE3 hashes, and runs a Recovery Drill that copies up to ten sample files into a temporary folder and checks that they open. It is read-only, nothing leaves your PC, and it needs no admin rights. It does not repair or restore files, and it doesn’t read backup images from tools like Acronis, Macrium or Veeam.