FlushVol

When the files are created and/or modified, their content is usually kept (buffered or cached) in memory for faster processing. A special system feature, write-back, copies file content to the volume (disk) in the background. If file data had just been modified in memory, and an unplanned system crash occurs, the data may not be written to the volume, and file content may become corrupted.

FlushVol ensures that all file buffers are written (flushed) to the disk after the utility exits. It works like sync.exe from Mark Russinovich (SysInternals) but enumerates all fixed volumes, including mounted to NTFS Mount Points. It also can be installed as a service to start automatically and flush volume buffers with a given interval.

Such utility is useful for kernel-mode driver developers while the driver is being debugged. Running the utility before starting a new driver build prevents data loss if the new build crashes the system.

Works in Windows 2000, XP, 2003, Vista, Windows 7/8/10.