How to find matching mount points and volume guids ?

In this case I was experiencing VSS error events in application event log on one of the file servers. The related logged events were containing error information with associated Volume GUID instead of mount point (drive letter). Here is the example of the error event:
Volume Shadow Copy Service error: The shadow copy could not be committed - operation timed out. Error context: DeviceIoControl(\\?\Volume{GUID}

Since this error event was generated on file server with bunch of disk drives, I was wondering which mount point (drive letter) was associated with this Volume Guid.
One way to achieve this task was to run mountvol.exe without any switches. The output from this command looks like this:


Also, from Run dialog:


I could browse the contents of the drive, and figure out the drive letter.
Browsing the contents using Volume Guids from command prompt using dir requires additional backslash "\" at the end:


Another way is by comparing values in Registry in HKLM\System\MountedDevices for DosDevices and Volume Guids (picture contents are cropped):



At last, and I guess the best option is to use PowerShell and wmi. Win32_Volume class (not applicable for XP) will provide the necessary data by using DriveLetter an DeviceID properties. All filtering capabilities for filtering data using powershell are available, including querying the remote machines. For example, the following singleliner will return VolumeGuids and DriveLetters associated:


I guess all these methods will help you to find the matching pair :) If you have another way for matching volume guids and mount points, feel free to comment.
 

19 comments:

  1. When creating an application, make sure that the application you are creating is user-friendly. If a user encounters all of these issues, he will never use your application. PhD Dissertation Writing Service

    ReplyDelete
  2. I don't get what you are discussing about, In a my case it was very simple I just must amount and he tells the all credits and benefits easily. I think when you are creating this application you done some kind of mistake rechecked it hope it well be alright.
    Dissertation Writing Services UK

    ReplyDelete
  3. It is no secret that writing academic papers is a challenge for many students. The reasons for being incapable of producing quality pieces of writing are different. Know more with essays-panda

    ReplyDelete
  4. After ordering from us for more than 5 times, we are now offering a Take My Online Class flat fifty percent discount on your sixth order.

    ReplyDelete
  5. Are you searching for online exam help Malaysia, if yes then end your search at Malaysiaassignmenthelp.com and get help of the qualified exam helpers and score good results.

    ReplyDelete
  6. Unable to do essay writing assignments and search for an essay writing service, then just visit qqi assignments and purchase our services. We help you in completing your assignments with the help of our best-qualified experts who complete your assignment with unique content on time at pocket-friendly prices which help you to gain an A+ grade in your college.

    ReplyDelete
  7. अच्छी जानकारी के लिए धन्यवाद। कृपया इस वेबसाइट पर जाएँ। यह देखने के लिए अच्छी सामग्री है नागिन 6

    ReplyDelete
  8. I read your article about volume and points. This is information for us. It's a nice blog. Keep it up. Now it's time to get Vfix services https://www.vfixphonesandtech.com/ for more information.

    ReplyDelete
  9. Yes, I am very happy to read this one. This information is very helpful and useful. Thanks for sharing this informative blog. Now it's time to avail HALFCASTE CREAM SET for more information.

    ReplyDelete
  10. Hello! When I was a student it was so difficult to cope with plenty of writing assignments so I often asked for help online. And one of my favourite websites was prime essays https://primeessays.com/ It is recommended for all students who need quality writing tips.
    I also can give some advice on creating articles for a blog in case you are interested.

    ReplyDelete
  11. This is an amazing way of finding matching mount points and volume guids. It is so comprehensive and easy to apply. Thanks for sharing this with us. I really appreciate that. Now it's time to avail Outbound Call Center Services for more information.

    ReplyDelete
  12. I truly appreciate your effort you have put in this article. I am impressed by the way the article is written. Keep share your thoughts with us. Now its time to avail limousine service Dublin ca for more information.

    ReplyDelete
  13. I found your article about volume guids and mount points to be both educational and engaging. Your blog is definitely one to watch—keep it up. Let's explore the medical aesthetic laser clinic together.

    ReplyDelete
  14. At CV Writing Services Ireland, we understand the power of a well-crafted CV. Our team combines precision and excellence to create CVs that truly represent you. We personalize each document to enhance your marketability and help you achieve your career goals.

    ReplyDelete
  15. Nice Blog:
    Jaipur
    At Gupta Homeo Clinic, experience holistic healing through personalized care and natural remedies. Our expert homeopathy doctor in Jaipur provides comprehensive consultations, addressing ailments with gentle, effective treatments. With a patient-centric approach, we tailor remedies for your individual needs. Embrace wellness and vitality with our renowned homeopathic expertise, guiding you toward optimal health. Visit Gupta Homeo Clinic and embark on a transformative journey toward balanced well-being.

    ReplyDelete
  16. Online Dissertation Help USA provides expert guidance to students navigating the challenging process of crafting a thesis. Tailored to meet academic standards, this service connects students with skilled writers who offer support in research design, data analysis, and content refinement. Through virtual platforms, it ensures timely and quality submissions, fostering academic success across diverse disciplines.(online dissertation help)

    ReplyDelete
  17. Unlock the gateway to a thriving career in Civil Engineering at Stani Memorial College of Engineering and Technology, the premier Civil Engineering College in Jaipur. Join a dynamic academic community where innovation meets excellence. Explore limitless opportunities through rigorous coursework, hands-on experiences, and industry connections. Elevate your future with us

    ReplyDelete

How to check EMBG (Unique Master Citizen Number) using regex

In this post, I will share my implementation of how to check if some number looks like EMBG or Unique Master Citizen Number. For those of yo...