0XC0190022

STATUS_STREAM_MINIVERSION_NOT_FOUND (0XC0190022) Quick Fix

Windows Errors Intermediate 👁 4 views 📅 Jun 3, 2026

Your transacted file miniversion didn't show up. It's usually a corrupted NTFS transaction log. Here's the fix and why it works.

So You Hit 0XC0190022

Yeah, this one's annoying. You're working with a transactional NTFS (TxF) file — maybe a database log, a temporary file for an app that uses transactions, or something from a legacy backup tool — and Windows tells you the miniversion isn't there. The culprit here is almost always a corrupted TxF log. Let's fix it.

The Fix: Clear the Transaction Log

Don't bother reinstalling anything or running SFC — that rarely helps here. The real fix is to clear the NTFS transaction log for that volume. You'll need an admin command prompt and a reboot.

  1. Open Command Prompt as Administrator (right-click Start > Windows Terminal (Admin) or cmd.exe > Run as administrator).
  2. Run fsutil resource info C: (replace C: with your affected drive). You'll see something like Transaction Resource Manager info — ignore it for now.
  3. To clear the log: fsutil resource setlog C: shrink. This truncates the log file and resets the transaction state.
  4. If that fails with access denied, you need to dismount the volume first. Run mountvol C: /p (this unmounts the drive — don't do this if C: is your system drive without a backup plan). For system drives, reboot into Safe Mode and repeat step 3.
  5. Reboot normally after the shrink completes.

That's it. The error should disappear. If the app still chokes, restart the service or application that uses TxF — sometimes it holds a stale handle.

Why This Works

STATUS_STREAM_MINIVERSION_NOT_FOUND means the NTFS transaction log has a reference to a file version that doesn't exist anymore. This happens when a transaction is interrupted — say, a power failure, a disk write cache flush error, or a buggy app that didn't close transactions cleanly. TxF keeps miniversions (snapshots of file data during a transaction). If the log says a miniversion should be there but the file metadata disagrees, you get 0XC0190022. Shrinking the log forces NTFS to recheck all active transactions and toss any orphaned ones.

I've seen this most often on Windows Server 2016 and 2019 boxes running SQL Server with Transactional Replication or on systems using the old CopyFileEx with COPY_FILE_RESTARTABLE flag. Also common on Windows 10 version 1803-1909 after sudden power loss.

Less Common Variations

ScenarioWhat to Do
Error appears during Windows Update rollbackRun fsutil resource setlog C: shrink in Safe Mode. If that fails, use dism /online /cleanup-image /restorehealth after the reboot.
Error on a non-system data drive (D:, E:, etc.)Same fix works, but you can safely dismount first with mountvol D: /p then run the shrink. Remount with mountvol D: /l or reboot.
Error in a database app that uses TxFCheck for orphaned transactions with fsutil resource query C:. If you see stale GUIDs, shrink the log. You might also need to rebuild the database's internal transaction log.
Error appears repeatedly after fixThis points to disk corruption. Run chkdsk C: /f after shrinking the log. Could be failing hardware — check SMART status in Event Viewer.

Prevention

Set your system to use a UPS — sudden power loss is the number one trigger for this. Keep Windows and your storage drivers up to date. If you're running apps that rely on TxF (like older versions of SQL Server or backup software), consider migrating away — Microsoft deprecated TxF starting in Windows 10 1803 and Server 2019. It still works, but they won't fix bugs.

For servers, disable write caching on drives that handle transactional workloads unless you have a battery-backed cache. You can check this in Device Manager under the disk's Policies tab. Uncheck "Enable write caching on the device" for critical volumes.

Also, monitor Event Viewer logs for Event ID 130 (TxF log full) or 131 (TxF log corruption). Catch those early, and you'll avoid the miniversion headache entirely.

Was this solution helpful?