{"id":151,"date":"2004-08-22T01:55:00","date_gmt":"2004-08-22T08:55:00","guid":{"rendered":"https:\/\/kb.terabyteunlimited.com\/kb-articles\/data-corruption-image-stream-corrupt-or-byte-for-byte-validation-failure-message\/"},"modified":"2026-02-27T17:15:55","modified_gmt":"2026-02-28T01:15:55","slug":"data-corruption-image-stream-corrupt-or-byte-for-byte-validation-failure-message","status":"publish","type":"lsvr_kba","link":"https:\/\/www.terabyteunlimited.com\/kb\/kb-articles\/data-corruption-image-stream-corrupt-or-byte-for-byte-validation-failure-message\/","title":{"rendered":"Data Corruption, Image Stream Corrupt or Byte-for-Byte Validation Failure Message"},"content":{"rendered":"<p>Image for Windows\/DOS\/Linux\u00a0include the ability to reliably and accurately detect corruption of data from the source to the target and of the backup file itself (see\u00a0<a title=\"Difference between validation options.\" href=\"https:\/\/www.terabyteunlimited.com\/kb\/?p=350\" target=\"_blank\" rel=\"noopener\">Validation<\/a> article).\u00a0\u00a0Detecting corruption indicates that the software is working correctly and that something is not working properly on the system.\u00a0 If this high level of detection wasn't built in to the software, detecting a corrupt bit could be hit or miss and you'd never know there was a problem.\u00a0<\/p>\r\n<p>When data corruption is detected one of the following error messages will be displayed and\/or logged:<\/p>\r\n<blockquote>\r\n<p><span style=\"color: #ff0000;\">ABORT: Data corruption was encountered<\/span> (version 3.00 or later)<\/p>\r\n<p><span style=\"color: #ff0000;\">The image stream is corrupt<\/span> (version 2.99-00 or earlier)<\/p>\r\n<\/blockquote>\r\n<p>For validation error messages also see the following KB article: <a href=\"https:\/\/www.terabyteunlimited.com\/kb\/?p=350\" target=\"_blank\" rel=\"noopener\">What is the Difference between \"Validate\", \"Validate Byte-for-Byte\", and \"Validate Disc\"?<\/a><\/p>\r\n<p>The information below will attempt to help you find the cause of the corruption.<\/p>\r\n<p><strong><span style=\"color: #005858;\">Byte-for-Byte Validation Failure when using VSS<\/span><\/strong><\/p>\r\n<p>Microsoft's Volume Shadow Copy service (VSS) may not protect everything that Image for Windows backs up. This will result in a byte-for-byte validation failure if any of that data has changed. The options \"Exclude Files to Not Backup\" and \"Exclude Files to Not Snapshot\" in the the Image for Windows VSS settings should be enabled (the default).\u00a0 We have found the main culprit for this condition is that VSS is not protecting the $UsnJrnl.\u00a0\u00a0 To work around this you can either, a) Enable the option \"Omit $UsnJrnl Data\", b) Disable the option \"Validate Byte-for-Byte\", c) Enable the option \"Ignore Validate B4B Errors\", or d) use PHYLock instead of VSS.\u00a0 In any case, we recommend at least running the memory check (explained below) on your system to ensure that bad memory is not the actual problem.<\/p>\r\n<p><strong><span style=\"color: #005858;\">Byte-for-Byte Validation Failure when using a SSD<\/span><\/strong><\/p>\r\n<p>If the SSD (ATA) does not support Deterministic TRIM (e.g. DRAT, RZAT) then any data in allocated file system clusters that have been trimmed and only allocated (not used or written to) can change (with no real change) and cause the byte-for-byte validation to fail. Use a SSD that supports Deterministic TRIM to avoid this issue. Alternatively, use a NVMe drive, which requires consistent reads in trimmed areas as part of its specification.<\/p>\r\n<p><strong><span style=\"color: #005858;\">Troubleshooting Corruption Issues<\/span><\/strong><\/p>\r\n<p>In general,\u00a0corruption can be caused by overclocking, overheating, a hardware problem, or a BIOS or firmware bug or configuration issue.\u00a0 The most common cause\u00a0is\u00a0bad memory and\u00a0the\u00a0second most\u00a0common cause is\u00a0a bad\u00a0device port or cable.<\/p>\r\n<p>To solve this issue:<\/p>\r\n<p>First, ensure you are using the latest version of the software. An error such as \"Not a valid image file (95)\" typically means you created the image with a newer version, but trying to restore with a version that is too old. Additionally, some older versions may report the image is corrupt when trying to open a newer image.<\/p>\r\n<p>Next, determine if the memory (or mainboard or CPU) is at fault. Run either the <strong>Microsoft Windows Memory Diagnostic Tool<\/strong> or <strong>memtest86+<\/strong>.\u00a0\u00a0We find\u00a0memtest86+\u00a0to be more thorough. Note that a memory tester may not catch all memory problems.<\/p>\r\n<ul>\r\n\t<li><strong>memtest86+<\/strong><br \/>\r\n<ul>\r\n\t<li><a title=\"memtest86\" href=\"http:\/\/www.memtest.org\/\" target=\"_blank\" rel=\"noopener\">Download memtest86+<\/a><\/li>\r\n\t<li>Run all seven of the default tests and allow it to run overnight.<br \/>\r\n<br \/>\r\n<\/li>\r\n<\/ul>\r\n<\/li>\r\n\t<li><strong>Microsoft Windows Memory Diagnostic Tool<\/strong> (Windows Vista, Windows 7\/8.x\/10\/11) <br \/>\r\n<ol>\r\n\t<li>Open the <em>Control Panel<\/em>. Alternatively, click the Start button and search for <span style=\"color: #008800; font-family: Courier New, Courier, monospace;\"><strong>Windows Memory Diagnostic<\/strong><\/span>, run it and skip to step 4.<\/li>\r\n\t<li>In the <em>Search<\/em> box, type in: <span style=\"color: #008800; font-family: Courier New, Courier, monospace;\"><strong>memory<\/strong><\/span><\/li>\r\n\t<li>Click the <strong>Diagnose your computer's memory problems<\/strong> link.<\/li>\r\n\t<li>Click the <strong>Restart now and check for problems<\/strong> option.<\/li>\r\n\t<li>Run the extended tests overnight.<\/li>\r\n\t<li>For more details, please refer to <a href=\"http:\/\/windows.microsoft.com\/en-US\/windows7\/Diagnosing-memory-problems-on-your-computer\" target=\"_blank\" rel=\"noopener\">this Microsoft article<\/a>.<br \/>\r\n<br \/>\r\n<\/li>\r\n<\/ol>\r\n<\/li>\r\n\t<li><strong>Microsoft Windows Memory Diagnostic Tool<\/strong> (Windows XP or earlier)<br \/>\r\n<ul>\r\n\t<li><a href=\"https:\/\/technet.microsoft.com\/en-us\/magazine\/2008.09.utilityspotlight.aspx\" target=\"_blank\" rel=\"noopener\">Download the Microsoft Windows Diagnostic Tool<\/a><\/li>\r\n<\/ul>\r\n<\/li>\r\n<\/ul>\r\n<p>If the memory diagnostics reports an error, replace the memory and repeat the memory test.\u00a0 If you also get failures with new memory, and have\u00a0ensured that the memory brand and type being used is compatible for the system, then\u00a0there could be a problem with the CPU or mainboard.<\/p>\r\n<p>If the memory diagnostic does not report any errors, check the following:<\/p>\r\n<ul>\r\n\t<li>Run <strong>chkdsk \/f<\/strong> on both the source drive and the drive holding the backup image. <strong><span style=\"color: #ff0000;\">Important:<\/span><\/strong> Only run <strong>chkdsk<\/strong> if the memory diagnostic did not report any errors. Running <strong>chkdsk<\/strong> on a system with bad memory can result in data corruption.<br \/>\r\n<br \/>\r\nStart a Command Prompt and then run <strong>chkdsk\u00a0x: \/f<\/strong>\u00a0where<strong> x<\/strong>: is the drive to check. <br \/>\r\nFor example: <span style=\"color: #008800; font-family: Courier New, Courier, monospace;\"><strong>chkdsk c: \/f<br \/>\r\n<\/strong><\/span><br \/>\r\n<strong>Note:<\/strong> If running Windows Vista or Windows 7\/8.x\/10\/11, you must run <strong>chkdsk<\/strong> from an Administrator Command Prompt.<br \/>\r\n<br \/>\r\n<\/li>\r\n\t<li>If the problem is occurring when saving images to an optical drive, try burning at a slower speed and\/or updating the drive's firmware, if possible.\u00a0 Also, please refer to the article <a href=\"https:\/\/www.terabyteunlimited.com\/kb\/?p=087\" target=\"_blank\" rel=\"noopener\"><strong>Message \"Unable to read from file\" when Performing Image Validation or Restore<\/strong><\/a>, if applicable.<br \/>\r\n<br \/>\r\n<\/li>\r\n\t<li>If you are using RAID, run a RAID consistency check or verify and fix (typically included in the RAID utility software).<br \/>\r\n<br \/>\r\n<\/li>\r\n\t<li>If you are overclocking, revert your settings to the defaults and determine if the problem goes away.<br \/>\r\n<br \/>\r\n<\/li>\r\n\t<li>Switch to\u00a0higher quality\u00a0internal\u00a0and\/or external cables.\u00a0\u00a0\u00a0<br \/>\r\n<br \/>\r\n<\/li>\r\n\t<li>Try a different port (internal or external) directly on the motherboard (not on the front of the case).<br \/>\r\n<br \/>\r\n<\/li>\r\n\t<li>Try\u00a0different internal and\/or external devices.<br \/>\r\n<br \/>\r\n<\/li>\r\n\t<li>If you have an IDE (PATA) drive that is set to master (and\/or is the only device on the IDE cable) ensure that it is connected to the <em>end<\/em> of the IDE cable.\u00a0 Also, PATA cables should be 80 conductor type and no more than 18 inches.<br \/>\r\n<br \/>\r\n<\/li>\r\n\t<li>If you are using a USB drive, please see the following KB article:<br \/>\r\n<strong><a href=\"https:\/\/www.terabyteunlimited.com\/kb\/?p=407\" target=\"_blank\" rel=\"noopener\">Troubleshooting USB Drive Connection and Performance Issues<\/a><\/strong><br \/>\r\n<br \/>\r\n<\/li>\r\n\t<li>Ensure that your system, including any applicable drives, are not running at temperatures that exceed the manufacturer specifications. If any temperatures are high, additional case fans may be needed.<br \/>\r\n<br \/>\r\n<\/li>\r\n\t<li>For Image for Windows, ensure the\u00a0drivers for the storage\u00a0controllers and devices being used are up to date.\u00a0 Consider reinstalling the drivers even if the latest drivers are being used.<br \/>\r\n<br \/>\r\n<\/li>\r\n\t<li>Try a thorough surface test with a utility provided by the drive manufacturer, with <a href=\"http:\/\/www.spinrite.com\/\" target=\"_blank\" rel=\"noopener\">SpinRite<\/a>, or with a similar utility.<br \/>\r\n<br \/>\r\n<\/li>\r\n\t<li>Disable\u00a0third party defragment utilities.\u00a0\u00a0 There are some third party defragment utilities\u00a0that corrupt files larger than 2GiB on FAT32 partitions.\u00a0 Defragment utilities can also cause corruption if the system RAM\u00a0is bad.\u00a0 The files are no good once they are corrupted by\u00a0a defragment utility.\u00a0 <br \/>\r\n<br \/>\r\n<\/li>\r\n\t<li>If using Image for DOS:<br \/>\r\n<br \/>\r\n<ul>\r\n\t<li>Attempt using the BIOS (direct) option instead of the BIOS option.\u00a0 The BIOS (direct) option reverts to the BIOS option if it can't directly access the drive so BIOS issues may still apply.<br \/>\r\n<br \/>\r\n<\/li>\r\n\t<li>If you are using a non-standard, third-party system BIOS or device firmware, switch to the latest final version of the manufacturer-supported BIOS or firmware, reset all BIOS settings to the defaults (referred to as a \"clearing the CMOS\" procedure by some mainboard manufacturers) and determine if the problem goes away.<br \/>\r\n<br \/>\r\n<\/li>\r\n\t<li>If you have recently flashed to a different version of your system BIOS <em>or<\/em> the firmware of the controller to which your drive is connected (even if the version used is a manufacturer-supported version), try reverting to the BIOS or firmware version you were using before (or to the latest version) and determine if the problem goes away.<br \/>\r\n<br \/>\r\n<\/li>\r\n\t<li>\r\n<p>If you still have not narrowed down the problem, try adjusting the system BIOS parameters below, for the drive(s) with which you are experiencing the problem. These settings, if available, are typically found under \"Integrated Peripherals\" or in the \"Drive Configuration\" section.<\/p>\r\n<ul>\r\n\t<li>Disable \"Block mode\"<\/li>\r\n\t<li>Disable \"32-bit access\"<\/li>\r\n\t<li>Switch to a different PIO mode<\/li>\r\n\t<li>Switch to a lower UDMA mode, if using UDMA<\/li>\r\n<\/ul>\r\n<\/li>\r\n<\/ul>\r\n<\/li>\r\n<\/ul>\r\n<p>If none of the above helps, you still may want to consider changing out the memory or even\u00a0the\u00a0CPU\u00a0and motherboard.\u00a0\u00a0\u00a0<\/p>","protected":false},"excerpt":{"rendered":"<p>Image for Windows\/DOS\/Linux\u00a0include the ability to reliably and accurately detect corruption of data from the source to the target and of the backup file itself (see\u00a0Validation article).\u00a0\u00a0Detecting corruption indicates that the software is working correctly and that something is not working properly on the system.\u00a0 If this high level of detection wasn&#8217;t built in to [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"lsvr_kba_cat":[1805],"lsvr_kba_tag":[],"class_list":["post-151","lsvr_kba","type-lsvr_kba","status-publish","hentry","lsvr_kba_cat-shared-issues"],"_links":{"self":[{"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/lsvr_kba\/151","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/lsvr_kba"}],"about":[{"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/types\/lsvr_kba"}],"author":[{"embeddable":true,"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/comments?post=151"}],"version-history":[{"count":3,"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/lsvr_kba\/151\/revisions"}],"predecessor-version":[{"id":7321,"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/lsvr_kba\/151\/revisions\/7321"}],"wp:attachment":[{"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/media?parent=151"}],"wp:term":[{"taxonomy":"lsvr_kba_cat","embeddable":true,"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/lsvr_kba_cat?post=151"},{"taxonomy":"lsvr_kba_tag","embeddable":true,"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/lsvr_kba_tag?post=151"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}