I picked up this tip but have not used it yet, although others have successfully:
For your reference, it is CONTROLLED HERE in the registry:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro
l\Session Manager
Follow that path down the left-hand side of the registry tree, & in the right-hand side, look at the "BootExecute" value... you will see chkdsk.exe control being signalled for next boot there!
*
Normally it is this:
autocheck autochk *
When you set it to do a chkdsk, via chkdsk /f c:, for instance (since bootdrives or Operating System housing ones cannot be dismounted & locked for exclusive access to single check disk task) you will see this:
autocheck autochk /p \??\C: APK
P.S.=> Folks are right though, if the system is not shutdown properly via start button logoff/shutdown, the dirty flag the system sets at logon is not marked as clean thru proper shutdown & that value is not reset to a clean one! apk Let me know what you think, OK.