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

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:

image

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.

Kent Chen

Microsoft MVP, IT Professional, Developer, Geek, and the co-founder of Next of Windows.

Last updated: 08/04/2014

Posted in: Tips & Tricks
Discover more: , , ,

Leave a Reply

Notify of
avatar

jow
Guest
jow
6 years 2 months ago

nice to know! Missed da old BSOD already!

trackback

[…] NTFS Self-Healing is An Overlooked but Useful Feature in Windows 7 | Windows7hacker 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. (tags: win7 utilities) […]

Paul Apollonio
Guest
Paul Apollonio
5 years 11 months ago

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.

Ocenyx
Guest
Ocenyx
2 years 10 months ago

The world doesn’t revolve around you, you know. How about some research on your end?

Dagmar Schneitz
Guest
3 years 10 months ago

Is this feature going to be in Windows 8?

trackback

[…] have never done this using a W7 PC either, which has a more aggressive self healing mechanism. but seems to be related to the files system rather than the registry, one would assume it also has […]

wpDiscuz