Fsutil repair |
Applies To: Windows Server 2008 R2,Windows Server 2008,Windows Vista,Windows 7
Administers and monitors NTFS self-healing repair operations.
For examples of how to use this command, see Examples.
Syntax
Copy Code |
|
fsutil repair [initiate] <VolumePath> <FileReference> |
Parameters
Parameter |
Description |
initiate |
Initiates NTFS self-healing. |
<VolumePath> |
Specifies the volume as the drive name followed by a colon. |
<FileReference> |
Specifies the NTFS volume-specific file ID (file reference number). The file reference includes the segment number of the file. |
query |
Queries the self-healing state of the NTFS volume. |
set |
Sets the self-healing state of the volume. |
<Flags> |
Specifies the repair method to be used when setting the self-healing state of the volume. The Flags parameter can be set to three values:
|
wait |
Waits for repair(s) to complete. If NTFS has detected a problem on a volume on which it is performing repairs, this option allows the system to wait until the repair is complete before it runs any pending scripts. |
[WaitType {0|1}] |
Indicates whether to wait for the current repair to complete or to wait for all repairs to complete. WaitType can be set to the following values:
|
Remarks
- Self-healing NTFS attempts to correct corruptions of the NTFS file system online, without requiring Chkdsk.exe to be run. This feature was introduced in Windows Server 2008. For more information, see Self Healing NTFS.
Examples
To enable self-healing repair on drive C, type:
Copy Code |
|
fsutil repair set c: 1 |
To disable self-healing repair on drive C, type:
Copy Code |
|
fsutil repair set c: 0 |