Поделиться через


Using WMIC to check for predicted disk failure (S.M.A.R.T. analysis)

I was looking at the Windows Vista Reliability and Performance Monitor and noticed that the data collector sets for System Diagnostics included a SMART disk check.  I've been waiting for Windows to make better use of SMART and hadn't noticed that there was a WMI entry for it.  I took a look at it in WMIC to see what data was there.  You can also view the data and thresholds used to predict failure, etc.

 WMIC /NAMESPACE:\\root\wmi PATH MSStorageDriver_FailurePredictStatus
Active InstanceName PredictFailure Reason
TRUE IDE\DiskWDC_WD1200BB-00CAA0_____________________16.06V16\5&134a4e1&0&1.0.0_0 FALSE 0
TRUE IDE\DiskWDC_WD740GD-00FLA1______________________27.08D27\5&14d2dd2b&0&0.0.0_0 FALSE 0
TRUE IDE\DiskST3250823AS_____________________________3.03____\5&278c8dd0&0&1.0.0_0 FALSE 0

WMIC /NAMESPACE:\\root\wmi PATH MSStorageDriver_FailurePredictData
WMIC /NAMESPACE:\\root\wmi PATH MSStorageDriver_FailurePredictThresholds