> > Virtual Disk Service Error

The Best Ways to Fix Diskpart Virtual Disk Service Errors

  • Contents:


    What Is Virtual Disk Service?


    At the age of Windows 2000, each company that made storage devices provided its own application to install and management their own storage devices. As a result, users had to run separate applications if they are using different types of storage devices on their computer system. This made disk/partition management difficult.

    To address this issue, Windows Server 2003 introduced Virtual Disk Service (VDS). VDS is a set of application programming interfaces including the Disk Management snap-in, the DiskPart command-line tool, and the DiskRAID command-line tool, and provides a single interface for disks management. Because of VDS, you don't need to use different storage applications to manage different storage devices any more. Instead, you can use one compatible storage application to manage any hardware that has a VDS hardware provider.

    For more information, view the original resource on Microsoft.

    How to Fix Diskpart Virtual Disk Service Errors


    Although VDS brings much convenience for disk/partition management, users are discussing how to repair virtual disk service errors over the net. Here we list some typical errors, along with the solutions.

    Error 1 - Clean is not allowed on the disk containing the current boot, system, pagefile, crashdump or hibernation volume.


    While confirming diskpart clean command on system disk, you will receive the following error message:

    Virtual Disk Service error:
    Clean is not allowed on the disk containing the current boot,
    system, pagefile, crashdump or hibernation volume."


    clean not allowed

    The reasons that lead to this error can be found in this post, then how can you clean a system disk successfully?

    The answer is: you can try using MiniTool Partition Wizard Bootable Edition to help you. MiniTool Partition Wizard Bootable Edition is created by the Bootable Media Builder feature that is available on all paid editions. It can be used to cope with various disk management issues without running Windows. Please do the followings:


    Step 1: Run MiniTool Partition Wizard Pro and select "Bootable Media" from tool bar to start.

    virtual disk service error 1

    Step 2: burn the .iso image file to an USB flash drive or CD/DVD. You can refer to How to Build Boot CD/DVD Discs and Boot Flash Drive with Bootable Media Builder to know the details.

    Step 3: set computer to boot from the bootable media you have just created. Then you will see the main interface of MiniTool Partition Wizard Bootable Edition.

    Step4: now click on the disk you want to clean and choose "Delete All Partitions". Please ignore the warning message and click "Apply".

    virtual disk service error 2

    Tip: If you delete the wrong disk, you can read Clean on Wrong Disk? Undo Diskpart Clean Command Now! to recover deleted partitions.


    Also, you can choose "Wipe Disk" to clean the system disk. Be sure that you won’t search for a data recovery method after doing this, for it is an irreversible operation. You need to select a wiping method before you can finally apply the change.

    virtual disk service error 3

    virtual disk service error 4

    Tip: Two similar Virtual Disk Service errors that can be solved by using bootable edition:
    Virtual Disk Service error:
    Format is not allowed on the current boot, system, pagefile, crashdump, or hibernation volume.

    Virtual Disk Service error:
    Delete is not allowed on the current boot, system, pagefile, crashdump, or hibernation volume.


    Please repeat the steps mentioned above until you see the main interface of MiniTool Partition Wizard Bootable Edition. Then use "Format Partition" and "Delete Partition" features to complete. Be sure that you are performing on the right partition.


    Tweet Your New Skill


    Error 2 - The volume size is too big.


    When you are trying to format a partition to FAT32 using diskpart, you are likely to encounter the following message:

    Virtual Disk Service error:
    The volume size is too big


    format failed

    The reason is that the partition size has exceeded 32GB. In Windows, you can't create/format a partition with FAT32 file system unless you employ third-party software. The interesting thing is that although Windows won't allow to make such a partition, it is able to recognize and use it normally.

    So to format a partition that is larger than 32GB to FAT32, you can always rely on MiniTool Partition Wizard. It's "Format Partition" feature offers more choices than Windows could.

    Works for Win XP/Vista/7/8/10


    Step 1: launch MiniTool Partition Wizard and enter its main interface.
    Step 2: click the partition you want to format and select "Format Partition" from the Operations menu.
    Step 3: in the pop-up window, drop down the file system option box to select FAT32 as the target file system. Then click "OK" to go back to the main interface.
    Step 4: click "Apply" to execute this conversion.

    virtual disk service error 5

    Tip: MiniTool Partition Wizard can help to convert NTFS to FAT32 without bringing any data loss. Thus if a data partition is employed with NTFS file system and you want to convert it to FAT32, you can have a try on its "Convert NTFS to FAT 32" feature (available on paid editions).

    virtual disk service error 6


    Error 3 - The specified disk is not convertible. CDROMs and DVDs are examples of disks that are not convertable.


    When using diskpart to convert a hard drive disk from MBR to GPT or vice versa, you will undoubtedly receive the following error message:

    Virtual Disk Service error:
    The specified disk is not convertible. CDROMs and DVDs are examples of disks that are not convertable.


    conversion failed

    The reason is that by using windows built-in utility to convert disk type, you should wipe all partitions on that drive and then convert the drive to GPT or MBR. Thus, if you insist on converting disk type using diskpart, you need to run the following commands in order:

    List disk
    Select disk n where n is the drive number of the target disk
    Clean
    Convert GPT (or convert MBR)

    However, what if the target disk contains important data and you are tired of data backup? In this case, we suggest using MiniTool Partition Wizard to convert hard disk drive from MBR to GPT and vice versa.

    Note: Partition Wizard 9.1 won't allow converting system disk from MBR to GPT.


    Step 1: launch MiniTool Partition Wizard and enter the main interface. Click on the disk to be converted and select "Convert GPT Disk to MBR Disk" or "Convert MBR Disk to GPT Disk", depending on whether the disk is currently using GPT or MBR.
    Step 2: click "Apply" to finish conversion.

    virtual disk service error 7

    Error 4 - Only the first 2TB are usable on large MBR disks.


    When trying to create or extend a partition to more than 2TB on MBR disk, definitely you will see the following error message:

    Virtual Disk Service error:
    Only the first 2TB are usable on large MBR disks.
    Cannot create partitions beyond the 2TB mark, nor convert the disk to dynamic.


    extend MBR failed

    By viewing the error message, you know this is caused by the 2TB limit on MBR disk. Thus, the only way to make use of the left space is to convert the MBR disk to GPT. As we have explained in the former part, diskpart requires cleaning the drive before conversion and will lead to data loss, thus using Partition Wizard to do the conversion without data damage is the first choice.

    Please follow the steps in Error 3 to finish the conversion. After that, you can make use of the rest storage space by creating new partitions or extending current partitions.

    Tweet Your New Skill


    Error 5 - The size of the extent is less than the minimum.


    When trying to use diskpart to extend a partition on basic disk, the following error message may appear:

    Virtual Disk Service error:
    The size of the extent is less than the minimum.


    extend partition failed

    The reason is that you are trying to extend a primary partition by adding some free space. Usually, unallocated space can be used to extend primary only (in Server 2003, things are a little different, see more), and free space can be used to extend logical partition only. Thus, when using free space to expand primary partition, the size of the extent is less than the minimum error occurs.

    Then how to avoid this error? You can turn the primary partition to logical (will lead to data loss) or you can choose to delete the free space to make it unallocated. But in our opinion, using MiniTool Partition Wizard is much easier, because it takes both unallocated space and free space as unallocated space, and is able to use the unallocated space to extend any partition on the same drive.

    Step 1: launch MiniTool Partition Wizard to its main interface. Then click on the partition to be extended and choose "Move/Resize Partition" to occupy the adjacent unallocated space or "Extend Partition" to take storage space from any partition that can offer some free space.

    virtual disk service error 8

    Step 2: follow the guidance to specify the extending.
    Step 3: press "Apply" to save changes.

    Error 6 - The volume requires contiguous disk extents.


    When trying to extend a volume on dynamic disk, sometimes this error messages appears:

    Virtual Disk Service error:
    The volume requires contiguous disk extents.


    On dynamic disk, diskpart is supposed to be able to extend simple volume and spanned volume as long as there is unallocated space, no matter whether it is contiguous or not. However, the exact reason that leads to this error message is not clear. Reformatting the hard drive or trying third-party software has been proved to be useful by many users.

    Note: MiniTool Partition Wizard Free Edition does not support dynamic disk management. Thus you need the help of paid versions. Here take the Pro Edition which is compatible with Windows XP/Vista/7/8/10 for example.


    Step 1: run Partition Wizard Pro, click on the simple/spanned volume to be extended and select "Move/Resize Volume" from the Operations menu.

    virtual disk service error 9

    Step 2: drag the triangle to occupy part of/all unallocated space. Then click "OK" to go back to the main interface.

    virtual disk service error 10

    Step 3: hit "Apply" to finish extending.

    virtual disk service error 11

    Error 7 - The extended partition is not empty.


    Another common error message is that when you try to delete a partition, you may come across the following:

    Virtual Disk Service error:
    The extended partition is not empty.


    delete failed

    The reason is that you are deleting the extended partition. However, there are logical partitions included in the extended partition. To overcome this issue, you should delete the logical partitions one by one at first and then carry out deletion on the extended partition.

    In our example, you should type these commands next to the error message to finish deleting extended partition:
    Select partition 2 (the logical partition)
    Delete partition
    Repeat these commands until there is no logical partition, then type:
    Select partition 0 (the extended partition)
    Delete partition

    Using MiniTool Partition Wizard to delete extended partition can avoid or at least weaken this embarrassment, because when deleting a logical partition, Partition Wizard turns it into unallocated space directly instead of free space, thus avoiding the process of deleting the extended partition at last.

    Step1: at the main interface of Partition Wizard, click on the logical partition you want to delete and choose "Delete Partition" from the Operations menu.
    Step 2: click "Apply" to finish the deletion.

    virtual disk service error 12

    Error 8 - Assigning or removing drive letters on the current boot or pagefile volume is not allowed.


    When using diskpart to change drive letter, sometimes you will receive the following error message:

    Virtual Disk Service error:
    Assigning or removing drive letters on the current boot or pagefile volume is not allowed.


    assign drive letter failed

    This occurs when you are making changes on the current boot volume or pagefile volume. Sometimes after reinstalling OS, you find that the system partition is D instead of C, so you want to make an exchange. However, Microsoft says removing or changing drive letters on them may cause some programs run incorrectly. Even when you turn to Disk Management, you will see "The parameter is incorrect" when changing drive letter or "Assigning or removing drive letters on the current boot or pagefile volume is not allowed" when removing drive letter.

    What if you really need to change the drive letter? Here we have to say you are recommended to keep the drive letter as it is, or make a partition backup and then reinstall OS.

    Apart from the above virtual disk service errors, there are many other similar errors that can occur when using diskpart to deal with disk/partition management. When you come across such error messages, remember you can have MiniTool Partition Wizard at hand, to overcome the problems.

    Summary


    In this post, we introduce what is virtual disk service, along with how to repair virtual disk service errors. If you are the one who is troubled by these errors, try MiniTool Partition Wizard, you will be amazed at how it deals all issues flexibly and how user-friendly it is. If you have any questions towards using MiniTool Partition Wizard, welcome to leave comment to let us know. Also, you can contact support@minitool.com for technique assistance.