问题
我刚进入
chkdsk d: /f /r
并立即开始磁盘检查.我希望它在下次重启时运行有很多原因:
>我可以根据需要收拾行李
>它将在发货后立即运行
>减少运行进程以组合现有错误的机会
>没有竞争的磁盘活动(在任何分区上),硬盘不会颠簸
现在,在我写完这个问题之后,我面对一两个小时观看屏幕,当ETA开始爬升时每五分钟摇晃一次鼠标,因为一些计划任务正在尝试启动.
错误的答案
fsutil dirty set d:
与chkdsk在尝试检查正在使用的卷时不同,这不能设置在重新启动时执行的检查类型.
要为下次重新启动计划chkdsk,必须通过将命令提示符的当前驱动器设置为同一驱动器来锁定要检查的驱动器.打开驱动器上的文件是不够的.此外,不得给出/ x开关.
C:\Windows\system32>d: D:\>chkdsk d: /f /r The type of the file system is NTFS. Cannot lock current drive. Chkdsk cannot run because the volume is in use by another process. Chkdsk may run if this volume is dismounted first. ALL OPENED HANDLES TO THIS VOLUME WOULD THEN BE INVALID. Would you like to force a dismount on this volume? (Y/N) n Chkdsk cannot run because the volume is in use by another process. Would you like to schedule this volume to be checked the next time the system restarts? (Y/N) y This volume will be checked the next time the system restarts. D:\>
如果同时安排检查系统驱动器和其他驱动器,请最后检查系统驱动器上的检查,以便其他驱动器上的检查仅执行一次.
感谢@Iain和@ peter-hahndorf.