|
-
Aug 19th, 2008, 09:02 AM
#1
Thread Starter
Frenzied Member
[2005] Retrieving disk type
I am trying to figure out how I can determine if a disk partition is configured as a dynamic volume or basic disk. I am trying to create a reporting utility that will query remote machines and return the information. There could be one volume or there could be 10-20 volumes. It varies with machine.
I tried to use WMI using the Win32_LogicalDisk and Win32_Volume classes (Win32_Volume class is only available on Windows Server 2003 and up, and some of these machines run Windows 2000... very rare but there are a few), and when I tried to use these classes it returned information about the disks and volumes, but there are no flags that displayed if it was a dynamic volume or basic disk.
I have found some code on how to access the Logical Disk Manager data which stores this information, but it is in C++ and I don't really understand it. It also looks as if you cannot run this code remotely... so.. my question is..
Is it possible to do this another way? Are there API calls or through another method or service can I access this information? Possibly through the Logical Disk Manager? Thanks.
-
Aug 19th, 2008, 02:34 PM
#2
Thread Starter
Frenzied Member
Re: [2005] Retrieving disk type
Anyone have any idea or thought on how to do this...?
-
Aug 20th, 2008, 07:23 AM
#3
Thread Starter
Frenzied Member
Re: [2005] Retrieving disk type
-
Aug 20th, 2008, 07:40 AM
#4
Re: [2005] Retrieving disk type
I would imagine you can use an API to do it yeah... as for how you would do it remotely, I'm not sure on that.
Have you actually tried searching for an API that gets logical disk information?
-
Aug 20th, 2008, 01:48 PM
#5
Thread Starter
Frenzied Member
Re: [2005] Retrieving disk type
Yes... and I have no idea what to do. I'm even doing a support request through Microsoft and they haven't really gotten any information back yet...
-
Aug 22nd, 2008, 09:27 AM
#6
Thread Starter
Frenzied Member
Re: [2005] Retrieving disk type
Does anyone have any experience accessing the Virtual Disk Service (VDS) in Windows using VB or another language? Apparently, this might be the way to go. I've never done it before...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|