Check the state of the file system and repair it if necessary.
To check the state of the file system
- At a command prompt, type chkntfs <drive letter>:
- Check the message from chkntfs.
- If chkntfs displays the message “<drive letter>: is dirty”, the volume is corrupt. In this case, repair the file system using the chkdsk /r command.
- If chkntfs displays the message “<drive letter>: is not dirty”, the volume is not corrupt and no further action is required.
To repair the file system
- Save any unsaved data, close any open programs, and restart the computer.
- Microsoft® Windows® automatically runs chkdsk /r on “dirty” (corrupt) volumes to check and repair them.
You can also run chkdsk manually using the following steps.
- At a command prompt, type chkdsk /x <drive letter>:
Chkdsk runs and automatically repairs the volume.
- If chkdsk displays the following message, type Y.
“Cannot lock current drive. 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?”
Windows will automatically run chkdsk the next time the computer is started.
If you regularly see NTFS Event ID 41 or Event ID 55 in Event Viewer, run chkdsk using the /r option. This option allows chkdsk to locate bad sectors on the hard disk.
For more information about the chkdsk /c and /i options, see Knowledge Base article 187941 “An Explanation of CHKDSK and the New /C and /I Switches” at http://go.microsoft.com/fwlink/?LinkId=25770.
For more information about NTFS recoverability, see Knowledge Base article 101670 “Transaction Log Supports NTFS Recoverability,” at http://go.microsoft.com/fwlink/?LinkId=25981.