Cyclic Redundancy Check Error – File Copy

A cyclic redundancy check or “CRC” error indicates a bad patch on your hard drive. If you get this error while trying to copy a file, the bad spot may be within the file itself.

We need to verify if it’s in the file itself or if it’s on the disk, we then need to try to recover your file and repair your hard drive.

First things first, make sure that the problem is actually with the file you’re copying since it’s equally likely that the problem is with the location you’re copying as well. This is easy. Open a Command Prompt window, and then copy the file to NUL:

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\>CD (to wherever the file is located)

C:\wherever>copy Outlook.pst NUL
1 file(s) copied.

This reads the entire file by copying it no specified location, meaning that it will basically copy the file to a new sector within the same directory. If this succeeds the problem is not actually with the file itself, but the location you were trying to copy it to. If this is the case, copy the file to a different disk entirely, or a different machine on your local network.

If this copy fails, then we’ve confirmed that the bad sector on your hard disk is actually being used by some portion of your file.

Now that we’ve confirmed that the problem is in fact in the file itself, we need to make as best a copy of it as possible, elsewhere. This sets a position of “it can’t get any worse than this”. Some data within the file may be lost, but you’ll have copied as much as possible before the recovery efforts.

Once again, we want to copy the file to some alternative hard disk, or some other machine on your local network. And once again we need to do this within the command prompt:

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\>CD (to wherever the file is located)

C:\wherever>xcopy /c Outlook.pst D:
1 file(s) copied.

Two important things to note here: we’ve used the xcopy (eXtended copy) command, and we’ve added the “/C” switch which keeps copying even if errors are encountered. As you’ve already experienced, the default behavior of both COPY and XCOPY is to stop if an error occurs.

Now that we’ve got a “no worse than” backup copy, we can start attempting to repair the disk.

If you’re willing to spend a few bucks on software, then there’s a very good chance we can simply repair the hard drive.

SpinRite is a hard drive recovery and maintenance program. When you run it it will perform a lengthy and exhaustive analysis of your hard disk without modifying its contents.

If a bad sector can be recovered, such software will recover it. Just keep in mind, not all bad sectors are able to be recovered. The net result is that after running the recovery application on the drive, it will either recover the sectors and you’ll have a good, working hard disk once again, or it won’t – and you’ll know with some confidence that the disk cannot be recovered.

If the software is unable to recover some data on your hard drive, I would first reboot into Windows and, as we did above, make another copy of the file. While all bad sectors on the drive may not have been recovered, it could have repaired some, and those might have been the ones causing the problem with the file you’re trying to access. I would not overwrite our first “no worse than” copy, but I would save this new file, as a kind of “possibly better” copy. And then I’d plan on replacing the drive.

If you’re not up for spending the money, then Window’s own CHKDSK utility is the next best thing. It’s not as thorough, and it doesn’t perform the same deep analysis and recovery as third party software, but it can, recover from some types of hard disk failures.

Once again, in the Comment Prompt:

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\>CHKDSK /R

The “/R” parameter indicates that CHKDSK should check for errors and repair them as best it can.

Important: if this is your system drive (most often C:), this command will not actually run the operation immediately, but will schedule it for the next reboot. You’ll need to reboot to actually make it happen.

After it’s done, try making another copy of the file. If it doesn’t work, then obviously CHKDSK wasn’t able to repair the error you’re experiencing. It does however save that copy as a possibly fixed copy of your file.

Even if CHKDSK does repair the problem, I’m actually torn on how much to continue to trust the hard disk. You could still experience future failures.

At this point, if none of the steps above have repaired the bad sector or otherwise recovered your file, you’re just a little bit snookered.

It’s now time to work with the best-effort file that you saved earlier and, depending on what kind of file it is, try to recover the contents. In your example, an Outlook PST file, that means running scanpst on it, which will scan the contents of the file and attempt to recover what it can. There most likely will be data loss. Sometimes a lot of data loss. That’s why I encourage you to never run utilities like scanpst on your only copy of the file. You always want the original to go back to in case there’s something else in it that you can recover manually.

For other types of files and applications, it’ll depend entirely on the specifics of that application as to how it will deal with a partially corrupt file, and whether or not it can be repaired.

And that brings me to my last point.

If this was your only copy of the file – if you would have suffered significant data loss had this file become corrupt – you haven’t been backing up.

This was a wake-up call. Even if we successfully recovered your file, you should be very scared. Any guesses as to why I keep stressing the backup points? Start backing up your important data. Now. The next time there’s a problem, you may not be as lucky.

Advertisements

4 Responses to “Cyclic Redundancy Check Error – File Copy”

  1. Kenny Blewett Says:

    Hey guys!

    I am proud to announce that our new site is 110% functional!!

    Please pay us a visit at http://blog.lpfsystems.com/

    Look forward to hearing from you all!

    Kenny

  2. shut down virus Says:

    great site 😀 I’m totally looking forward to reading more articles 😀

  3. Pr0ffMl Says:

    Здоровеньки булы Может кто знает ,из чего выбрать Часы один к одному как оригинал , что бы были качественные при этом дешевые , да и какую маорку выбрать. В общем высокое качество и цена хорошая.
    Перекиньте где почитать

    знакомство в новосибирске Часы Patek Philippe Sky Moon в Новосибирске в на точные наручные часы


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: