CHKDSK является командой на компьютерах рабочий DOS, ОС/2 и операционные системы Microsoft Windows, который отображает состояние целостности файловой системы жестких дисков и гибкого диска и может зафиксировать логические ошибки файловой системы. Это подобно команде fsck в Unix. Это коротко для "Диска проверки". На компьютерах, выполняющих основанные на NT версии Windows, CHKDSK может также проверить поверхность диска на физические ошибки или поврежденные секторы, задача, ранее сделанная SCANDISK.

CHKDSK может быть выполнен из Windows Shell, Windows Command Prompt или Windows Recovery Console. Одна опция для CHKDSK является использованием параметра Command-line/R, который позволяет программе возмещать убытки, которые это находит на жестком диске.

Проведение CHKDSK может занять время, особенно при использовании/R параметра, и результаты часто не видимы по различным причинам. Результаты CHKDSK, проводимого на перезапуске с помощью Windows 2000 или более поздних операционных систем, записаны в Журнал приложения, с "Исходным" названием Wininit или Winlogon и могут быть просмотрены с Event Viewer. В операционной системе Windows 7 ищите события с "Исходным" названием "Chkdsk"

Стандартная версия CHKDSK поддерживает следующие переключатели:

filename FAT only. Specifies the file or set of files to check for fragmentation. Wildcard characters (* and ?) are allowed. path FAT only. Specifies the location of a file or set of files within the folder structure of the volume. size NTFS only. Changes the log file size to the specified number of kilobytes. Must be used with the /l switch. volume FAT and NTFS (NTFS support is unofficially supported but works normally) Specifies the drive letter (followed by a colon), mount point, or volume name. /c NTFS only. Skips checking of cycles within the folder structure. /f Fixes errors on the volume. The volume must be locked. If CHKDSK cannot lock the volume, it offers to check it the next time the computer starts. /i NTFS only. Performs a less vigorous check of index entries. /l[:size] NTFS only. Displays current size of the log file. If size is specified, changes the log file to that size (in kilobytes). /p Checks disk even if it is not flagged as "dirty" (only available in the Recovery Console). /r Locates bad sectors and recovers readable information (implies /f and /p) If CHKDSK cannot lock the volume, it offers to check it the next time the computer starts. /v On FAT: Displays the full path and name of every file on the volume. On NTFS: Displays cleanup messages, if any. /x NTFS only. Forces the volume to dismount first, if necessary. All opened handles to the volume are then invalid (implies /f ). /b NTFS only, since Vista. Clears the list of bad clusters on the volume and rescans all clusters for errors (implies /r). /? Displays the list of available CHKDSK switches. 

При выполнении CHKDSK от Консоли восстановления опции отличаются./p не только для чтения как в стандартной версии, но исправляет ошибки:

/p Fixes errors on the volume. Same as the /f option in standard CHKDSK. /r Locates bad sectors and recovers readable information (implies /f and /p) Takes much longer to run than /p by itself.