2562.html
来自「以电子书的形式收集了VB一些常见问题解决方法,可以很方便的查找自己需要解决的问题」· HTML 代码 · 共 169 行
HTML
169 行
<HTML>
<HEAD>
<TITLE> ScanDisk Runs After Improper Shutdown or Hard Disk Error </TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000" LEFTMARGIN="0" TOPMARGIN="0">
<FONT FACE="Verdana, Arial, Helvetica" SIZE="2">
<!--DOCBODY_START-->
<TABLE width=602 CELLPADDING=5 CELLSPACING=5 BORDER=0>
<!--DOCTITLE_START-->
<TR>
<TD width=602 align="left">
<H1>Microsoft Knowledge Base</H1>
</TD>
</TR>
<TR>
<TD height=30 width=602 align=left>
<H2>ScanDisk Runs After Improper Shutdown or Hard Disk Error</H2>
</TD>
</tr>
<tr>
<TD WIDTH="125" ALIGN="left">
<A STYLE="Small">
Last reviewed: April 15, 1997
<BR>
Article ID: Q152404</A>
</TD>
</TR>
<!--DOCTITLE_END-->
<tr>
<td width=602 COLSPAN=2>
<FONT FACE="Verdana, Arial, Helvetica" SIZE=2>
The information in this article applies to:
<UL><LI>Microsoft Windows 95
<LI>Microsoft Windows 95 OEM Service Release 2
</UL>
<P>
<P><h2>SYMPTOMS</h2>
<P>
You may receive one of the following error messages when Windows 95 OEM
Service Release 2 (OSR2) starts:
<UL><LI>Windows was not properly shut down. One or more of your disk drives may
have errors on it. Press any key to run ScanDisk on these drives...
<LI>One or more of your disk drives may have developed bad sectors. Press
any key to run ScanDisk with surface analysis on these drives...
<P>
</UL><h2>CAUSE</h2>
<P>
These error messages can occur if your computer was not shut down properly
or when an error occurs on a hard disk.
<P>
<P><h2>RESOLUTION</h2>
<P>
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.
<P>
NOTE: To properly shut down Windows 95, click the Start button, click Shut
Down, and then click Shut Down The Computer. You should not turn off the
computer while Windows 95 is running unless the computer has stopped
responding to mouse and keyboard input.
<P>
<P><h2>MORE INFORMATION</h2>
<P>
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.
<P>
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).
<P>
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:
<P>
<PRE> SCANDISK.EXE /CUSTOM x: [[y:] ...]
</PRE>If the Hard Disk Error bit is on for any drive, the /SURFACE switch is
included in the command. Note that if the Clean Shutdown bits are off, but
one or more Hard Disk Error bits is on, you receive a different error
message about why ScanDisk is being started.
<P>
If ScanDisk does not find any errors, or if you choose to fix all errors,
ScanDisk should finish and Windows 95 should continue loading. Note that
the default behavior of the /CUSTOM switch is that ScanDisk displays a
summary screen if any errors are found, but if not, ScanDisk quits
silently.
<P>
If Scandisk.exe is not found, Win.com displays the following error message:
<P>
<PRE> SCANDISK.EXE could not be found. You may have problems on your disks(s)
that require repairing. Press any key to continue starting Windows...
</PRE>If you quit ScanDisk early, leaving errors on the disk, or if ScanDisk is
unable to finish, Win.com displays the following error message:
<P>
<PRE> 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...
</PRE>NOTE: If ScanDisk does not reach the point where it turns the Clean Shut-
down and Hard Disk Error bits off, ScanDisk runs again the next time your
computer starts.
<P>
<P><h3>Autoscan Settings in Msdos.sys File</h3>
<P>
To modify this default behavior, the following new settings have been
defined for the [Options] section of the Msdos.sys file:
<UL><LI>AUTOSCAN=0
<P>
This turns the new feature off completely. The kernel does not check
the Clean Shutdown and Hard Disk Error bits, and ScanDisk is not
started.
<LI>AUTOSCAN=1
<P>
This is the default behavior described above.
<LI>AUTOSCAN=2
<P>
This is the same as the default behavior, but no error message is
displayed before ScanDisk is started. ScanDisk starts with no prompt.
<P>
</UL>NOTE: You can also automate ScanDisk so that no user intervention is
required by editing settings in the C:\Windows\Command\Scandisk.ini
file and specifying the actions you want ScanDisk to take in Custom mode.
<P>
</FONT>
</TD>
</TR>
</table>
<P>
<!--DOCBODY_END-->
</FONT>
</BODY>
</HTML>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?