How does Windows (7) identify an (external) hard disk uniquely?

3

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?

Christian

Posted 2010-08-18T07:44:26.890

Reputation:

Answers

3

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.

user35787

Posted 2010-08-18T07:44:26.890

Reputation:

Yeah, i know about UUIDs. But where exactly is this UUID? Is it part of any file system, part of NTFS, part of whatever? – None – 2010-08-18T08:12:55.637

AFAIK it's in the footer on the drive. – Shinrai – 2010-08-18T14:32:52.193

1

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

Richard

Posted 2010-08-18T07:44:26.890

Reputation: 8 152

0

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.

LawrenceC

Posted 2010-08-18T07:44:26.890

Reputation: 63 487