6

I'm getting errors in Windows 10's event log stating \Device\Harddisk1\DR2 drive controller is having a problem. I know that the hard disk numbers depend on the BIOS and do not match the physical connections.

How can I tell which physical device this actually is? diskpart lists these devices:

  Disk ###  Status         Size     Free     Dyn  Gpt
  --------  -------------  -------  -------  ---  ---
  Disk 0    Online          931 GB      0 B        *
  Disk 1    Online         1863 GB   927 GB

Is \Device\Harddisk1 the "Disk 1" listed here? Is there some other way to determine what Windows 10 means by Harddisk1 ?

What is DR2?

  • Yes, it means Disk 1, Windows starts counting at 0. – Ramhound Mar 22 '16 at 19:16
  • 1
  • @Ramhound I know windows starts counting at zero, but that Window's "zero" depends on the order that BIOS reports and often does not match physical device ports or location. – simpleuser Mar 22 '16 at 19:41
  • @user1663987 - Your question does not make it clear you knew that. I thought you needed help identify it, knowing Windows starts counting at 0, helps you do exactly that. What BIOS does is outside of the scope of this question, Windows is generating the error, so what Windows does is really the only thing that is important. – Ramhound Mar 22 '16 at 19:42
  • @Ramhound yes, my question asks first how to identify the physical device that windows is calling Harddisk1. If I can identify that the disk numbers that diskpart shows match those in the eventlog, I can at least guess at the disk. – simpleuser Mar 22 '16 at 19:45
7

How can I tell which physical device this actually is?

You can use wmic diskdrive get caption, deviceid, size to match up the devices shown with physical disks.

Example output from my laptop:

DISKPART> list disk

  Disk ###  Status         Size     Free     Dyn  Gpt
  --------  -------------  -------  -------  ---  ---
  Disk 0    Online          465 GB      0 B
  Disk 1    Online           59 GB      0 B
  Disk 2    Online         2794 GB  7168 KB

And:

F:\test>wmic diskdrive get caption, deviceid, size
Caption                            DeviceID            Size
WDC WD5000LPVX-08V0TT5             \\.\PHYSICALDRIVE0  500105249280
SanDisk Cruzer USB Device          \\.\PHYSICALDRIVE1  64009128960
Seagate Expansion Desk USB Device  \\.\PHYSICALDRIVE2  3000582144000

As you can see from the deviceid, and confirmed by the sizes, the devices are listed in the same order on my Laptop.

Note:

  • The OP has stated that the wmic on his PC lists the devices in the reverse order. The information still allows the disks to be identified.
  • Thank you. The second command lists them in reverse order from the first, but this tells me for sure which is which. – simpleuser Mar 22 '16 at 20:07
  • @user1663987 Interesting. I wonder why yours are reversed compared to mine? – DavidPostill Mar 22 '16 at 20:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.