Chkdsk (Chkdsk.exe) is a command-line tool that checks volumes for problems and attempts to repair any that it finds. For example, Chkdsk can repair problems related to bad sectors, lost clusters, cross-linked files, and directory errors. For NTFS formatted disks, the Windows XP Professional version of Chkdsk.exe can provide substantial performance improvements (compared to the versions in Windows 2000 Professional and Windows NT Workstation 4.0) when using the new the /i and /c parameters. These two parameters instruct Chkdsk.exe to skip certain file system checks, which might reduce the time needed to run Chkdsk. You must be logged on as an administrator or a member of the Administrators group to use Chkdsk.
In addition to using the command-line version of Chkdsk, you can run Chkdsk from My Computer or Windows Explorer.
To run Chkdsk from the command prompt
* At the command prompt, type chkdsk.
To run Chkdsk from My Computer or Windows Explorer
1. In My Computer or Windows Explorer, right-click the volume you want to check, and then click Properties.
2. On the Tools tab, click Check Now.
3. Do one of the following:
* To run Chkdsk in read-only mode, click Start.
* To repair errors without scanning the volume for bad sectors, select the Automatically fix file system errors check box, and then click Start.
* To repair errors, locate bad sectors, and recover readable information, select the Scan for and attempt recovery of bad sectors check box, and then click Start.
Before running Chkdsk, be aware of the following:
* Chkdsk requires exclusive access to a volume while it is running. Chkdsk might display a prompt asking if you want to check the drive the next time you restart your computer.
* Chkdsk might take a long time to run, depending on the number of files and folders, the size of the volume, disk performance, and available system resources (such as processor and memory).
* Chkdsk might not accurately report information in read-only mode.
For more information about using Chkdsk, see "Troubleshooting Disks and File Systems" in this book.
Associates Degree in IS
Studying for Network+