Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

Mapping the Volume GUID to the physical disk and partion - I'm stuck!

$
0
0

Howdy Y'all from Texas.  I've got to say I've really enjoyed Scripting Guys blog.  I've been referencing it for some time now and have really learned a bunch from it.

I am, however, currently stuck on a problem and I've not been able to hunt up something applicable.

What I need to do is figure out how to map a Volume GUID to whatever Disk and Partition that stores the actual data.  I understand that a volume may have multiple such extents although for me they would be rather rare.  Sometimes I have only a volume id which looks like: \\?\Volume{b077d0f3-bcb3-494e-8803-d2bf22835f2d}\ and is not mapped to a drive letter.  Which Disk(s) and Partition(s) physically comprise the volume?

So for example:  \\?\Volume{b077d0f3-bcb3-494e-8803-d2bf22835f2d}\ => Disk # 2, Partition # 3

I've figured out how to get the volumes with a drive letter mapped, but not how to get ones without a drive letter.


Viewing all articles
Browse latest Browse all 15028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>