One of the monitors provided by the core operating system management packs in SCOM checks NTFS disks for errors or corruption, and alerts appropriately…..

Alert: NTFS reported the logical disk is in error or corrupt.
Source: C:\Program Files\Microsoft System Center 2012 R2\DPM\DPM\Volumes\Replica\SqlServerWriter\vol_6e3fa29a-eeaf-4c3f-b9cc-ab4678d4ec72
Last modified by: System
Last modified time: 27/11/2015 09:07:30
Alert description: NTFS on the logical disk C:\Program Files\Microsoft System Center 2012 R2\DPM\DPM\Volumes\Replica\SqlServerWriter\vol_6e3fa29a-eeaf-4c3f-b9cc-ab4678d4ec72 has reported that some portion of the file system is in error or is corrupted.  This dirty bit has been set for the logical disk.  In most cases running the CHKDSK utility will address the problem.  Refer to the product knowledge for more complete guidance.


This is a very useful monitor, however understanding what it means and how to fix it can be initially quite challenging…  To make things easier, one of Kevin Holman’s many helpful blog posts provides all the information you need.


So, what’s the point of this post??  Well, if an NTFS issue is experienced on a server such as a DPM server, there can be a huge number of logical disks.  Finding the logical disk with the issue, or validating whether you have resolved the issue, can be very difficult and consume a lot of time.  To assist with validation or troubleshooting, I have put together a VBS script that will check each logical disk on a computer and whether the state is ‘OK’ or ‘BAD’.  If all disks report OK, then the monitor should go green, or if there is an issue with a disk it will be known by returning BAD.

Disk Check Result

The script is based off the script used within the Microsoft management pack to assess logical disk health, so you can be sure that if all disks report OK, the monitor status will change to Healthy.

Download the script here, and add it to your troubleshooting script repository.  To run it, simply use the command:


At somepoint I am planning to build a management pack that contains a task to run this script, and as soon as I do, I will publish it on the TechNet Gallery and advise of it here.


Happy NTFS troubleshooting!