ScanDisk Runs After Improper Shutdown or Hard Disk ErrorID: Q152404
|
You may receive one of the following error messages when Windows starts:
These error messages can occur if your computer was not shut down properly or when an error occurs on a hard disk.
To resolve these errors, press any key to allow ScanDisk to perform the
necessary checks on all drives, and then choose to repair any errors found.
NOTE: To properly shut down Windows, click the Start button, click Shut
Down, and then click Shut Down The Computer. You should not turn off the
computer while Windows is running unless the computer has stopped
responding to mouse and keyboard input.
OSR2 includes versions of the Io.sys and Win.com files that check the
Clean Shutdown and Hard Disk Error bits in the Virtual File Allocation
Table (VFAT) during startup. If either of these bits is turned on (that
is, cleared to 0) on any drive present in real mode, you are prompted to
run ScanDisk. If you do not press a key within 60 seconds, ScanDisk
runs anyway.
The Clean Shutdown and Hard Disk Error bits are the two low-order bits of
the FAT entry for cluster 1. If bit 0 is 0, it indicates an unclean
shutdown; if bit 1 is 0, it indicates that a hard disk error occurred on
that drive. These bits are turned on by VFAT; they are turned off only by
ScanDisk. The Clean Shutdown bit is turned off upon completion of a
standard run. The Hard Disk Error bit is turned off upon completion of a
surface scan (regardless of whether errors were repaired).
If either of these bits is on for a real-mode drive, Win.com displays the
appropriate error message. Pressing any key starts the following command:
SCANDISK.EXE /CUSTOM x: [[y:] ...]
SCANDISK.EXE could not be found. You may have problems on your disks(s) that require repairing. Press any key to continue starting Windows...
There was an error running SCANDISK.EXE, or it was canceled. You may still have errors on your disk(s). Press any key to continue starting Windows...
Additional query words: 95
Keywords : kberrmsg kbtool osr2 diskmem win95 win98
Version : 95
Platform : WINDOWS
Issue type : kbprb
Last Reviewed: January 28, 1999