Contact Email: services@upgradenrepair.com

 
 
 

CHKDSK Syntax

 

The syntax for CHKDSK is as follows

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: Specified the files to check for fragmentation
/F fixes error on the disk.
/V OnFAT/FAT32: Display 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)
/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 open 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 in 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
/spotfix NTFS only: (Must be used with "/scan") used more system resourcwes to complete a scan as fast as possible. This option may have a negative performance impact on other tasks running on the system
/sdcleanup NTFS only: Garbage collect unneded security descriptor data *implies /F).
/offlinescanandfix Runs an offline scan and fix on the volume.