I recently recovered a client's Windows XP machine, from a registry failure that was causing it to consistantly BSOD, using "Last Known Good Configuration".
While trying to set the machine back up, I was doing some maintanence things to get it back as smooth as possible, cleaning temp files, prefetch, temp internet files, etc.
When I tried to do a Disk Defragment, I get the error message: "A disk check has been scheduled on this drive, run Chkdsk /F" on both the Analyze or the Defragment option.
My problem here is twofold, first, since getting the system back online, I have been unable to get Windows to run the scheduled disk check on boot, and secondly I can't defrag the drive.
I ran chkdsk on another machine, when I was trying to fix the initial registry problems, but this installation of windows still has the drive flagged as "dirty".
Running chkdsk /f on C drive does not work on reboot.
Running chkdsk /f /r on C drive doesn't work on reboot.
Using the GUI interface to schedule a disk check from My Computer, and right clicking on Drive C and using the Error Checking tool doesn't work on reboot.
Using the chkntfs command to clear the settings and then schedule a disk check on drive C doesn't make it work
I tried manually resetting the the BootExecute value in the registry at HKLM\SYSTEM\CurrentControl
Set\Contro
l\Session Manager to the Microsoft default (autocheck autochk *), but this did not fix it.
Giving up on actually checking, since I just did it, I tried to "cancel" the disk check, I used chkntfs /x C: to cancel the check on drive C, but even after reboot, I get the same error in disk defragmenter.
My conclusion is that there is some hidden value in the registry that still says drive C is scheduled to check, but Windows will not execute the check on reboot, it either skips past it as if it was never scheduled, or the screen comes up like a normal scan-at-boot, but it says "Drive C is of type NTFS.... The Volume cannot be opened for direct access. Windows is done checking the disk." and then it boots, and the defragmenter will still say that a disk check is scheduled and won't run.
How do I fix this short of a clean re-install?
Start Free Trial