Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Windows allows you to assign a certain letter to an external disk drive (using diskmgmt.msc). Whenever the device is plugged in again, it assigns this same letter again.

How does Windows identify this device as being the same? What kind of (unique?) identifier does it use?

share|improve this question

migrated from serverfault.com Aug 18 '10 at 13:41

This question came from our site for professional system and network administrators.

add comment

3 Answers

Windows stores a GUID/UUID in a disks's MBR (reference). This is stored and referenced in the BCD which the Windows Boot Manager uses, and I guess the rest of Windows uses that too. Disks formatted to the GPT standard have a spot to hold a disk GUID or UUID (reference) which I would surmise is used in the same way by Windows.

share|improve this answer
add comment

The file system includes a (statistically) unique id. I assume Windows remembers those.

share|improve this answer
add comment

It will use a Universally unique identifier (UUID). You can find out more about UUIDs here. The UUID of the device will be associated with the drive letter.

share|improve this answer
    
Yeah, i know about UUIDs. But where exactly is this UUID? Is it part of any file system, part of NTFS, part of whatever? –  Christian Aug 18 '10 at 8:12
    
AFAIK it's in the footer on the drive. –  Shinrai Aug 18 '10 at 14:32
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.