by   May 18 2011   
Chkdsk /f Runs on Startup XP Vista every time. I have had a work station that has run Chkdsk every time since I replaced the drive. The reason I replaced the drive was because XP was finding drive errors or what we call sector errors and was not able to repair them.

Chkdsk /f Runs on Startup XP Vista every time.

If you are one that suffers the Chkdsk at every startup of your computer you're not alone.

I have had a work station that has run Chkdsk every time since I replaced the drive.
The reason I replaced the drive was because XP was finding drive errors or what we call sector errors and was not able to repair them.

I thought the drive was failing so I replaced it and created an image of the old drive to the new one.

It copied everything perfect then it all started.
Every time I boot the computer it starts check disk ( chkdsk )

This has to end.
So I checked technet and a few other sources and found allot about things that just didn't match what my machine was doing.

So here's what I did.

I looked at the registry entry for the autocheck on startup that normally has a simple autochk in it.
If the autochk finds the drive to be dirty then it will modify the entry to check the disk at the next start up.

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager
BootExecute
autocheck autochk

After the cloning or imaging of the failing drive it passed over the same registry entry.
The problem was that it didn't change after the chkdsk /f was completed.

I found the autocheck autochk /k:C in the registry.
I removed the /k:C from the line leaving only the autocheck autochk
Rebooted the machine and it scanned the disk for the last time on the new drive.

It appeared that during the clone something didn't tell the system to stop checking and so XP ran chkdsk on every boot.

I didn't want to run a chkdsk /x c: because that will disable the chkdsk function. I just wanted a way to reset the chkdsk function because the new drive just wasn't going bad it was the cloning process that copied over everything even the old error reports and chkdsk settings.

All is back to normal and running smoothly on the machine.
If all of your attempts to stop the chkdsk on boot have failed try the method I wrote before you disable the chkdsk on your system.
It will save you from a failing drive but disabled you'll need to install a third party application.
Resources used: http://support.microsoft.com/kb/160963

 

 

Chkdsk /f Runs on Startup XP Vista every time. I have had a work station that has run Chkdsk every time since I replaced the drive. The reason I replaced the drive was because XP was finding drive errors or what we call sector errors and was not able to repair them.