chkntfs
This page is from Microsoft
Updated: January 21, 2005
Syntax
chkntfs [/d]
chkntfs [/t[:Time]]
chkntfs [/xVolume:[...]]
chkntfs [/cVolume:[...]]
Parameters
Remarks
-
To run chkntfs, you must be a member of the Administrators group.
-
Although you can set the Autochk.exe initiation countdown time to zero, you cannot cancel a potentially time-consuming automatic file check if you set it to zero.
Examples
chkntfs /t
When changing the Autochk.exe initiation countdown time, type the time in seconds. For example, to change the countdown time to 30 seconds, type:
chkntfs /t:30
The /x command-line option is not accumulative. If you type it more than once, the most recent entry overrides the previous entry. To exclude multiple volumes, list them all in one command. For example, to exclude both the E: and F: volumes, type:
chkntfs /x e: f:
To exclude the F: volume only, type:
chkntfs /x e:
chkntfs /x f:
The /c command-line option is accumulative. If you want to check the specified volume only, reset the defaults to clear any previous commands, exclude all volumes from being checked, and then schedule automatic file checking on the desired volume.
For example, to schedule automatic file checking on the D: volume only, type:
chkntfs /d
chkntfs /x c: d: e:
chkntfs /c d:
Formatting legend
Format | Meaning |
Italic | Information that the user must supply |
Bold | Elements that the user must type exactly as shown |
Ellipsis (...) | Parameter that can be repeated several times in a command line |
Between brackets ([]) | Optional items |
Between braces ({}); choices separated by pipe (|). Example: {even|odd} | Set of choices from which the user must choose only one |
Courier font | Code or program output |