Storage forum

General discussion

Question on how Chkdsk repairs harddrive

by yongtw123 / September 13, 2007 2:20 AM PDT

Recently because of serious system instability, I ran chkdsk to see if the problem was related to bad clusters. Of course Chkdsk found a string of errors, reporting things such as "deleting corrupt attribute record...", "deleting index entry...", and so on. After a long wait, the system rebooted, but I found my system even more unstable. Later I found out through the Event Viewer that Chkdsk did 'something' to numerous files in attempt to repair them. Among those were Windows core system dll's. When I tried to look for those files, they did not exist anywhere on the hard drive.

I am afraid that maybe Chkdsk didn't do a good job repairing the flies. Perhaps what Chkdsk did was just overwriting the bad sectors? I thought at least Chkdsk could move the file segments on that specific sector to another healthy sector to maintain file integrity. I dare not to use Chkdsk again in the future, lest it should delete files by accident, rendering software, personal data, or even Windows useless.

My question is: should I expect Chkdsk to repair the hard drive while also maintaining data integrity? Or is there any other way to do exactly the tasks mentioned above?

Discussion is locked
You are posting a reply to: Question on how Chkdsk repairs harddrive
The posting of advertisements, profanity, or personal attacks is prohibited. Please refer to our CNET Forums policies for details. All submitted content is subject to our Terms of Use.
Track this discussion and email me when there are updates

If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem. Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended.

You are reporting the following post: Question on how Chkdsk repairs harddrive
This post has been flagged and will be reviewed by our staff. Thank you for helping us maintain CNET's great community.
Sorry, there was a problem flagging this post. Please try again now or at a later time.
If you believe this post is offensive or violates the CNET Forums' Usage policies, you can report it below (this will not automatically remove the post). Once reported, our moderators will be notified and the post will be reviewed.
Collapse -
Nothing more than directory checks, etc.
by R. Proffitt Forum moderator / September 13, 2007 4:22 AM PDT

I'm going to decline writing what CHKDSK does and note it won't repair damaged files or a damages OS. For that the tools vary with the OS. Sometimes it's SFC /SCANNOW and for other OSes it's something else.

With all the malware out there, CHKDSK is only a minor tool in the kit.

Bob

Collapse -
CHKDSK
by squeeze / September 14, 2007 4:42 PM PDT

Did you run just chkdsk, or did you use chkdsk /f/r? Chkdsk by itself will only check the disk, with /f or /r, or both will move the info to good sectors. Depending on the size of disk it may take awhile. Also it may only happen on a reboot cause it needs exclusive rights to the drive. SFC command will take you to original values, you will need to go to Microsoft update after the sfc was run. Hope this helps.

Collapse -
clarifications
by yongtw123 / September 15, 2007 2:08 AM PDT
In reply to: CHKDSK

Well, I manually made CHKDSK to run at bootup so that it can have so-called "exclusive access" to the harddrive.

My OS was not damaged before I ran CHKDSK; it was just unstable (which I later found out to be nTune's fault). But AFTER I ran CHKDSK, some core system files were gone, such as msxml3r.dll, etc. And these files were all reported as "located in bad sector and was repaired" in CHKDSK's log. Even SFC /scannow did not totally recover them. I had to copy the dll's from my original XP cd.

What I want to know is whether it's normal to lose data while disk utilities, such as CHKDSK, are doing their job?

Collapse -
Sadly normal.
by R. Proffitt Forum moderator / September 15, 2007 2:18 AM PDT
In reply to: clarifications

It's all about backup. But let's tackle MSXML3 since last week I ran into that and it was annoying that REGSVR32 MSXML3.DLL fails but if you download MSXML3.MSI and install that then all is well. Go figure why.

Here's the MSXML3.MSI I used to correct this one.

Bob

Collapse -
sigh
by yongtw123 / September 16, 2007 12:26 AM PDT
In reply to: Sadly normal.

Well then I guess it's prime time for me to make a backup of my drive. It seems that I can't totally rely on CHKDSK. Hopefully the bad sectors won't spread any faster.

Thanks.

Collapse -
Try System File Checker
by tigger_nospam / September 15, 2007 3:49 AM PDT
In reply to: clarifications

It might be worth trying 'system file checker'. You will need your XP CD handy (or if on your harddrive as a partition it will find any files itself)

Click Start > Run > type CMD press ok. This will bring up a Command Prompt

Type in: SFC /scannow (make sure you have a space after SFC)

Hopefully this should repair or replace any corrupt or missing system files.

Tigger

Collapse -
re: chkdsk
by royc / September 16, 2007 3:22 AM PDT

CHKDSK is a little boy sent out to do a big man's job.

There are several utilities that 'claim' to do this job, but only 1 that I know really does the job.
SPINRITE from Steve Gibson http://www.grc.com

Collapse -
Re: chkdsk
by mwooge / September 18, 2007 12:05 AM PDT
In reply to: re: chkdsk

> CHKDSK is a little boy sent out to do a big man's job.

Actually, it's an old man. It's been around since the boot-from-floppy days.

Someone mentioned the need to do a backup. I do this twice a year (should do it more often) and my irreplaceable files, such as the pictures I've taken, are additionaly backed up onto a dvd and far away in my brother's safe.

Collapse -
re: chkdsk
by royc / September 19, 2007 5:35 AM PDT
In reply to: Re: chkdsk

Yes, It's old but it's been updated for NTFS.

And backups are nice but they can be nothing if you get bad copies.

I've had this happen with floppies, tapes, cds and dvds.

I make 2 or 3 copies of data files and have not lost data. (YET!!!) But I have had to use all 3 copies to recover data, some files.

Collapse -
Chkdsk
by kre8ive / September 19, 2007 9:28 AM PDT

well lets start off with the basics. the hard drive is a thin mettallic layer of magnetic material. this magnetic material is divided into clusters, pipes, sectors and all that fun jazz. what chkdsk is checking for is imperfections in this magnetic layer, namely the clusters. when chkdsk finds these errors on the platter (the term for the hard drive) it will attempt to fix these. it will not go through your files and fix them.

Collapse -
re: chkdsk
by royc / September 19, 2007 11:55 AM PDT
In reply to: Chkdsk

'this magnetic material is divided into clusters, pipes, sectors'

Pipes??? I don't think so!

'what chkdsk is checking for is imperfections in this magnetic layer'

Again I don't think so.

One thing it is looking for is "lost clusters", clusters that are marked as in use but they are not.

Another thing it is looking at is the "indexes".

I could go on but I won't.

Popular Forums
icon
Computer Newbies 10,686 discussions
icon
Computer Help 54,365 discussions
icon
Laptops 21,181 discussions
icon
Networking & Wireless 16,313 discussions
icon
Phones 17,137 discussions
icon
Security 31,287 discussions
icon
TVs & Home Theaters 22,101 discussions
icon
Windows 7 8,164 discussions
icon
Windows 10 2,657 discussions

CNET FORUMS TOP DISCUSSION

Help, my PC with Windows 10 won't shut down properly

Since upgrading to Windows 10 my computer won't shut down properly. I use the menu button shutdown and the screen goes blank, but the system does not fully shut down. The only way to get it to shut down is to hold the physical power button down till it shuts down. Any suggestions?