Will Windows notify me if there is a S.M.A.R.T warning?

I wrote a short script that displays the status of your drive.

Basically Win32_DiskDrive.Status returns the following for drives with SMART:

"OK", "Degraded", "Pred Fail"

Just save this file with a js extension.

Then you can run it at the commandline: wscript filename.js. Or even better, schedule it using Task Scheduler.

var wmiService = GetObject("winmgmts://./root/CIMV2");
var diskDrives = wmiService.ExecQuery("SELECT * FROM Win32_DiskDrive");
for(var enumDisks = new Enumerator(diskDrives); !enumDisks.atEnd(); enumDisks.moveNext()){
    var disk = enumDisks.item();
    if(disk.StatusInfo == "Pred Fail"){
        WScript.Echo("Disk: " + disk.Caption + "\nReports Status: " + disk.StatusInfo);
    }
    else{ WScript.Echo("All's quiet on the Western Front.");}
}

No 3rd party app needed, but you will need to monitor the System log for those notifications.


One way , use the "Task Scheduler" find \Microsoft\Windows\DiskDiagnostic, and set the task named "Microsoft-Windows-DiskDiagnosticResolver" to enabled, it is disabled by default. The info it will relay could be more than you want, vrses some software that only bothers you when it seems more important.

In the task scheduler again, you can create events based on the event-log, by having it pop-up when certain event numbers occur. The task scheduler can be used to design your own interconnection and messaging (including e-mail) tying the smart features to other features.

at Post, many of the hardwares when set to notify you on smart errors , will flag you when your trying to boot up. Usually that is pretty serious , and can more often indicate you have a real problem. For hardware (prior to OS), check the motherboard bios, and any other card or onboard chips bios settings for Smart settings.

Other various Drivers, Intel, dell perc, promice, highpoint, and all the other raid controllers, and other disk controller have thier own software that can monitor and flag about smart errors, depending on thier settings. Many of them can connect to the system various ways, or have thier own monitoring flags, or both capabilities. In the same sence, remember that many of these controller items also Need thier own path to notification, and will not flag the system without thier software, or only through thier software.

Some utilities can be looking out for smart errors , and do other usefull tasks also, Newer versions of "SpeedFan", are using smart to monitor HD temps, and can also be used to flag other smart errors.

With all that said, >50% of drives (during some long studies from the web) Failed without any previous FAIL smart warnings. You can also certannly get smart warnings , and bad numbers from really ODD occurances that have nothing to do with hard drive itself going bad. You can get flags that are only related to the connection/wire. So depending on it, or freaking out about a smart flag is overreacting more than the system is presentaly capable of understanding. There usually is something wrong, but it might not be the hard drive itself dying.
Humans are still somewhat nesssisary , to factually determine resulting flags, from false flags, that can even be a software/driver problem. Humans might still be able to spot an issue in thier normal routines that the disk is acting up, without smart flags.

It is like when your car engine starts making a different sound, and you take it into the shop and they say "nothing is wrong", or they do find what is wrong. You drive the car, if it is sounding or acting way different, then pull off the road and do a backup :-) Even if the computer says your car is fine, it can only tell so much.