We can create a custom Task Sequence to notify the user of the problem, when they log onto the computer.
Optionally, you could also deploy this as an available task sequence, for end users to manually check hard drive status.
Here are my suggestions for the task sequence...
Name: Hard Drive Diagnostic
Progress notification text: "Please submit a help desk ticket if the hard drive reports as failing." (or use the standard "Running: <Task sequence name>")
Suppress task sequence notifications - Optional
Maximum run time: 5 minutes
Run on any platform.
Sequence of Tasks... (Keep in mind that the "Name" is what the end user will see on the screen)
- Set Task Sequence Variable
- Name: Testing hard drive health. Please wait.
- Variable: HD Failure
- Value: True
- Options:Add a WMI query Condition
- WMI Namespace: root\wmi
- WQL Query: select * from MSStorageDriver_FailurePredictStatus Where PredictFailure = True
- Group 1:
- Name: Hard Drive Diagnostic Finished
- Options: Add a Task Sequence Variable
- Variable: HD Failure
- Condition: Equals
- Value: True
- Run Command Line (Under Group 1)
- Name: The hard drive is failing
- Command line: ping 127.0.0.1 -n 30
- Should last about 30 seconds on the screen
- Run Command Line (Under Group 1)
- Name: We recommend replacing the hard drive.
- Command line: ping 127.0.0.1 -n 30
- Should last about 30 seconds on the screen
- Group 2:
- Name: Hard drive Diagnostics Finished
- Options: Add a Task Sequence Variable
- Variable: HD Failure
- Condition: Not Exists
- Run Command Line (Under Group 1)
- Name: Hard drive passed diagnostics
- Command line: ping 127.0.0.1 -n 10
- Should last about 10 seconds on the screen.
More SCCM related posts
No comments:
Post a Comment