The trailing “\D” in Windows Event Log disk error details

event-log

Sometimes in the Windows Event Log you may see an error or warning about disk problems regarding something like:

\Device\Harddisk0\D.

Presumably, the Harddisk0 refers to the first physical drive as reported by the Disk Management MMC snap-in (though I have personally never seen anything other than disk 0 being reported even with different drives and even when the drive in question was definitely a different one—like the SD card in the card-reader).

But what is the D?

It definitely isn’t a partition. Physical problems affect the whole drive, not a single volume, plus the System\Disk event log entries logs physical problems; filesystem issues are logged to Application\Winlogon.

So what does the D refer to? Has anyone ever seen a different letter? Googling for \Device\Harddisk0\C returns a small handful of results which are most likely just a typos. I managed to find one person who asked this question but got no answer.

Best Answer

Use WinObj Sysinternals Suite

\Device\Harddisk0\D

That is, in this case, the problem entirely with HDD. Harddisk0.

Windows DDK 2003 SP1 ISO (230 MB) 3790.1830, objdir.exe:

objdir \GLOBAL?? | find /I "harddisk" | more

Get device info:

wmic DISKDRIVE get Caption, DeviceID, Index, PNPDeviceID, Partitions, SCSIPort, Size

Output:

Caption              DeviceID            Index  Partitions  PNPDeviceID                                                                                        SCSIPort  Size
SAMSUNG HD501LJ      \\.\PHYSICALDRIVE4  4      1           IDE\DISKSAMSUNG_HD501LJ_________________________CR100-13\3053554D314A5143304236343639202020202020  5         500105249280
ST31500341AS         \\.\PHYSICALDRIVE0  0      1           IDE\DISKST31500341AS____________________________CC1H____\6&162587C5&0&0.0.0                        1         1500299297280
ST32000542AS         \\.\PHYSICALDRIVE1  1      2           IDE\DISKST32000542AS____________________________CC34____\5&5C6CFD6&0&0.0.0                         2         2000396321280
WDC WD5000KS-00MNB0  \\.\PHYSICALDRIVE3  3      1           IDE\DISKWDC_WD5000KS-00MNB0_____________________07.02E07\5&1841A32E&0&0.0.0                        4         500105249280
WDC WD5000KS-00MNB0  \\.\PHYSICALDRIVE2  2      2           IDE\DISKWDC_WD5000KS-00MNB0_____________________07.02E07\5&2AFB53D3&0&0.0.0                        3         500106332160

D is shorter alias DRx.

WinObj

Symbolink \Device\HarddiskX\ - unique.

winObj

Related Question