Fsutil repair command in Windows
The Fsutil repair command manages and monitors NTFS self-repair repair operations.
Applies to : Windows Server (Semi-Annual Channel), Windows Server 2016, Windows Server 2012 R2, Windows Server 2012. Windows 10, Windows 8.1, Windows 8, Windows Server 2008 R2, Windows 7.
The Fsutil repair command manages and monitors NTFS self-repair repair operations. For an example of how to use this command, please see the example below.
Syntax of Fsutil repair
fsutil repair [enumerate] [] fsutil repair [initiate] fsutil repair [query] fsutil repair [set] fsutil repair [wait][]
Parameters
Parameter Description Description of the event log entries for a drive. Specify the drive name, followed by a colon. $ Corrupt - A set of confirmed incidents in a drive.$ Verify - A collection of potential, unconfirmed incidents in a drive. initiate Start NTFS self-recovery. Specify the specific NTFS drive file ID (file reference number). File reference includes the file segment number. query Querying the self-recovery state of NTFS drives. set Set the drive's self-recovery state. Specify the error correction method to be used when installing the drive's self-recovery state.
Flags parameters can be set to three values:
- 0x01 : Allows common error correction.
- 0x09 : Warning about the possibility of data loss without repair.
- 0x00 : Disable NTFS self-repair repair operations. state Query the problem state of the system or for a certain drive. wait Wait for the repair process to complete. If NTFS has detected a problem on the drive that it is working on, this option allows the system to wait until the repair process is complete, before running any pending script. [WaitType {0 | 1}] Indicates that the user must wait for the current repair or wait for all repairs to be completed. WaitType can be set to the following values:
- 0 : Waiting for all completed repair processes. (Default value)
- 1 : Waiting for the current repair process to complete.
Note
The NTFS self-recovery feature tries to fix the corrupted errors of the online NTFS file system without requiring Chkdsk.exe to run. This feature was introduced in Windows Server 2008.
For example
To list confirmed issues of a drive, enter:
fsutil repair enumerate C: $Corrupt
To enable self-repair on drive C, enter:
fsutil repair set c: 1
To turn off the self-recovery repair feature on drive C, enter:
fsutil repair set c: 0
See more:
- The Fsutil quota command in Windows
- Fsutil hardlink command in Windows
- Fsutil fsinfo command in Windows
You should read it
- The Fsutil quota command in Windows
- The Fsutil reparsepoint command in Windows
- Fsutil transaction command in Windows
- Fsutil command in Windows
- Fsutil 8dot3name command in Windows
- Fsutil command sparse in Windows
- The Fsutil objectid command in Windows
- The Fsutil file in Windows
- Fsutil tiering command in Windows
- Fsutil hardlink command in Windows
- Fsutil fsinfo command in Windows
- Fsutil resource command in Windows
Maybe you are interested
8 interesting features on Android 10 that you should experience Google: Android users prefer to use 3 traditional navigation keys than 'inspired' gesture navigation from iOS How to create iPhone X navigation bar on Android Which country does Shimono vacuum cleaner use? 7 important lessons about money that every child needs to be taught Why do we throw waste into volcanoes to handle?