Enabling BugcheckOnCorrupt for NTFS Volumes

by Mitch Tulloch [Published on 3 March 2010 / Last Updated on 5 June 2009]

How to enable BugcheckOnCorrupt for advanced self-healing of NTFS volumes on Windows Vista SP1 and Windows Server 2008.

Self-Healing NTFS has been enhanced in Windows Vista SP1 and Windows Server 2008 with a new BugcheckOnCorrupt option that allows the system to check for bugs with a 0x00000024 stop error when the system encounters corruption on a NTFS volume. Enabling this feature allows administrators to prevent NTFS from silently deleting data without their knowledge so they can back up data on volumes before enabling Self-Healing NTFS or running Chkdsk to try to repair the volume.

BugcueckOnCorrupt is disabled by default on all NTFS volumes. To enable this feature (such as on the C: drive), do the following:

1. Use the Fsutil Behavior command to set BugcheckOnCorrupt to 1 as follows:

fsutil behavior set BugcheckOnCorrupt 1

2. Reboot the computer.

3. Use the Fsutil Repair command to set Self-Healing NTFS to 0x10 on any disk volumes on which you want to have BugcheckOnCorrupt enabled. For example, to enable BugcheckOnCorrupt for the C: drive, do this:

fsutil repair set C: 0x10

To disable BugcheckOnCorrupt on an individual volume, use 0x01 instead of 0x10 in the previous command. To disable this feature for all volumes, type fsutil behavior set BugcheckOnCorrupt 0 at the command prompt.

For more information on managing the File and Print Services roles on Server Core, see my book Windows Server 2008 Server Core Administrator's Pocket Consultant from Microsoft Press.

Featured Links