Results 1 to 6 of 6

Thread: [2005] Retrieving disk type

Hybrid View

  1. #1

    Thread Starter
    Frenzied Member SomethinCool's Avatar
    Join Date
    Jan 2001
    Location
    Malvern, PA
    Posts
    1,407

    [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.

  2. #2

    Thread Starter
    Frenzied Member SomethinCool's Avatar
    Join Date
    Jan 2001
    Location
    Malvern, PA
    Posts
    1,407

    Re: [2005] Retrieving disk type

    Anyone have any idea or thought on how to do this...?

  3. #3

    Thread Starter
    Frenzied Member SomethinCool's Avatar
    Join Date
    Jan 2001
    Location
    Malvern, PA
    Posts
    1,407

    Re: [2005] Retrieving disk type

    Is there a solution?

  4. #4
    Pro Grammar chris128's Avatar
    Join Date
    Jun 2007
    Location
    England
    Posts
    7,604

    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?
    My free .NET Windows API library (Version 2.2 Released 12/06/2011)

    Blog: cjwdev.wordpress.com
    Web: www.cjwdev.co.uk


  5. #5

    Thread Starter
    Frenzied Member SomethinCool's Avatar
    Join Date
    Jan 2001
    Location
    Malvern, PA
    Posts
    1,407

    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...

  6. #6

    Thread Starter
    Frenzied Member SomethinCool's Avatar
    Join Date
    Jan 2001
    Location
    Malvern, PA
    Posts
    1,407

    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
  •  



Click Here to Expand Forum to Full Width