getting the GUID for an USB mass storage

Posted on 2004-04-10
Medium Priority
Last Modified: 2013-11-15
i know that for HID, one can get the GUID value from hidclass.h and even call and API call. however, i wish to get the GUID for an USB mass storage. i've very new and do not know much about this device management area, hence wish to find out how this can be done.

Question by:ashrobo
  • 2

Expert Comment

ID: 10800134
i think the answer is related to your next post

Author Comment

ID: 10800342
i am looking for the specific GUID that's assigned to the mass storage class for usb in this post.

Accepted Solution

bkfirebird earned 375 total points
ID: 10804002

you have to use WMI to get this ID. You have to get a object for the USB device and retrieve its DeviceID property.

I will try and explain how to code it in the other post, but I would suggest that you first go two things :

1. get the WMI SDK from http://www.microsoft.com/msdownload/platformsdk/sdkupdate/

2. WMI Tools from http://www.microsoft.com/downloads/details.aspx?FamilyId=6430F853-1120-48DB-8CC5-F2ABDC3ED314&displaylang=en

after installing WMI tools, open the page C:\Program Files\WMI Tools\browser.htm and look at the various devices, properties, etc

-kiran adigopula

Featured Post

7 new features that'll make your work life better

It’s our mission to create a product that solves the huge challenges you face at work every day. In case you missed it, here are 7 delightful things we've added recently to monday to make it even more awesome.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

In this article we will learn how to backup a VMware farm using Nakivo Backup & Replication. In this tutorial we will install the software on a Windows 2012 R2 Server.
Backups and Disaster RecoveryIn this post, we’ll look at strategies for backups and disaster recovery.
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…

607 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question