0

I've got to check to see what are on some external hard drives. However, I'm doing this remote, with a tech onsite. We can't disconnect them to see which ones they are because they be very important database hard drives, and they may be nothing at all.

So, we have 4 hard drives in Disk Management. 2 are unallocated, and 2 are full of random stuff. I want to check if each one is external or internal.

Is there anyway to check that with a third party program, or within Server 2012 itself?

4

As IGRACH pointed out, You can use WMIC to find this data.

When the following command is run in cmd, it will give you a list of the connected drives, their type, the interface they are connected too and their index (which can be matched to the drives in Disk Management)

wmic diskdrive get Caption, MediaType, Index, InterfaceType

Caption                     Index  InterfaceType  MediaType
SanDisk SDSSDA240G          2      IDE            Fixed hard disk media
Corsair Force GT            1      IDE            Fixed hard disk media
Generic- SD/MMC USB Device  5      USB
KINGSTON SV300S37A120G      4      IDE            Fixed hard disk media
NORELSYS 106X USB Device    6      USB            External hard disk media
ST3000DM001-1CH166          3      IDE            Fixed hard disk media
Samsung SSD 850 PRO 256GB   0      IDE            Fixed hard disk media

You can also look in device manager, it will allow you to see what interface the drives are connected to. Right click the device, go to the properties. Open the details tab and select Device Instance Path.

For example, this drive is USB3:

USB3

This Drive is a SATA Drive:

SCSI

  • My Seagate M3 Portable's Device instance path starts with SCSI\DISK&VEN and there is Seagate M3 Portable SCSI Disk Device at the top of the Details tab although the drive is connected to USB port. Furthermore the drive shows as internal and not among the devices with removable storage and there isn't Eject option on the right click menu when I click on the drive icon in This PC. – Chupo_cro Jan 24 '19 at 21:28
0

You could run wmic logicaldisk get caption, description in cmd. Which with return drive letters and type of drive.

Or you could run diskpart and they list volumes with list volume.

  • This will only work for drives that have partitions, I believe. – mt025 Aug 18 '16 at 19:01

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.