Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.
September 20, 2004
I mentioned the CHKNTFS command in tip 0008 Stop CHKDSK from running at boot time.
I described the AutoChkTimeOut Value Name in tip 0787 Autochk countdown timer.
Windows XP add the /T switch to the CHKNTFS command, which sets the AutoChkTimeOut Value Name.
When you type CHKNTFS /? in a Windows XP CMD.EXE window, you receive:
Displays or modifies the checking of disk at boot time.CHKNTFS volume [...]CHKNTFS /DCHKNTFS /T[:time]CHKNTFS /X volume [...]CHKNTFS /C volume [...] volume Specifies the drive letter (followed by a colon), mount point, or volume name. /D Restores the machine to the default behavior; all drives are checked at boot time and chkdsk is run on those that are dirty. /T:time Changes the AUTOCHK initiation countdown time to the specified amount of time in seconds. If time is not specified, displays the current setting. /X Excludes a drive from the default boot-time check. Excluded drives are not accumulated between command invocations. /C Schedules a drive to be checked at boot time; chkdsk will run if the drive is dirty.If no switches are specified, CHKNTFS will display if the specified drive isdirty or scheduled to be checked on next reboot.
You May Also Like