Monday, March 23, 2009

How To Prevent CHKDSK Errors

A CHKDSK error is when Windows finds a problem with the file system on your hard drive. It automatically tries to repair it using the CHKDSK application. Although CHKDSK can fix such errors, Windows also frequently misdiagnose the cause of the problem, and can actually makes things worse.

Several things can make Windows attempt to repair the hard disk. Among the most common are logical errors in the file system, bad sectors on the hard disk, lost clusters, cross-linked files, and directory errors. Viruses can also cause CHKDSK errors, in particular the notorious Zobot virus. All these things can lead to problems with Internet Explorer, files being corrupted or lost, and make the PC lag or even freeze up.

However, for the average PC user, the most frequent reason Windows launches CHKDSK is if the computer was shut down incorrectly. This can be caused by power blackouts, the computer freezing or crashing, or even if the user simply turns off the PC without shutting Windows down first. Similarly, when any program (such as MS Word or Photoshop) or is aborted instead of being closed out by the user, it can cause data clusters to become lost. If the computer shuts down incorrectly, Windows loads CHKDSK on the next time it is turned on.

Windows does this to scan the hard disk for corrupted sectors or file system errors so it can automatically fix them before the operating system boots up. Unfortunately, this automation can be a problem in cases where running CHKDSK makes things worse.

As long as hard disk errors like lost clusters and bad sectors really are being caused by problems with the file system, CHKDSK works fine. The catch is that such errors are identical symptoms of other, more serious problems with the computer, such as a physically damaged hard drive. In such cases, Windows misdiagnoses the cause of the problem and runs CHKDSK anyway. Not only are these problems that CHKDSK does not and cannot fix, but it can also make the problem worse while trying to apply the wrong solution. Imagine a plumber trying to fix a leak that is actually being caused, not by the pipes, but by a hole in the roof.

In the process of CHKDSK attempting unsuccessfully to correctly rewrite a non-existent file system problem on a physically damaged sector of the hard disk, the data contained in that sector may become fragmented, corrupted, and irreparable. Consequently, files that may have been recoverable are now hopelessly scrambled. If those files are crucial operating system files, the PC can be damaged beyond repair, with the only repair option left being a complete reinstallation of Windows.

In Windows 95 and 98, an older version of CHKDSK (called Scandisk) will search the hard disk for problems and then ask you if you want to repair any errors found. As it is the repair process that can corrupt data on damaged hard drives, simply selecting “no” will avoid any problems. In Windows 2000/XP/Vista, however, CHKDSK will automatically try to repair any errors found without asking you first. To abort CHKDSK, simply press the ESC key within 10 seconds after it starts running. From there, your PC will continue to boot into Windows. This is your chance to backup your important files to a CD or a USB Pen Drive.

1 comment:

  1. Good post! However, I think you've failed to discuss the process of fragmentation which has something to do with chkdsk errors. For those who do not know, fragmentation occurs when files get corrupted and their small bits get stuck in your hard drive. It can also occur after uninstalling the program and there are still some components left that can be compared to tiny "fragments". These pieces are scattered on your hard disk slowing down PC performance. So a good step to prevent chkdsk errors is to defragment your hard drive first to clean out these temporary files then run the chkdsk to optimize overall performance.

    ReplyDelete