STATUS_FILE_INVALID (0xC0000098) – Volume Altered Externally
A file or volume was changed outside Windows while the file was open. Usually a corruption or VSS snapshot gone bad. Easy to fix if you catch the right cause first.
1. NTFS Corruption on the Boot Drive
This is the one I see 7 times out of 10. The error pops up during boot or when you try to open a file on a drive that was pulled from another machine, a VM snapshot reverted, or a system crashed while writing to disk. The MFT or directory index got stomped.
Fix: Boot from Windows Recovery and run chkdsk
- Boot from a Windows install USB or recovery drive. Pick Repair your computer → Troubleshoot → Command Prompt.
- Type
chkdsk C: /f /rand hit Enter. If your OS is on D: or another drive, use that letter instead. - Let it finish. On a 1TB HDD this can take hours. On an SSD, maybe 10-15 minutes.
- Restart normally.
If chkdsk finds bad sectors, you've got a dying drive. Replace it and restore from backup. Don't bother with chkdsk on a read-only volume – it won't fix anything. Use /f to force repair.
If you can't boot at all, boot from a Linux live USB and run ntfsfix /dev/sda2 (replace sda2 with your NTFS partition). It's less thorough but can get you back into Windows.
2. Corrupted or Mismatched VSS Shadow Copies
This happens when a backup tool or System Restore creates a snapshot, then the underlying volume changes. The file it's trying to read no longer matches the snapshot metadata. Common after a failed restore or disk resize.
Fix: Delete and rebuild VSS snapshots
- Open an elevated Command Prompt (Admin).
- Type
vssadmin delete shadows /alland press Enter. This wipes all shadow copies. - Now type
vssadmin resize shadowstorage /for=C: /on=C: /maxsize=5GB(adjust maxsize to your preference – 5GB is fine for most systems). - Reboot. Windows will recreate snapshots on next backup or restore point.
Skip this if you're not using System Restore or any VSS-aware backup (like Windows Backup, Veeam, or Macrium). It won't help. But if you see the error after a failed restore point, this is your fix.
3. File System Filter Driver Gone Rogue
Rarer, but I've seen it with antivirus software (especially McAfee or older Norton), encryption tools, and even OneDrive's placeholder files. The filter driver intercepts file I/O and messes up the volume timestamp or state.
Fix: Boot into Safe Mode and disable the driver
- Restart and press F8 (Shift+F8 on some systems) during boot. Pick Safe Mode with Networking.
- If the error doesn't appear in Safe Mode, it's a third-party driver.
- Open msconfig, go to the Services tab, check Hide all Microsoft services, and disable all remaining services. Reboot normally.
- If the error goes away, re-enable services one by one until it returns. That's your culprit.
- For antivirus, temporarily uninstall it completely – not just disable, uninstall. Then reinstall the latest version.
If you can't boot to Safe Mode, use the Recovery Command Prompt and run dism /image:C:\ /remove-package /packagename:… – but that's advanced. Stick with Safe Mode first.
Quick-Reference Summary Table
| Cause | Symptom | Fix | Time |
|---|---|---|---|
| NTFS corruption | Error during boot or opening files on recently disconnected drive | chkdsk C: /f /r from recovery | 15 min – 3 hours |
| VSS snapshot corruption | Error after failed System Restore or backup | vssadmin delete shadows /all | 5 minutes |
| Filter driver (AV, OneDrive, encryption) | Error only happens with certain apps or after software update | Safe Mode + msconfig disable | 30 minutes |
Start with chkdsk. Skip VSS if you don't use snapshots. And for God's sake, keep a backup – you never know when a drive decides to die on a Tuesday afternoon.
Was this solution helpful?