CHKNTFS
(from Check NTFS)
Displays or changes the disk check to be performed at boot.
CHKNTFS [/X | /C] volume [...]
CHKNTFS /D
CHKNTFS /T[:time]
Where:
volume [...]
- Specifies one or more drive letters (followed by a colon:
), mount points, or volume names./D
- Restores the computer to its factory defaults; all drives are checked during startup andCHKDSK
is run on any that are damaged (see CHKDSKCHKDSK)./T:time
- Specifies the countdown before startingAUTOCHK
in seconds. If duration is not specified, displays the current setting./X
- Excludes the specified drives from the default boot-time check. Excluded drives are not accumulated across command invocations. This means that if you runCHKNTFS /X ...
multiple times, only the last instance will have an effect./C
- Schedules checking of the specified drives at startup;CHKDSK
will be run for each drive if it is damaged.
If no options other than the volume or volumes are specified, it will display their file system, whether they are damaged, or whether they are scheduled for a check at the next boot.
Examples:
1. Restore your computer to default settings, disk errors will be fixed:
chkntfs /d
2. Show whether the D
drive is bad or scheduled for a boot-time check:
chkntfs D:
3. Start AUTOCHK
after 30 seconds from startup:
chkntfs /t:30
Comments