article

CHKDSK (command shortening of Checkdisk) is a command in DOS and Microsoft Windows systems which verifies a hard disk or a floppy disk for file system integrity. It is similar to the fsck command in Unix. Under Windows NT, Windows 2000 and Windows XP, CHKDSK can also check the disk surface for bad sectors, a task previously done by SCANDISK. CHKDSK can also fix errors.

By default, CHKDSK neither fixes errors nor checks for bad sectors. In order to fix errors, the /F parameter should be specified. In order to check and fix bad sectors, the /R parameter should be specified.

When used under Windows with the /F or the /R parameter when there are open files on the disk (for instance if running it on the boot disk) CHKDSK suggests it be run on the next restart. If the user agrees, it will automatically run next time the computer is restarted.

Conducting a CHKDSK can take some time, especially if using the /R parameter. In order to view the results of a CHKDSK conducted on restart using Windows XP or Windows 2000,

  • Open the Control Panel
  • Double click on Administrative Tools
  • Double click on Event Viewer
  • Click on Application (Windows XP) or Application Log (Windows 2000) from the left hand side of the window
  • Find an item labelled Winlogon under the Source column
  • Results of CHKDSKs on restart are located in here

Under Windows, CHKDSK can be run both from a console window, as a command with flags, and from My Computer application using visual interface. For the latter,

  • run My Computer
  • right-click with the mouse on the disk or diskette,
  • select Properties
  • select Tools bar
  • push the button Check Now... in the Error Checking box.

See also


External links


Microsoft Windows | DOS on IBM PC compatibles | OS/2

Chkdsk | CHKDSK

 

This article is licensed under the GNU Free Documentation License. It uses material from the "CHKDSK".

Home Pageartsbusinesscomputersgameshealthhospitalshomekids & teensnewsphysiciansrecreationreferenceregionalscienceshoppingsocietysportsworld