NTFS Self-Healing is An Overlooked but Useful Feature in Windows 7

6

We’ve covered how to use the old school CHKDSK command check on disk in Windows 7 yesterday but what we didn’t touch is actually even better. It’s a nice new feature that I didn’t realize its existed either until very recently.

Basically, once the feature is turned on, Window will detect a physical file system error and automatically fix it on the fly without you even noticing it happened. Because of this, you actually have a lot less chances having to run CHKDSK to check the disk manually because most likely the errors you suspected may have been fixed by this self-healing process already.

NTFS Self-healing is turned on by default in Windows 7 but if you are not sure you can use the following command to make sure. Note that the command has to be run as Administrator.

fsutil repair query c:

image3 - NTFS Self-Healing is An Overlooked but Useful Feature in Windows 7

However, there is a possible downside that you may have already been thinking and wondering. Yes, the data may potentially be removed silently without user’s knowledge during the self-healing process. To address this issue, Microsoft added BugCheckOnCorrupt option that does something you may think it’s crazy.

It throws a BSOD (blue screen of death) and shuts everything down instead of attempting to fix the error, if the system discovers any NTFS corruptions.

Yes, not every BSOD is bad. Some of them happened in purpose, just like this as designed. It does sound crazy because why you would want the system crash, but from the data safety perspective, this attempt is actually better because it increases the chances of having the data recovered from the corruption.

Besides, this is not turned on by default and it’s suggested that you only need to turn it on only if you have the doubts on your hard drive.

To turn it on, simply type the following command as Administrator.

fsutil behavior set BugcheckOnCorrupt 1

Reboot your computer and run the following command as Administrator again to set which drive you want to check.

fsutil repair set <drive name> 0x10

To turn it off after it’s turned on:

fsutil behavior set BugcheckOnCorrupt 0

That’s it, hope it helps.

6 COMMENTS

  1. And just HOW do you explain to Windows 7 you are an administrator? Unlike XP, half the time it does not seem to know. It is maddening! You say RUN AS ADMINISTRATOR like its obvious. Well, nothing to right click here, and when I type command, (CMD) I am in users/paul> not windows/system32.. Those “instructions” are ok if you already understand the process…In which case you learned nothing. Don’t leave out the baby steps. What you all think is obvious, is not to me.

LEAVE A REPLY

Please enter your comment!
Please enter your name here