Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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).

share|improve this question

Drive letters can be found here:

HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices
share|improve this answer
    
Thanks, But What about Drive Types? – Stranger Aug 4 '11 at 8:24
    
Thats in the Data column of the keys. – cularis Aug 4 '11 at 8:29
    
But it is in Binary, how to translate them? which means local hard drive? Which means CD-Rom? – Stranger Aug 4 '11 at 9:25
    
They are in Hex IIRC – surfasb Aug 5 '11 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 '14 at 16:37

You must log in to answer this question.

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