CHKNTFS.EXE: What You Can Use It ForID: Q160963
|
Chkntfs.exe is a utility developed by Microsoft and is available on Service Pack 2 and later for Windows NT 4.0. It is designed to disable the automatic running of chkdsk on specific volumes, when Windows NT reboots from an improper shutdown. Chkntfs can also be used to unschedule a chkdsk if chkdsk /f was used to schedule a chkdsk on an active volume on the next system reboot.
Every time Windows NT boots, Autochk.exe is called by the Kernel to scan
all volumes to check if the volume dirty bit is set. If the dirty bit is
set, autochk performs an immediate chkdsk /f on that volume. CHKDSK /f
verifies file system integrity and attempts to fix any problems with the
volume. It is always advisable to run chkdsk on volumes that have been
improperly shutdown, however, there may be some situations in which
running chkdsk after every improper shutdown is not possible or practical.
In some cases, chkdsk may take several hours or even days to completely
check the volume or may hang while checking the volume. In these
situations, it is more practical to postpone the chkdsk until a more
convenient time.
Chkntfs is a utility that allows a system administrator to exclude volumes
from being checked by the autochk program. The utility is run from a
command prompt and has the following command line options:
chkntfs drive: [...]
chkntfs /d
chkntfs /x drive: [...]
chkntfs /c drive: [...]
drive: Specifies a drive letter.
/D Restores the machine to the default
behavior; all drives are checked at boot
time and chkdsk is run on those that are
dirty. This undoes the effect of the /X
option.
/X Excludes a drive from the default boot-time
check. Excluded drives are not accumulated
between command invocations.
/C Schedules chkdsk to be run at the next
reboot if the dirty bit has been set.
BootExecute:REG_MULTI_SZ:autocheck autochk *
autocheck autochk /r \??\C:
Additional query words: chkdsk chkntfs
Keywords : kbbug4.00 ntdistrib nthowto ntfilesys ntutil
Version : 4.0
Platform : winnt
Issue type : kbhowto
Last Reviewed: February 3, 1999