Table of Contents
The Chkntfs Command in Windows is easier to understand when the core ideas are paired with practical examples. The sections below explain the topic clearly, highlight useful steps, and point out details that can prevent common errors.
The chkntfs command displays or modifies the automatic disk check when the computer starts. If used without options, the chkntfs command will display the file system of the specified drive. If automatic file checking is scheduled to run, the chkntfs command will show whether the specified drive is dirty or scheduled to check the next time the computer is started.
Note : To run chkntfs, you must have admin rights. For an example of how to use this command, please see the Example below.
Syntax chkntfs command
chkntfs [.] chkntfs [/ d] chkntfs [/ t [:
Parameters
ParameterDescription [.] Specifies one or more files to check when the computer starts. Valid drives include drive letters (followed by colons), mount points or drive names. / d Restore all default settings of chkntfs, except for the countdown time to check the file automatically. By default, all drives are checked when the computer is started, and chkdsk runs on dirty drives. / t [: Change the initial countdown time for Autochk.exe file to the specified amount of time (in seconds). If you do not enter a time, / t displays the current countdown time. / x [.] Specifies one or more files to exclude from checking when the computer is started, even if the drive is marked as chkdsk. / c [.] Schedule one or more files to be checked when the computer is started and run chkdsk on dirty files. /? Show help at the command prompt.As an example,
To display the file system type for drive C, enter:
chkntfs c:
The following output indicates the NTFS file system:
Ph?n này c?a t?p tin là NTFS.
Note:
If automatic file checking is scheduled to run, additional output will be displayed, indicating whether the drive is dirty or scheduled manually to check the next time the computer starts.
To display the initial countdown time for Autochk.exe file, enter:
chkntfs / t
As an example,, if the countdown time is set to 10 seconds, the following output will show:
The AUTOCHK initiation countdown time is set to 10 second (s).
To change the initial countdown time for Autochk.exe to 30 seconds, enter:
chkntfs / t: 30
Note:
You can set the countdown time to start the Autochk.exe file to 0, which will prevent you from canceling the file check automatically, which takes time.
The command line option / x is not cumulative. If you enter more than once, the most recent entry will overwrite the previous entry. To exclude multiple drives from testing, you must list each drive in a command. As an example,, to exclude both drives D and E, enter:
chkntfs / xd: e:
Command line options / c are accumulated. If you type / c multiple times, each entry remains the same. To ensure that only a specific drive is selected, reset the defaults to delete all previous commands, exclude all drives from checking, and then schedule file checks. Automatically on the desired drive.
- The chcp command in Windows
- Change command in Windows
- Cd command in Windows
FAQ
What should you know about the chkntfs command in Windows Syntax chkntfs command Parameters As an example, Syntax chkntfs command chkntfs [.] chkntfs [/ d] chkntfs [/ t [: ]] chkntfs [/ x [.]] chkntfs [/ c [.]] Parameters ParameterDescription [.] Specifies one or more files to check when the computer starts. Valid drives include drive letters (followed by colons), mount points or drive names. / d Restore all default settings of chkntfs, except for the countdown time to check the file automatically. By default, all drives are checked when the computer is started, and chkdsk runs on dirty drives. / t [: ] Change the initial countdown time for Autochk.exe file to the specified amount of time (in seconds). If you do not enter a time, / t displays the current countdown time. / x [.] Specifies one or more files to exclude from checking when the computer is started, even if the drive is marked as chkdsk. / c [.] Schedule one or more files to be checked when the computer is started and run chkdsk on dirty files. /? Show help at the command prompt. As an example,?
To display the file system type for drive C, enter:
What is The Chkntfs Command in Windows?
The chkntfs command displays or modifies the automatic disk check when the computer starts.
Why is The Chkntfs Command in Windows important?
A clear understanding of The Chkntfs Command in Windows helps you make informed decisions, avoid common mistakes, and use the relevant tools or techniques more effectively.
Reader Comments 0
Sign in with email or Google to join the discussion.