If files are open, the following error message appears:. 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? If you choose to check the drive the next time you restart the computer, chkdsk checks the drive and corrects errors automatically when you restart the computer. If the drive partition is a boot partition, chkdsk automatically restarts the computer after it checks the drive.
Chkdsk provides information specific to each file system in a status report. The status report shows errors found in the file system.
You should use chkdsk occasionally on each disk to check for errors. If size is not specified, displays current size. DIR Displays the directory's contents. MAP Displays mappings for network drives. MORE Displays a text file's output one screen at a time. The directory must be empty before you can remove it. TYPE Displays the contents of a text file. Editor's Picks. The best programming languages to learn in Check for Log4j vulnerabilities with this simple-to-use script.
TasksBoard is the kanban interface for Google Tasks you've been waiting for. Paging Zefram Cochrane: Humans have figured out how to make a warp bubble. Comment and share: Fix your Windows system quickly with the Recovery Console. Show Comments. Hide Comments. My Profile Log out. Join Discussion. To open a command prompt window as an administrator, right-click Command prompt in the Start menu, and then click Run as administrator.
Interrupting chkdsk is not recommended. However, canceling or interrupting chkdsk should not leave the volume any more corrupt than it was before chkdsk was run. Running chkdsk again checks and should repair any remaining corruption on the volume.
Chkdsk can be used only for local disks. The command cannot be used with a local drive letter that has been redirected over the network. If you want chkdsk to correct disk errors, you can't have open files on the drive.
If files are open, the following error message appears:. If you choose to check the drive the next time you restart the computer, chkdsk checks the drive and corrects errors automatically when you restart the computer. If the drive partition is a boot partition, chkdsk automatically restarts the computer after it checks the drive.
Use the fsutil dirty set command to set the volume's dirty bit indicating corruption , so that Windows runs chkdsk when the computer is restarted. Chkdsk examines disk space and disk use and provides a status report specific to each file system. The status report shows errors found in the file system. Chkdsk must be able to lock the drive to correct errors. Because repairs on FAT file systems usually change a disk's file allocation table and sometimes cause a loss of data, chkdsk might display a confirmation message similar to the following:.
When chkdsk finishes, you can check these files to see if they contain any data you need. If you press N , Windows fixes the disk, but it does not save the contents of the lost allocation units. This could happen if open files have not yet been recorded in the file allocation table. If chkdsk reports the loss of a large number of allocation units, consider repairing the disk.
Because the Shadow Copies for Shared Folders source volume cannot be locked while Shadow Copies for Shared Folders is enabled, running chkdsk against the source volume might report false errors or cause chkdsk to unexpectedly quit. You can, however, check shadow copies for errors by running chkdsk in Read-only mode without parameters to check the Shadow Copies for Shared Folders storage volume.
0コメント