When VLC throws up that “Index missing or damaged” warning, head straight to Tools → Preferences → Input/Codecs → Damaged or incomplete AVI file → Always fix and then reopen the file.
What’s happening
If that index goes missing, gets corrupted, or points to bad sectors on the drive, your player can’t locate the data and throws errors like “file index damaged” or “index not found.” Most of the time this happens after a sudden power loss while writing, a virus doing its thing, a failing storage drive, or an interrupted copy/rename operation Microsoft Support.
How do I fix it step by step?
Close any other video player or editor that’s currently using the file.
Fire up VLC media player (make sure it’s at least version 3.0.20 from June 2026).
Hit Tools → Preferences (or just press Ctrl+P).
Down in the bottom-left corner, flip the switch from Simple to All so every hidden setting appears.
Drill down to Input / Codecs → Advanced → Damaged or incomplete AVI file.
Pick Always fix from the drop-down menu.
Click Save and close the Preferences window.
Drag the AVI file onto VLC or go Media → Open File; VLC will rebuild the index on the fly and start playing the video.
What if VLC’s automatic fix doesn’t work?
Rebuild the index with FFmpeg. Open a terminal or Command Prompt and run:
ffmpeg -i "C:\Videos\broken.avi" -c copy -map 0 "C:\Videos\fixed.avi"
FFmpeg scans the file and writes a fresh index without touching the actual video or audio.Convert to MP4 with MP4Box (GPAC 2.3+). Run these three commands in order:
mp4box -aviraw video "broken.avi" -out video.h264
mp4box -aviraw audio "broken.avi" -out audio.aac
mp4box -add video.h264 -add audio.aac "fixed.mp4"Let a dedicated repair tool handle it. Tools like ASUS File Repair 2026 or Stellar Repair for Video 11 include AVI index-rebuild wizards and often succeed where VLC gives up.
How can I stop this from happening again?
| Action | How |
|---|---|
| Use a UPS | Plug your PC into an uninterruptible power supply so a power flicker doesn’t kill an in-progress video capture or edit EPA ENERGY STAR. |
| Check disk health | Open Command Prompt and run wmic diskdrive get status; swap out any drive reporting “Pred Fail” or “Bad” Microsoft Disk Check. |
| Always eject drives | Use “Safely Remove Hardware” before yanking any external drive; an interrupted copy operation is one of the top causes of AVI index loss. |
| Keep VLC updated | Turn on auto-updates in VLC so you’re always running the latest version with the newest index-repair heuristics. |