If you see the “DiskPart has encountered an error: Data error (cyclic redundancy check). See the System Event Log for more information.” error, follow the below steps to fix it.
Diskpart is the built-in command-line tool to manage disks, partitions, and volumes in Windows. While using the diskpart command tool to clean, create, or extend partitions, one of the most common errors is the “Data error (cyclic redundancy check).” Though the error is cryptic, it is pretty simple to fix. This guide shows you how.
What is ‘Data error (cyclic redundancy check)’ in Diskpart?
The “Data error (cyclic redundancy check)” error in Diskpart typically occurs when there is an issue with the data integrity on the disk. It indicates that the data being read from or written to the disk does not match the expected values. It can happen due to various reasons such as disk corruption, bad sectors, or hardware issues. Whatever the reason, follow the steps below to fix it.
Fix Diskpart Data Error (cyclic redundancy check)
When you encounter the ‘data error (cyclic redundancy check)’ issue when using diskpart, follow the below suggestions:
- Run Chkdsk on the disk/partition with the error
- Format the hard drive
- Rescan the disk using diskpart
- Test the disk on another computer
- Replace the disk causing the error
1. Run Chkdsk on the disk/partition with the error
Since the ‘cyclic redundancy check data error is caused due to data integrity problems, running the chkdsk command on the disk causing the error will fix the problem. Here’s how to do it.
Step 1: Open Windows Terminal as an administrator.
First, right-click on the start icon on the taskbar and select the “Terminal (Admin)” option. You can also search for Terminal in the Start menu and select the “Run as administrator” option. It will open the Terminal application with administrator rights.
Step 2: Open the Command Prompt tab in the Terminal window.
After opening the Terminal window, click on the down arrow icon on the title bar of the terminal window and select the “Command Prompt” option. It will open the Command Prompt tab in the terminal window.
Step 3: Run the “chkdsk DriveLetter: /f /r” command in the Command Prompt tab.
Type the “chkdsk DriveLetter: /f /r” command while replacing “DriveLetter” with the actual drive letter of the disk and press “Enter.” For example, if the error is in D drive, you should type “chkdsk D: /f /r” in the Command Prompt tab.
Step 4: Restart the computer.
After the chkdsk command is executed and runs successfully, close the Terminal window and restart the computer.
2. Rescan the disk using diskpart
After running the chkdsk command, rescan the disk using the diskpart command.
- Right-click the Start icon on the taskbar.
- Select the “Terminal (Admin)” option.
- Type ‘diskpart‘ and press Enter.
- Type ‘rescan‘ and press Enter.
- Close the Terminal window after running the rescan command.
- Restart the computer.
3. Format the hard drive
You can easily fix the diskpart data cyclic redundancy check error by formatting the disk.
Important note: Formatting the disk will delete all the data on the disk. So, backup data before formatting the disk.
- Right-click on the Start icon on the taskbar.
- Select the “Disk management” option.
- Right-click on the disk/partition causing the error.
- Select the “Format” option.
- Let the default options be as is.
- Uncheck the “Perform a quick format” checkbox.
- Click/tap the “Ok” button.
- Close the Disk management application.
- Reboot your computer.
4. Test the disk on another computer
If it’s an external hard disk or USB drive, test it on another computer and run the diskpart command and see if the error persists. If the error occurs on multiple systems, it suggests a problem with the disk itself.
5. Replace the disk causing the error
If the error occurs even after following the troubleshooting steps and testing the disk on another computer, the disk might be physically damaged. In that case, you should stop using the disk and replace it with a new one. If you keep using the damaged disk to store files, it can cause irrecoverable data loss.
That is it. It is that easy to fix the diskpart data error (cyclic redundancy check) problem.
Related diskpart how-to guides:
- How to extend partition with diskpart
- How to delete partitions with diskpart
- How to format a write-protected USB drive
- How to check if a USB drive is bootable
- PowerShell command to remove a partition
- How to change drive letter
I hope this simple and easy Windows guide helped you.
If you are stuck or need help, send an email, and I will try to help as much as possible.