Windows 10: MSFT_VirtualDisk class enumeration will not yield attached virtual disks

Discus and support MSFT_VirtualDisk class enumeration will not yield attached virtual disks in Windows 10 Gaming to solve the problem; I have a virtual disk VHD and attached via disk mgmt tool. Now using WMI and windows storage management API, I used MSFT_Disk class and executed the... Discussion in 'Windows 10 Gaming' started by himanshu pareek, Feb 20, 2024.

  1. MSFT_VirtualDisk class enumeration will not yield attached virtual disks


    I have a virtual disk VHD and attached via disk mgmt tool. Now using WMI and windows storage management API, I used MSFT_Disk class and executed the query "select * from MSFT_Disk" and both of the disks were listed. I thought that MSFT_VirtualDisk should result in only virtualdisk attached to the system but it does not return any disk.Please help with any clue.

    :)
     
    himanshu pareek, Feb 20, 2024
    #1

  2. Virtual disk service wont start

    Hi,

    Thank you for showing interest on Windows 10.

    I appreciate you for providing details about the issue and we are happy to assist you.

    I suggest you to start the Virtual Disk Service and check if it helps.

    Follow the below steps:

    • Press Windows key + R from the Keyboard.
    • Type services.msc and hit Enter.
    • In the Services Window, look for Virtual Disk service and
      Stop
      it.
    • Restart the computer and Start the Virtual Disk
      service and set it to Automatic.
    • Restart the computer and it check if it works.
    Reference: Refer to the following Microsoft article on
    Windows 10 help & how-to
    .

    Windows help & learning

    Kindly let us know if you need any further assistance with Windows. We are glad to assist you.

    Thank you.
     
    Harshavardhan Rathod, Feb 20, 2024
    #2
  3. Run a scheduled task when a disk volume is attached

    I have this Windows 10 virtual environment where frequently I need to attach raw disk volumes to the virtual machine, then I need to run diskpart on it to initialize it. I think I need Window Task Scheduler to do the job. So here are the steps:

    1. The volume is attached by the VM managing tool.
    2. The scheduled task founds that the volume is attached, then run the diskpart script.

    The diskpart part is easy, but how do I know if a volume is attached? I think it involves in using system events as task triggers, but what events should I look into?

    Diskpart Logic

     
    Wang Dingwei, Feb 20, 2024
    #3
  4. alphabare Win User

    MSFT_VirtualDisk class enumeration will not yield attached virtual disks

    Virtual disk service wont start

    Worked the first time i tried it then after closing the application and trying to start again the disk service would not start anymore.
     
    alphabare, Feb 20, 2024
    #4
Thema:

MSFT_VirtualDisk class enumeration will not yield attached virtual disks

Loading...
  1. MSFT_VirtualDisk class enumeration will not yield attached virtual disks - Similar Threads - MSFT_VirtualDisk class enumeration

  2. MSFT_VirtualDisk class enumeration will not yield attached virtual disks

    in Windows 10 Network and Sharing
    MSFT_VirtualDisk class enumeration will not yield attached virtual disks: I have a virtual disk VHD and attached via disk mgmt tool. Now using WMI and windows storage management API, I used MSFT_Disk class and executed the query "select * from MSFT_Disk" and both of the disks were listed. I thought that MSFT_VirtualDisk should result in only...
  3. MSFT_VirtualDisk class enumeration will not yield attached virtual disks

    in Windows 10 Software and Apps
    MSFT_VirtualDisk class enumeration will not yield attached virtual disks: I have a virtual disk VHD and attached via disk mgmt tool. Now using WMI and windows storage management API, I used MSFT_Disk class and executed the query "select * from MSFT_Disk" and both of the disks were listed. I thought that MSFT_VirtualDisk should result in only...
  4. Virtual Disk

    in Windows 10 Network and Sharing
    Virtual Disk: What is Virtual Disk ? how does it relate to a VM https://answers.microsoft.com/en-us/windows/forum/all/virtual-disk/6cadb439-5fb2-4b95-bbdf-3de2d6e75c0a
  5. Virtual Disk

    in Windows 10 Gaming
    Virtual Disk: What is Virtual Disk ? how does it relate to a VM https://answers.microsoft.com/en-us/windows/forum/all/virtual-disk/6cadb439-5fb2-4b95-bbdf-3de2d6e75c0a
  6. Virtual Disk

    in Windows 10 Software and Apps
    Virtual Disk: What is Virtual Disk ? how does it relate to a VM https://answers.microsoft.com/en-us/windows/forum/all/virtual-disk/6cadb439-5fb2-4b95-bbdf-3de2d6e75c0a
  7. Changing Disk Enumeration Order for Windows Setup

    in Windows 10 Installation and Upgrade
    Changing Disk Enumeration Order for Windows Setup: This issue could be considered a Windows installation issue or a hardware issue (involving MB BIOS). I've done a LOT of work to setup all sorts of Windows unattended installations. I also have a number of scrips used during the actual installation of Windows. All of this work...
  8. Change disk enumerating?

    in Windows 10 Ask Insider
    Change disk enumerating?: So i have 2x nvme and 6xsata The sata drives are made up of 3x storage spaces. Task manager enumerates the disks: Disk 6 -> windows nvme Disk 7 -> nvme number 2 Disk 8 -> storage space #1 Disk 9 -> storage space #2 Disk 10 -> storage space #3 I guess i have a disorder...
  9. Virtual Disk

    in Windows 10 Customization
    Virtual Disk: Good day. I have created a 10GB virtual disk in disk management and would like to reassign it back to my hard disk. Thank you for your help and reply. https://answers.microsoft.com/en-us/windows/forum/all/virtual-disk/1d29f5f3-4f7f-4133-8356-6f254ff1c690
  10. Virtual disk

    in Windows 10 Network and Sharing
    Virtual disk: Hello there, Recently I came to know that we can increase the hard disk storage up to 64 TB no matter how much is our real disk space. I followed the procedure and got 2 TB. I didn`t get how that is possible? Does it really mean that now my hard disk storage is 2.5 TB?...