Chkdsk + Logging on multiple machines
I need to run a Chkdsk on 5000 XP machines, as a prerequisite before encrypting the hard drives. I have successfully completed a Chkdsk "package" on some test machines, using SCCM, by packaging up the following batch file:
Echo Y | chkdsk /r
This works well, however I would like to somehow return the results whether it was successful or not. ie did the machine have to recover any bad sectors?
So the chkdsk program does create a bootex.log file in the root of the C:, but this file is transferred directly to the event viewer immediately after it boots into windows, post chkdsk operation. The bootex.log file is then deleted once transferred to event viewer.
The event viewer has exactly what i need but is there anyway to extract that info from event viewer on a bulk scale? Could I possibly make the SCCM Chkdsk package a task sequence, and the last step in the task sequence is a script to extract the chkdsk event viewer log, and dump it back to a network location in the form of a txt file with the asset name or something?
Or, should I just accept that if ChkDsk has successfully run with the -r switch, that the machine is good to encrypt?