At work we have several pc's that use windows 2000 professional for vision
systems, and for some reason when we have to shut down our sub-stations
invertently one of our pc's gets the bsod and upon restarting the pc's say
that the system file is corrupt. We have about 100 pc's and it wouldn't be
very possible to physically go around and shut off all the pc's as this
would require too much manpower and it would be less expensive to just
replace the pc and replace the hard drive and ghost the new one for later
use.
Is it possible to write a script to scan the hard drives while the pc still
runs normally so we could first prevent the problem and hopefully mark the
bad sectors as bad as to possibly prolong the life of the drives, and also
to let us know that we need to put it on a schedule to change out the drive.
Also if shutting down the pc's in this manner, (Shutting Power Off) maybe
make a script that would automatically shut down all the pc's.
I have never used vbscript but I've heard that such scripting is possible
using it.
Dave Marden