Avatar of ReneGe
ReneGe
Flag for Canada asked on

Batch File: Read H.D. [S.M.A.R.T] for failure prevention

Hi there,

Has anyone made a batch file that will read the Hard Drive's S.M.A.R.T. infos and interpret them in order to predict H.D. failure?

The only thing a came up with so far, are 2 command lines that outputs a bunch of numbers:

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

Please do not suggest a program that reads and display S.M.A.R.T. infos. I need a batch file.

Thanks for your help,
Rene
Microsoft DOSStorageProgramming

Avatar of undefined
Last Comment
ReneGe

8/22/2022 - Mon
SOLUTION
h4mi

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
SOLUTION
hathehariken

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
ReneGe

ASKER
Thanks for your comment. However, the two supplied command line reads S.M.A.R.T. infos

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

So, since I can read them, their might be someone out there that did a batch file to interpret them.

Cheers,
Rene
SOLUTION
hathehariken

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
ReneGe

ASKER
@hathehariken

Thanks for your links.

I need a batch file to interpret the output generated by a wmic command that reads S.M.A.R.T.

Thanks
SOLUTION
hathehariken

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
ReneGe

ASKER
By running the command lines, you will get the output as s.m.a.r.t. is standard.

REF:
http://en.wikipedia.org/wiki/S.M.A.R.T.

Thanks,
Rene
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
SOLUTION
h4mi

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
ReneGe

ASKER
@h4mi,

In case your comment is not humour, wmic.exe is as a program as ping.exe is; as it is part of Windows.

Cheers,
Rene
SOLUTION
Ben Personick (Previously QCubed)

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
ReneGe

ASKER
ReneGe

ASKER
@Q

Do you still feel like doing this?

If you feel it's a to complicated task let me know. I'll then split the points and just close it.

Thanks,
Rene
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
ReneGe

ASKER
@Dhaest:

Could you please get the attention of experts on this one?

It's still not resolved.

Thanks and cheers,
Rene
ASKER CERTIFIED SOLUTION
Qlemo

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
ReneGe

ASKER
Thanks Q for your feedback.

I'll close it then, and split points.

Cheers,
Rene