6

I have several local drives such as C:, D:, F: and so on. Also several CDROM drives.

I want to know where windows store these data (drive letters and drive types).

1 Answer 1

7

Drive letters can be found here:

HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices
5
  • Thanks, But What about Drive Types?
    – Nofuzy
    Aug 4, 2011 at 8:24
  • Thats in the Data column of the keys.
    – cularis
    Aug 4, 2011 at 8:29
  • But it is in Binary, how to translate them? which means local hard drive? Which means CD-Rom?
    – Nofuzy
    Aug 4, 2011 at 9:25
  • They are in Hex IIRC
    – surfasb
    Aug 5, 2011 at 6:51
  • Only hard-drives are in hex, other types have long, variable-length Unicode strings. If you open one in the Edit Binary Value dialog, you’ll see them. A CD/DVD will be something like \??\IDE#CdRomSony…, a flash-drive/memory-card might say _??_USBSTOR#Disk&Ven_SanDisk&Prod…, and a hard-drive will have a much shorter string (~12 bytes) of binary data that is not human-readable. You can also use DevCon and DevManView to get a list of hardware that is or has been attached to the system.
    – Synetech
    Mar 21, 2014 at 16:37

You must log in to answer this question.

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