11

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?

10
  • 1
    Yes, it means Disk 1, Windows starts counting at 0.
    – Ramhound
    Commented Mar 22, 2016 at 19:16
  • 1
    Possible duplicate of How do I determine which HD is involved in the Event Viewer? Commented Mar 22, 2016 at 19:18
  • @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
    Commented Mar 22, 2016 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
    Commented Mar 22, 2016 at 19:42
  • 4
    DR stands for Drive Removable, so it is a removable drive , not a fixed drive.
    – Moab
    Commented Mar 22, 2016 at 20:47

1 Answer 1

9

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.
4
  • Thank you. The second command lists them in reverse order from the first, but this tells me for sure which is which.
    – simpleuser
    Commented Mar 22, 2016 at 20:07
  • @user1663987 Interesting. I wonder why yours are reversed compared to mine?
    – DavidPostill
    Commented Mar 22, 2016 at 20:11
  • Thanks. On 1809 got "Invalid Get Expression": wmic --% diskdrive get caption, deviceid, size gets there. Commented Apr 15, 2020 at 10:11
  • The working command for PowerShell and Command with Administrator permission are different. @LaurieStearn Your comments exactly right for PowerShell. but not for Command window. In command windows as administator, works with "wmic diskdrive get caption, deviceid, size" but not yours. Interesting things, commands are difference between PowerSheel and Command with Administrator permission.
    – agfe2
    Commented May 20, 2020 at 2:38

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .