ディスク チェック ユーティリティ
chkdsk
- C:\Windows\system32\chkdsk.exe /?
Output:
ディスクをチェックし、現在の状態を表示します。
CHKDSK [ボリューム[[パス]ファイル名]]] [/F] [/V] [/R] [/X] [/I] [/C] [/L[:サイズ]] [/B] [/scan] [/spotfix]
ボリューム ドライブ文字 (文字の後にはコロンを付ける)、
マウント ポイント、ボリューム名を指定します。
filename FAT/FAT32 のみ: 断片化をチェックするファイルを
指定します。
/F ディスクのエラーを修復します。
/V On FAT/FAT32: ディスクの全ファイルの完全なパスと名前を表示
します。
On NTFS: クリーンアップ メッセージがあればそれも表示します。
/R 不良セクターを見つけて、読み取り可能な情報を回復します (/scan
を指定しない場合、/F も暗黙的に指定されます)。
/L:size NTFS のみ: 指定されたキロバイト数にログ ファイル サイズを
変更します。サイズが指定されていないときは、現在のサイズを
表示します。
/X 必要であれば、最初にボリュームを強制的にマウント解除します。
ボリュームに対して開かれているすべてのハンドルは、無効になり
ます (/F も暗黙的に指定されます)。
/I NTFS のみ: インデックス エントリのチェックを抑制して実行しま
す。
/C NTFS のみ: フォルダー構造内の周期的なチェックをスキップ
します。
/B NTFS のみ: ボリューム上の不良クラスターを再評価します (/R も
暗黙的に指定されます)。
/scan NTFS のみ: ボリュームに対してオンライン スキャンを実行します。
/forceofflinefix NTFS のみ: ("/scan" と共に使用する必要があります)
すべてのオンライン修復を無視します。検出されたすべての障害は
オフライン修復のためにキューに挿入されます ("chkdsk /spotfix")。
/perf NTFS のみ: ("/scan" と共に使用する必要があります)
できる限り早くスキャンが完了するようにより多くのシステム
リソースを使用します。これにより、システムで実行中の他のタスク
のパフォーマンスが低下する可能性があります。
/spotfix NTFS のみ: ボリュームに対してスポット修正を実行します。
/sdcleanup NTFS のみ: 不要なセキュリティ記述子データを
ガベージ コレクトします (/F も暗黙的に指定されます)。
/offlinescanandfix オフライン スキャンを実行し、ボリューム上で修正します。
/freeorphanedchains FAT/FAT32/exFAT のみ: 孤立したクラスタ チェーンを
それらのコンテンツを回復する代わりに解放します。
/markclean FAT/FAT32/exFAT のみ: /F が指定されていない場合であっても
破損が検出されなかった場合、ボリュームをクリーンとしてマークします。
/I または /C スイッチは、ボリュームの特定のチェックをスキップして、Chkdsk の
実行時間を短縮します。
Checks a disk and displays a status report.
CHKDSK [volume[[path]filename]]] [/F] [/V] [/R] [/X] [/I] [/C] [/L[:size]] [/B] [/scan] [/spotfix]
volume Specifies the drive letter (followed by a colon),
mount point, or volume name.
filename FAT/FAT32 only: Specifies the files to check for
fragmentation.
/F Fixes errors on the disk.
/V On FAT/FAT32: Displays the full path and name of every
file on the disk.
On NTFS: Displays cleanup messages if any.
/R Locates bad sectors and recovers readable information
(implies /F, when /scan not specified).
/L:size NTFS only: Changes the log file size to the specified
number of kilobytes. If size is not specified, displays
current size.
/X Forces the volume to dismount first if necessary.
All opened handles to the volume would then be invalid
(implies /F).
/I NTFS only: Performs a less vigorous check of index
entries.
/C NTFS only: Skips checking of cycles within the folder
structure.
/B NTFS only: Re-evaluates bad clusters on the volume
(implies /R)
/scan NTFS only: Runs an online scan on the volume
/forceofflinefix NTFS only: (Must be used with "/scan")
Bypass all online repair; all defects found
are queued for offline repair (i.e. "chkdsk /spotfix").
/perf NTFS only: (Must be used with "/scan")
Uses more system resources to complete a scan as fast as
possible. This may have a negative performance impact on
other tasks running on the system.
/spotfix NTFS only: Runs spot fixing on the volume
/sdcleanup NTFS only: Garbage collect unneeded security descriptor
data (implies /F).
/offlinescanandfix Runs an offline scan and fix on the volume.
/freeorphanedchains FAT/FAT32/exFAT only: Frees any orphaned cluster chains
instead of recovering their contents.
/markclean FAT/FAT32/exFAT only: Marks the volume clean if no
corruption was detected, even if /F was not specified.
The /I or /C switch reduces the amount of time required to run Chkdsk by
skipping certain checks of the volume.
Return Code: 3
C:\Windows\system32\chkdsk.exe
c:\>ver
Microsoft Windows [Version 10.0.19045.2075]
| File | Info |
|---|---|
| File Size | 26624bytes |
| Creation Time | 2019/12/07 18:08:46 |
| LastWrite Time | 2019/12/07 18:08:46 |
| ProductVersion | 10.0.19041.1889 |
| FileVersion | 10.0.19041.1889 (WinBuild.160101.0800) |
| Hash | Value |
|---|---|
| MD5 | 7a5061e14cd532a38c926aa7002dd205 |
| SHA1 | f3a199547855fa4c35b1906dbfb66e2565dab460 |
| SHA224 | 0f295092aec70d2139c9d6de5e3bfb05014d6a47f4e4ebf631a6bb20 |
| SHA256 | f3f0645ed6cf3421520787846a8d0f66367522b4ec2c34021a1a11373d229712 |
| SHA384 | d1c1ea481e48a4e4a640efd01518b6192e8735c504f11de867a9feb0e8ab516487eda7e090d2d6d3871dab4fc081a4cf |
| SHA512 | fdac2e99f72ab855c2ff03d7ecdc416dac6dabb5115c82f31dcce3378024d175792884ea8af32350c02879bb17cc69111f9739304bb7793065c1d13eeee00084 |