martes, 30 de mayo de 2017

How to find out which hdd is \Device\Harddisk#\DR#

Sometimes we obtain a weird Disk Error (Event 11) on Windows Event Viewer pointing to a "Disk" called something like \Device\Harddisk#\DR#

And the question is: which one is that failling disk? is "C:" unit? Is it my system disk?

In my case that was my error (just before a system's hang):

To translate that obscure representation of a disk we can use WinObj.

WinObj is a must-have tool if you are a system administrator concerned about security, a developer tracking down object-related problems, or just curious about the Object Manager namespace.

  • Download WinObj from Sysinternals
  • Run it as administrator
  • Go to \Device\HarddiskX

  • You will see individual PartitionY symbolic links (to \Device\HarddiskVolumeZ), note these down
  • Go to \GLOBAL??, sort by the 3rd column "SymLink"
  • Find the \Device\HarddiskVolumeZ value you noted down in the 3rd column
  • You will see various names of that volume in the first column, including HarddiskXPartitionY, Volume{GUID} and (what's probably most useful for most people) the DOS-style letter like C:

Finally I can realise that the faulting drive was a external usb-stick and not my system disk.

Found at Microsoft Forums, pictures are my own.

0 comentarios:

Publicar un comentario