General discussion
May 13, 2002 at 02:30 PM
shanghai sam

CheckDisk Cheekiness

by shanghai sam . Updated 24 years, 4 months ago

OK, who’s come across this Windows Wackiness?

We start with a fresh install from CDROM (no ghosting involved)of WXP-Pro (corporate edition) on many computers, all with wiped HDDs.

On some computers, after said uneventful installation, running checkdisk (that is, going to My Computer>Local Disk [C: Drive]>Properties>Tools>Error Checking>Check Now>both auto fix and recovery of bad sectors selected>restart to initiate checkdisk) results in a routine run of checkdisk followed by the machine hanging up after the checkdisk reports itself as done. [Normally, the check disk operation would complete and the machine would restart itself and boot up like it is supposed to.]

The hanging situation can be “cured” by doing a hardware reset or power cycle, then pressing F8 to get the startup options, and then choosing Last Known Good.

After getting these systems to start using Last Known Good, an examination of the registry reveals the following: Navigate to HKey Local Machine>System key and you will find several keys called CurrentControlSet, ControlSet001, 002, etc. Under these keys, navigate to the Control>Session Manager> key and note the values for BootExecute.

Typically, for all but one of the ControlSet keys, the value for BootExecute will be “autocheck autochk *”. For one of the ControlSets, the value will have an extra line, in this case Line 1 below, and look like this:
[Line 1] autocheck autochk /r\??\c:
[Line2] autocheck autochk *

If you manually edit outthe contents of Line 1, the machine will restart normally. But, as long as Line 1 remains in the registry, the macine will hang on boot up.

We have yet to put our finger on why this is happening. There is no detectable correlation between this problem and, say, mass storage controllers, and this has happened on machines with Intel and SiS chipsets.

-Dan Sarandrea
MCSE

This discussion is locked

All Comments