为什么 Windows 在每次启动时都运行 CHKDSK?

khr*_*ris 11 chkdsk windows-xp

每次打开电脑时,我都会收到以下消息:

Checking file system on E:
The type of the file systen is NTFS.
One of your disks need to be checked for consistency. You may cancel the disk check, but it is strongly recommended that you continue.
Windows will now check the disk.

CHKDSK is verifying files (stage 1 of 3)... 0 percent completed
Run Code Online (Sandbox Code Playgroud)

我允许 CHKDSK 完成,但 Windows 不加载。每次启动计算机时都会出现此消息。

有人能解释一下为什么会出现这条消息以及我应该怎么做才能让它消失吗?

Dav*_*ave 7

当您安排检查磁盘时,会在注册表中添加一个条目 - 由于某种原因,它没有被清除。

  1. 运行注册表编辑器(单击“开始”、“运行”并键入,regedit然后按“确定”)。
  2. 定位 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager
  3. BootExecute条目从:更改
    autocheck autochk * /r\DosDevice\C:
    为:
    autocheck autochk *

来源:http : //support.microsoft.com/kb/158675


Dav*_*all 6

如果您没有要求执行 chkdsk,则在设置磁盘的“脏位”时将执行自动检查。如果 Windows 未正确关闭、文件更改尚未完成或磁盘已损坏,则会设置此选项。这可能表明磁盘即将发生故障。对于外部磁盘,它可能表明它是在没有使用“安全删除硬件”功能的情况下被删除的。

fsutil命令可用于检查脏位的状态。使用管理员权限打开命令提示符并输入:

fsutil dirty query D:
Run Code Online (Sandbox Code Playgroud)

(替换D:为您遇到问题的驱动器盘符。)