Check Disk Health on Windows Server

Windows shows the state of every disk of your server, its error counters and the warning that the disk itself gives before it fails. You need no extra program. Check it now and then, and always before you open a ticket about a disk: with the serial number we replace exactly the right disk.

Open PowerShell as administrator: right-click Start and choose Terminal (Admin) or Windows PowerShell (Admin).


1. The Disks and Their State

Get-PhysicalDisk | Sort-Object DeviceId

Get-PhysicalDisk: serial number, operational status and health of every disk

  • Number: the disk number, the same as in Disk Management (Disk 0, Disk 1 …).
  • SerialNumber: write it down for the ticket.
  • OperationalStatus: OK is good. Lost Communication, Degraded or Predictive Failure mean a problem.
  • HealthStatus: Healthy is good. Warning or Unhealthy mean a problem.

A disk that is missing from the list completely may have failed or lost its connection. Compare the number of disks with your order.

2. Error Counters

Get-PhysicalDisk | Get-StorageReliabilityCounter | Sort-Object DeviceId | Format-Table DeviceId, Temperature, ReadErrorsUncorrected, WriteErrorsUncorrected, PowerOnHours

Get-StorageReliabilityCounter: temperature, uncorrected errors and power-on hours

  • ReadErrorsUncorrected and WriteErrorsUncorrected: should be 0. A number that grows over the days is a warning sign.
  • Temperature in °C, and PowerOnHours: how long the disk has been running. An empty field means that the disk does not report this value.

3. The Disk's Own Warning (SMART)

Get-CimInstance -Namespace root\wmi -ClassName MSStorageDriver_FailurePredictStatus | Format-Table InstanceName, PredictFailure

PredictFailure for every disk

PredictFailure must be False. True means that the disk itself expects to fail soon.

⚠ A disk reports a problem

Copy your important data to another place first. Then open a support ticket with the output of the commands above and the serial number of the disk. If the disk is part of a RAID, see When a Disk Fails in Software RAID on Windows Server.


Related Guides

View all Windows guides

Was this answer helpful? 0 Users Found This Useful (0 Votes)