【Amazon GWスマイルセール開催中】4/18(金) 9:00 ~ 4/21(月) 23:59まで限定!バッファローのWi-Fiルーターやスイッチングハブ、Xiaomiスマートウォッチ・タブレット・モニター、iPhone SE整備済み品など多数アイテムが最大19%OFF!

How to Use the CHKNTFS Command to Manage Disk Checks | Verifying File Systems in Windows

The CHKNTFS command is a Windows utility that allows users to manage the automatic disk check (chkdsk) that occurs during system startup. With CHKNTFS, you can control whether disk checks are performed, verify the status of specific drives, or disable disk checks entirely for certain drives. This is particularly useful for preventing unnecessary checks during reboot.

目次

What is the CHKNTFS Command?

The CHKNTFS command is used to manage the behavior of automatic disk checks (chkdsk) that occur during system startup in Windows. With this command, you can control whether the system performs disk checks, check the status of specific drives, or exclude certain drives from future checks. It is particularly useful when you want to avoid unnecessary disk checks that slow down the boot process.

Main Uses

  • Control Startup Disk Checks: Manage whether automatic disk checks run during system startup.
  • Verify Drive Status: Check the file system status of a drive to determine whether a disk check is needed.
  • Disable Disk Checks: Exclude specific drives from undergoing automatic disk checks.

How to Use the CHKNTFS Command

https://twitter.com/tama_global/status/1845227934937927834

With CHKNTFS, you can customize how disk checks are handled during startup, including checking the status of drives or disabling checks on specific drives.

Basic Syntax

chkntfs [drive letter] [/C | /D | /X | /T[:time]]
OptionDescription
/CSchedules a drive for a disk check at the next startup.
/DRestores default settings, enabling disk checks on all drives.
/XExcludes the specified drive from disk checks at startup.
/T[:time]Changes the countdown time for disk checks. Displays the current setting if no time is specified.
[drive letter]Specifies the drive to check or modify (e.g., C:).

Examples

  1. Check the Status of Drive C
    To check whether a disk check is scheduled for Drive C:
   chkntfs C:

Explanation: This command displays whether a disk check is pending for Drive C during the next system startup.

  1. Disable Disk Checks on Drive D
    If you want to stop disk checks from running on Drive D during startup:
   chkntfs /X D:

Explanation: This command disables automatic disk checks on Drive D, preventing it from being scanned during future reboots.

  1. Restore Default Settings
    To reset all drives to perform disk checks as needed at startup, use:
   chkntfs /D

Explanation: This command restores the default settings, allowing disk checks to be performed on all drives during startup if necessary.

  1. Set Disk Check Countdown Timer
    To set the countdown time for automatic disk checks at startup to 10 seconds:
   chkntfs /T:10

Explanation: This command sets the disk check countdown timer to 10 seconds, giving users more time to cancel the check if needed.

Use Cases for the CHKNTFS Command

  1. Canceling Unnecessary Disk Checks
    If you have external drives or data disks that do not require frequent disk checks, the CHKNTFS command can be used to exclude these drives from the startup check. For example:
   chkntfs /X E:

Explanation: This command prevents disk checks from running on Drive E, which may not need to be checked frequently.

  1. Verifying if Disk Checks are Required
    If your system is behaving erratically, you can use CHKNTFS to check whether disk checks are needed for certain drives. If necessary, you can force a disk check at the next reboot:
   chkntfs /C C:

Explanation: This command forces a disk check on Drive C at the next startup, helping to detect and repair potential disk errors.

Things to Keep in Mind When Using CHKNTFS

  • Disabling Disk Checks: Be cautious when disabling disk checks, as it may prevent the detection of disk errors that could affect system stability. Only disable checks on drives where you are confident that disk issues won’t occur.
  • Countdown Timer: Setting a very short countdown time for disk checks can make it difficult for users to cancel the check in time. Be sure to choose a reasonable countdown period.

Conclusion

The CHKNTFS command is a useful tool for managing disk checks in Windows. It helps you control which drives are scanned during startup, allowing you to avoid unnecessary delays or enforce checks when needed. Properly configuring disk checks can improve system performance and ensure disk integrity, helping maintain overall system stability.

Tamaglo

Thank you for reading to the end!

執筆者:玉城 学(タマキ マナブ)

IT業界歴10年以上。ヘルプデスク・サーバーエンジニアとしてWindowsの設定、クラウド管理、PC最適化を担当。

現在はPC設定・Office活用の専門家として、ブログやYouTubeで情報を発信中。

詳しいプロフィールはこちら

SNSでも情報を発信しています: YouTubeTikTokInstagram

Comments

To comment


The reCAPTCHA verification period has expired. Please reload the page.

The maximum upload file size: 2 MB. You can upload: image. Links to YouTube, Facebook, Twitter and other services inserted in the comment text will be automatically embedded. Drop file here

目次