0

I wish to schedule multiple chkdsk on startup:

"fsutil dirty set [drive]:" marks the drive as dirty and should be scanned but for some reason it scans C and skips D.

Is there any way to force the scan?

Eyal
  • 161
  • 1
  • 9
  • 1
    This is a "question and answer" site. As this is not a question, it will be closed and probably deleted soon. Please rewrite it as an question. Nobody hinders you to answer your own question - in an answer. – Stephan May 19 '15 at 07:13
  • Right you are, i'll rephrase the post – Eyal May 19 '15 at 14:54

1 Answers1

0

as it happens, yes there is.

"chkntfs /c [drive]:" ovverides startup behavior to make sure the drive is scanned on startup if the dirty bit is set.

so the final code will be something like:

fsutil dirty set c: 
fsutil dirty set d: 
chkntfs /c c: d:
Eyal
  • 161
  • 1
  • 9