Chkdsk (Chkdsk.exe) is a command-line tool that checks volumes for problems. The tool then tries to repair any that it finds. For example, Chkdsk can repair problems related to bad sectors, lost clusters, cross-linked files, and directory errors. To use Chkdsk, you must log on as an administrator or as a member of the Administrators group.
You can also run Chkdsk from My Computer or from Windows Explorer.
Manual steps to run Chkdsk
Notes
- Chkdsk requires exclusive access to a volume when it runs. Therefore, if one or more of the files are open on the disk that you want to check, Chkdsk displays a prompt asking if you want schedule the disk check for the next time that 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.
Manual steps to run Chkdsk at the command prompt
- Click Start, and then Run.
- In Open, type cmd, and then press ENTER.
- Use one of the following procedures:
- To run Chkdsk in read-only mode, at the command prompt, type chkdsk, and then press ENTER.
- To repair errors without scanning the volume for bad sectors, at the command prompt, type chkdsk volume:/f, and then press ENTER.
Note If one or more of the files on the hard disk are open, you will receive the following message:
Chkdsk cannot run because the volume is in use by another process. Would you like to schedule this volume to be checked the next time the system restarts? (Y/N)
- Type Y, and then press ENTER to schedule the disk check, and then restart your computer to start the disk check.
- To repair errors, locate bad sectors, and recover readable information, at the command prompt, type chkdsk volume:/r, and then press ENTER.
Note If one or more of the files on the hard disk are open, you will receive the following message:
Type Y, and then press ENTER to schedule the disk check, and then restart your computer to start the disk check.Chkdsk cannot run because the volume is in use by another process. Would you like to schedule this volume to be checked the next time the system restarts? (Y/N)
Bookmarks