"Checksum error" is one of the least helpful messages a computer can show. It can appear on a black screen before Windows loads, in a download manager, while you unzip a file, when you open a folder on an external drive, or in a network tool. The words are the same, but the cause and the fix are completely different in each place.
This guide explains what a checksum error actually means, then works through each place you are likely to see one, with the fix for each. To show what the errors look like, we damaged files on purpose and recorded the real output. You will also see why some checksums only catch accidents, not tampering.
What is a checksum error?
A checksum error means data changed after it was checked. A checksum is a short value calculated from a block of data, such as a file, a disk sector or a network frame. The sender, or the program that saved the data, calculates it and stores it alongside the data. Later, the receiver recalculates it from the data it actually has. If the two values match, the data is very likely intact. If they differ, you get a checksum error.
Wireshark's documentation puts the purpose plainly: checksums ensure the integrity of data (opens in a new tab) for transmission or storage, because errors such as flipped, missing or duplicated bits can make received data differ from what was sent. The check does not say what changed or why. It only says that the data is no longer what it was.
What is a CRC error?
A CRC error is a checksum error produced by a cyclic redundancy check, one of the most common ways of calculating a check value. The IEEE describes a CRC as a short, fixed-length value computed from a block of data (opens in a new tab) and attached before the data is sent or stored, so the receiver can recalculate it and spot corruption. CRCs are built on polynomial arithmetic, which makes them very good at catching the burst errors that real cables and disks produce.
You will meet CRCs in more places than you might expect. The IEEE lists Ethernet and Wi-Fi frames, sectors on hard drives, SSDs and optical discs, the CAN bus in cars and machines, and ZIP, gzip and PNG files, which use CRC-32. Cyclic redundancy checking itself dates back to 1961, when, according to IONOS (opens in a new tab), mathematician William Wesley Peterson developed it to reduce errors in transmitting and storing data. So "CRC failed", "bad CRC" and "Data error (cyclic redundancy check)" are all checksum errors under a more specific name.
Where do checksum errors appear?
Find the place you saw the message, then jump to that section.
| Where you see it | Typical message | What it usually means | First fix |
|---|---|---|---|
| At startup, before Windows or Linux loads | CMOS checksum error - defaults loaded; CMOS checksum bad | BIOS settings were lost or corrupted, often a weak coin-cell battery | Load BIOS defaults, set the time, save; replace the battery if it returns |
| After downloading a file | Checksum mismatch; hash does not match; FAILED | The download is incomplete or corrupted, or not the file the publisher released | Download it again from the official source and recheck |
| Opening or extracting a ZIP or RAR file | CRC failed; bad CRC; checksum error in file | One or more files in the archive are damaged | Re-download the archive; extract the files that pass |
| Copying or opening files on a drive | Data error (cyclic redundancy check) | The drive could not read data back correctly: bad sectors, a loose cable or a failing drive | Back up what you can, then check the drive |
| Network switch, router or packet capture | CRC errors, input errors, FCS errors; checksum incorrect | Frames are being damaged on a link, or the capture tool is misreading offloaded packets | Swap the cable and port; check offloading before you trust the capture |
CMOS checksum error at startup: what it means and how to fix it
Your PC keeps its firmware settings, such as boot order, date and time and fan settings, in a small memory area traditionally called CMOS. On many PCs a coin-cell battery on the motherboard keeps those settings alive while the PC is unplugged. At every start, the firmware checks the stored settings against a checksum. If they do not match, it reports a CMOS checksum error and loads safe default settings so the PC can still start.
Dell says its desktop CMOS battery is a 3V CR2032 coin cell that usually lasts around 2 to 3 years (opens in a new tab), depending on use and environment. The most common signs that it is failing are a wrong or slow clock in the BIOS, settings that are lost when the computer is powered off, and prompts to set the date and time at startup. A CMOS checksum error that comes back every time the PC has been unplugged points to the same cause.
How to fix a CMOS checksum error
- Restart once. A single error after a power cut or a forced shutdown can be a one-off. If the PC starts normally next time, you are done.
- Load the defaults and save. Enter the BIOS setup (often F2 or Delete), choose the option to load defaults, set the correct date and time, then save and exit. Dell's guide to resetting the BIOS (opens in a new tab) lists Load Defaults or Restore Settings, with F9 or Alt+F on some models, followed by Save and Exit.
- If it started after a BIOS update, load the factory defaults. Intel's support article on a CMOS checksum error after a BIOS update (opens in a new tab) gives exactly that fix: enter BIOS Setup and press F9.
- If it returns after the PC has been unplugged, replace the coin-cell battery. Shut down, unplug the power cable, ground yourself, and use a plastic tool rather than metal to release the old cell. Fit a new battery of the same type, usually a CR2032; Dell says not to reuse a used one. Then set the date, time and any custom settings again, because removing the battery erases them.
- If the message names the firmware itself, such as "BIOS ROM checksum error" or a "BIOS corrupted" screen, the firmware image is damaged rather than the settings. Dell recommends its BIOS Recovery feature in that case. Other makers have their own recovery methods, so look up your exact model before you try anything.
Checksum mismatch after a download
Many software publishers list a checksum, usually a SHA-256 hash, next to each download. You calculate the hash of the file you received and compare. If they differ, the file is not the one the publisher released: the download was cut short, damaged on the way or by your storage, or, in the worst case, swapped for something else.
How to check a file's checksum
# Windows (PowerShell). SHA-256 is the default.
Get-FileHash .\ubuntu.iso
# macOS
shasum -a 256 ubuntu.iso
# Linux: check every file listed in a SHA256SUMS file
sha256sum -c SHA256SUMSOn Windows, Microsoft's Get-FileHash documentation (opens in a new tab) confirms it uses SHA-256 unless you pick another algorithm with -Algorithm, and it also offers SHA-1, SHA-384, SHA-512 and MD5. Upper or lower case does not matter when you compare: we tested a hash pasted in capitals against sha256sum -c and it still matched.
What a failed check looks like
We made a 1 MB test file, recorded its SHA-256 in a SHA256SUMS file, then damaged it two ways: once by flipping a single bit, the smallest possible change, and once by cutting it short, like an interrupted download. Both failures look identical:
$ sha256sum -c SHA256SUMS
report.pdf: OK
# after flipping one bit, or truncating the file
$ sha256sum -c SHA256SUMS
report.pdf: FAILED
sha256sum: WARNING: 1 computed checksum did NOT matchThe fix is to download the file again, preferably from the publisher's own site rather than a mirror you found elsewhere, and check it again. If a fresh copy also fails, try another network or browser, and check your drive, because a disk that corrupts data on write can produce the same error.
For anything you will install, such as an operating system image, go one step further. Ubuntu's own guide to verifying a download (opens in a new tab) separates the two jobs: the SHA-256 check confirms the file is intact, while a GPG signature check on the checksum list confirms that list really came from Ubuntu. If an attacker can replace the download, they can often replace a checksum on the same page too.
CRC failed or bad CRC when you extract a ZIP file
ZIP archives store a CRC-32 for every file inside them. When you extract or test the archive, the tool recalculates each one. To see the error for ourselves, we built a ZIP with two files and damaged one byte in the middle of the second:
$ unzip -t photos-damaged.zip
Archive: photos-damaged.zip
testing: photo1.txt OK
testing: good.pdf bad CRC a7e4140b (should be 93b60f22)
At least one error was detected in photos-damaged.zip.Two things stood out. First, the error is per file: the undamaged photo tested fine, so one bad file does not spoil the whole archive. Second, when we went ahead and extracted it, UnZip printed the same bad CRC warning but still wrote the damaged PDF to disk. An extracted file is not automatically a good file, so read the warnings rather than assuming the extraction worked.
- Test before you trust. Use your archive tool's Test option, or
unzip -tas above, to see which files fail. - Download the archive again if it came from the internet. It is the simplest fix, and the right first step.
- Update or switch your archive tool. IONOS suggests updating or reinstalling the program, or trying another, and using WinRAR's Repair archive feature for RAR files.
- Keep what passes. If the source is gone, extract the files that test OK and replace or recreate the damaged ones.
- If archives you create yourself keep failing, suspect the drive or the memory of the PC that made them.
"Data error (cyclic redundancy check)" on a hard drive, SSD or USB drive
This Windows message means the drive returned data that failed its own error check when Windows tried to read it. Storage devices keep check values for every sector, so the cause is usually bad sectors, a loose or failing cable, a worn USB stick or SD card, or a drive that is starting to fail. Unlike the other errors in this guide, this one can mean you are about to lose data.
- Reseat or replace the connection. For an external drive, try another cable and another USB port, ideally directly on the PC rather than through a hub. For a desktop drive, reseat its data and power cables.
- Copy off important files to another drive or cloud storage. Copy the most important folders first.
- Scan without changing anything. Open Command Prompt as administrator and run
chkdsk /scanon an NTFS drive. Microsoft describes this as a scan for problems that makes no changes. - Then repair. Run
chkdsk X: /r, replacing X with the drive letter. In Microsoft's chkdsk reference (opens in a new tab),/rlocates bad sectors and recovers readable information, and includes everything/fdoes. The drive must be locked, so for the Windows drive, chkdsk offers to run at the next restart. - If the errors keep coming back, treat the drive as failing. Microsoft's own advice for persistent errors is to verify that the underlying hardware is working correctly. Check the drive with its maker's diagnostic tool and plan to replace it.
chkdsk /scan
chkdsk E: /rIf you are replacing a failing laptop drive, it may be the moment to weigh up the whole machine; our guide on whether to buy a laptop now covers current prices.
CRC errors and checksum errors on a network
Networks check data at several layers. Every Ethernet frame ends with a CRC in a field called the Frame Check Sequence. Cisco's explanation of CRC errors on switches (opens in a new tab) describes the process: the sender calculates the value and places it in the FCS, the receiver repeats the calculation, and a frame that does not match is treated as corrupted and dropped. Above that, IP, UDP and TCP use the simpler Internet checksum defined in RFC 1071 (opens in a new tab), a one's complement sum of 16-bit words.
Rising CRC errors on a port
Cisco says the most common root cause of CRC errors is "a damaged or malfunctioning component of a physical link" between two devices. Its list includes damaged copper, fiber or direct-attach cables, bad transceivers, faulty patch panel ports, switch port faults, a failing network card and an MTU mismatch. Cisco Meraki's CRC troubleshooting guide (opens in a new tab) adds a speed or duplex mismatch and gives a simple order to work through:
- Confirm the error count is still increasing, not left over from an old fault.
- Move the cable to a different port. If the errors follow the cable, replace the cable, and bypass any patch panel.
- If the errors stay with the original port, test that port with another device and cable.
- Check that speed and duplex settings match on the switch and the device.
- If everything matches and errors continue, try a different device or network card.
"Checksum incorrect" in Wireshark
If you capture traffic on your own computer and Wireshark flags lots of outgoing packets with bad checksums, the network is probably fine. Many network cards calculate checksums themselves, which is called checksum offloading. Wireshark explains that it captures those packets before the hardware fills in the checksum (opens in a new tab), so it sees placeholder values and marks them invalid even though they leave with correct checksums. Recent Wireshark releases turn checksum validation off by default for this reason. Real errors show up on received packets, or in a capture taken from another device on the link.
Why checksums catch accidents but not tampering
Not every checksum protects you against the same things. CRCs and simple sums are designed to catch accidental damage, such as noise on a cable or a weak disk sector, and they do that very well. But they are not secret and not designed to resist someone who changes the data on purpose. To show the difference, we wrote a short Python script that damages a message by accident, then tampers with it deliberately and forces the CRC-32 to match:
import hashlib
import zlib
def crc32(data):
return f"{zlib.crc32(data):08x}"
def sha256(data):
return hashlib.sha256(data).hexdigest()[:16] + "..."
original = b"Pay Alex $100 by Friday."
print("original CRC-32:", crc32(original), " SHA-256:", sha256(original))
# 1. Accidental damage: flip a single bit, as a bad cable or failing disk might.
damaged = bytearray(original)
damaged[4] ^= 0b00000001
print("1 bit off CRC-32:", crc32(damaged), " SHA-256:", sha256(damaged))
# 2. Deliberate tampering: change the text, then append 4 bytes chosen so
# the CRC-32 matches the original. This is easy because CRC is linear.
TABLE = []
for i in range(256):
c = i
for _ in range(8):
c = (c >> 1) ^ 0xEDB88320 if c & 1 else c >> 1
TABLE.append(c)
TOP_BYTE = {TABLE[i] >> 24: i for i in range(256)}
def force_crc32(data, target):
goal = target ^ 0xFFFFFFFF
picks = []
for _ in range(4): # walk back from the target to find the table entries needed
j = TOP_BYTE[goal >> 24]
picks.append(j)
goal = ((goal ^ TABLE[j]) << 8) & 0xFFFFFFFF
reg = zlib.crc32(data) ^ 0xFFFFFFFF
patch = bytearray()
for j in reversed(picks): # then walk forward, choosing bytes that hit them
b = (reg ^ j) & 0xFF
patch.append(b)
reg = (reg >> 8) ^ TABLE[(reg ^ b) & 0xFF]
return data + bytes(patch)
forged = force_crc32(b"Pay Alex $900 by Friday.", zlib.crc32(original))
print("forged CRC-32:", crc32(forged), " SHA-256:", sha256(forged))
print("CRC-32 match:", crc32(forged) == crc32(original),
"| SHA-256 match:", sha256(forged) == sha256(original))original CRC-32: 027ef075 SHA-256: 556eec755ed95b91...
1 bit off CRC-32: 6719cb33 SHA-256: 068b1e35b059aea1...
forged CRC-32: 027ef075 SHA-256: c64ca2d8d3ceee2d...
CRC-32 match: True | SHA-256 match: FalseA single flipped bit changes both values completely, so both catch accidents. But after we changed $100 to $900 and appended four carefully chosen bytes, the forged message had exactly the same CRC-32 as the original. Its SHA-256 did not match. That is why software publishers use SHA-256 rather than CRC-32 for downloads, and why Microsoft's documentation warns that MD5 and SHA-1 are no longer considered secure against attack and should only be used for simple change detection.
For a check that also proves who published a file, you need a digital signature on top of the hash, as in Ubuntu's GPG step above. Tampered downloads are one of the ways attackers get malware onto machines; our guide to AI and cybersecurity covers how those threats are changing.
Checksum vs CRC vs hash: what is the difference?
| Type | Examples | Catches accidental damage | Resists deliberate tampering | Where you see it |
|---|---|---|---|---|
| Simple checksum | Internet checksum (RFC 1071), parity | Some errors | No | IP, TCP and UDP headers |
| CRC | CRC-32, CRC-16 | Yes, very well | No | Ethernet, Wi-Fi, disks, ZIP and PNG files |
| Older hash | MD5, SHA-1 | Yes | No longer | Old download pages, simple change checks |
| Cryptographic hash | SHA-256, SHA-512 | Yes | Yes | Software downloads, package managers |
| Signed hash | SHA256SUMS plus a GPG signature | Yes | Yes, and proves who published it | Operating system images |
How to prevent checksum errors
- Download from the official source and check the published SHA-256 for anything you will install.
- Shut down properly and eject external drives before unplugging them, so writes are not cut off halfway.
- Replace an aging coin-cell battery when the clock starts drifting, before it turns into checksum errors at startup.
- Use decent cables, and replace any network or USB cable that is kinked, crushed or loose in its socket.
- Keep backups, so a drive that starts throwing CRC errors is an inconvenience rather than a loss.
- Watch for repeats. One error after a power cut is usually harmless. The same error again and again points to hardware that needs attention.
The bottom line
A checksum error means data changed between when it was checked and when it was used. At startup, it usually means lost BIOS settings and a tired coin-cell battery. After a download or in a ZIP file, it means a damaged copy, so download it again and check the SHA-256. On a drive, it can mean failing hardware, so back up first and run chkdsk. On a network, look at cables and ports, and do not trust checksum warnings from your own outgoing packets in Wireshark. For more plain-English fixes for your hardware and gadgets, browse our technology guides.



