How to Fix DiskPart Virtual Disk Service Errors in 2020

Brithny updated on Sep 10, 2020 to Partition Master | How-to Articles

What Is DiskPart Virtual Disk Service Error

According to Microsoft, Virtual Disk Service is a Microsoft Windows service that performs query and configuration operations at the request of end users, scripts, and applications. It enables users to manage disk hard drives, volumes, etc., by running the DiskPart command prompt.

Sometimes, you will receive a DiskPart virtual disk service error while running DiskPart command to manage your disk partition, including format disk to FAT32, clean a disk, delete partitions, convert MBR disk to GPT disk or vice versa, etc. 

Accordingly, the fixes toward different errors on DiskPart may differ. On this page, we list the typical Virtual Disk Service errors along with the solutions. 

Common DiskPart Virtual Disk Service Errors and Solutions

Check the exact error that you are having and refer to the right solution to get rid of it from your computer immediately.

8 Common DiskPart Virtual Disk Service Errors and Fixes:

  1. # Error 1: Clean is not allowed on the disk containing the current boot, system, pagefile, crashdump or hibernation volume
  2. # Error 2: The specified disk is not convertible. CDROMs and DVDs are examples of disks that are not convertible
  3. # Error 3: Delete is not allowed on the current boot, system, pagefile, crashdump or hibernation volume
  4. # Error 4: There is no media in the device
  5. # Error 5: The volume size is too big
  6. # Error 6: There is not enough usable space for this operation
  7. # Error 7: The service failed to initialize
  8. # Error 8: The media is write protected

You Must-Have Tool

The best way to deal with Diskpart Virtual Disk Service errors is to try a powerful third-party disk management tool. EaseUS partition tool, which wins the praise of numerous users, is a wonderful choice. It perfectly resolves each error on your computer within a few simple clicks. 

Download it, and let's see how it works to help. 

Download Now

 Windows 10 is supported

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

Applies to: 

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

Virtual Disk Service Error: Clean is not allowed

This error usually comes when you run DiskPart clean command on a system disk. If you tend to clean up the old system disk or a running system disk to reinstall the Windows OS, you'll need to create a bootable disk using EaseUS Partition Master.

The Delete All feature in EaseUS Partition Master works the same as the clean command, which deletes all partitions that you may apply for help.

Tutorial: Two Options to Fix Virtual Disk Error - Clean is not allowed

  1. #1. Clean Up OS Disk - Delete All Partitions with OS
  2. #2. Clean Up Data Disk - Delete All Partitions

#1. Clean Up OS Disk - Delete all partitions with OS:

 

Step 1: Prepare a disc or drive

To create a bootable disk of EaseUS Partition Master, you should prepare a storage media, like a USB drive, flash drive or a CD/DVD disc. Correctly connect the drive to your computer.

Launch EaseUS Partition Master, go to the "WinPE Creator" feature on the top. Click on it.

create easeus partition master bootable disk

Step 2: Create EaseUS Partition Master bootable drive

You can choose the USB or CD/DVD when the drive is available. If you do not have a storage device at hand, you can also save the ISO file to a local drive, and later burn it to a storage media. Once made the option, click "Proceed".

create easeus partition master bootable disk

You have created an EaseUS Partition Master WinPE bootable disk. You can restart the computer and boot through the bootable drive, manage your hard disks and delete all partitions, including the OS partition.

Step 3: Wait and enter EaseUS Partition Master interface

Here you can right-click on the system disk and select "Delete all".

Start PC and enter into EaseUS Partition Master, select to delete all partitions.

Step 4: Click "OK" to confirm that you want to delete all partitions on the selected disk drive, including the Windows OS.

Confirm to delete all partitions with OS.

Step 5: Click "Execute Operation" and "Apply" to keep all changes on your computer.

Keep all changes on Windows PC.

#2. Clean up and delete all existing partitions on the data disk:

Launch EaseUS Partition Master > Right-click on the target disk and select "Delete All" > Click "OK" and "Execute Operation".

Confirm to delete all partitions with OS.

Error 2: The specified disk is not convertible. CDROMs and DVDs are examples of disks that are not convertible

Applies to:

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

Virtual Disk Service Error: The Specified Disk is not convertible

When you type list disk  > select disk * > convert GPT or convert MBR but received an error message, telling that you are having a virtual disk service error on the current disk, the reason is that you have partitions existing on the drive.

So how to fix this error? You have two ways out:

Two Fixes for Virtual Disk Service Error - Specified Disk Is Not Convertible

  1. #1. Convert Disk to MBR/GPT without Losing Data
  2. #2. Clean Disk and Convert Disk to MBR/GPT

#1. Directly Convert Disk to MBR or GPT using EaseUS Partition Master

EaseUS Partition Master is an excellent DiskPart alternative tool that enables you to convert a disk to MBR or GPT without deleting partitions. No data loss issue will occur.

Follow steps below to fix the virtual disk service error - the specified disk is not convertible error on your own:

- Convert MBR to GPT:

Step 1. Download and launch EaseUS Partition Master on your Windows computer.

Step 2. Right-click the MBR disk that you want to convert and choose "Convert to GPT".

convert MBR to GPT - 1

Step 3. After that, find and click the "Execute 1 Operation" button on the toolbar and choose "Apply" to start the conversion. You need to restart your device to enable this change.

convert MBR to GPT - 2

- Convert GPT to MBR:

Right-click target GPT disk on EaseUS Partition Master > Select "Convert to MBR" > Click "OK" > "Execute Operation".

#2. Clean and Convert Disk to MBR/GPT using DiskPart Command

It requires deleting partitions before converting drive to GPT or MBR using the DiskPart conversion command. Therefore, if you have important data saved on the target disk, back up data to an external hard drive first.

Here are the steps:

Step 1. Open DiskPart by typing cmd in the Search bar, right-click Command Prompt and select "Run as Administrator".

Then type diskpart and hit Enter.

Step 2. Type the following commands and hit Enter each time:

  • list disk
  • select disk * (replace * with the target disk number)
  • clean
  • convert gpt or convert mbr
  • exit

Error 3: Delete is not allowed on the current boot, system, pagefile, crashdump or hibernation volume

Applies to:

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

Virtual Disk Service Error: Delete is not allowed

Note that this error often occurs when you set command in DiskPart to order Windows to delete the boot partition or system partition on its own. If you input the wrong volume number, retry to delete partitions again with the right volume number.

If your goal is to delete the OS partition or boot partition, try the below tutorial.

Fix: Delete Boot/System Volume via EaseUS Partition Master Bootable Disk

EaseUS Partition Master offers a safe way to help you delete the OS partition or the boot drive from its bootable disk.

Download Now

 Windows 10 is supported

  1. 1) You need first create an EaseUS Partition Master WinPE bootable disk.
  2. 2) Next, boot PC from EaseUS Partition software from the bootable disk.  
  3. 3) Enter EaseUS Partition Master main window, right-click on the system or boot partition and choose "Delete" and click "OK".
  4. 4). Last, click "Execute Operation" to start deleting the boot, system, pagefile, crashdump, or hibernation volume.

Error 4: There is no media in the device

Applies to:

Virtual Disk Service error:
There is no media in the device.

Virtual Disk Service Error: There is no media

When you run DiskPart to perform some operations on your target disk but receive virtual disk service error: there is no media in the device, it means that DiskPart could not find specified media. In other words, it could not load nor access the device.

2 Fixes for Virtual Disk Service Error - There Is No Media in The Device

#1. Change USB port to reconnect an external storage device or reinstall an HDD/SSD disk

#2. Update No Media Device Drive Driver:

Step 1. Right-click "This PC" and choose "Manage" > "Device Manager".

Step 2. Expand "Disk Drives", then right-click your problematic device that shows no media and select "Update Driver".

Step 3. In the new window, choose "Search automatically for updated driver software".

Fix there is no media in the device - update driver

You may also refer to: There Is No Media in The (Specified) Device for further fixes.

Error 5: The volume size is too big

Applies to:

Virtual Disk Service error:
The volume size is too big.

Virtual Disk Service Error: The volume size is too big

This error often occurs when you tend to format a large partition or a USB/external hard drive to the FAT32 file system using DiskPart utility. Due to the limit of the FAT32 file system, Windows doesn't allow you to format a device larger than 32GB into FAT32. To fix this error, you have two options, as listed below.

2 Methods to Fix Virtual Disk Service Error - The Volume Size Is Too Big

  1. #1. Format Large Device to FAT32
  2. #2. Format Large Device to Other File System

#1. Using Third-Party Formatting Tool to Format Large Device to FAT32

If you tend to use a large device as a FAT32 removable drive, professional formatting tool - EaseUS Partition Master is your best shot. It breaks the limit of FAT32, enabling users to set large storage devices (more than 32GB) to FAT32 via its Format feature:

Download Now

 Windows 10 is supported

 

Step 1: Launch EaseUS Partition Master, right-click the partition you intend to format and choose "Format".

Format Hard Drive Partition - Step 1

Step 2: In the new window, enter the Partition label, choose the FAT32 file system, and set the cluster size according to your needs, then click "OK".

Format Hard Drive Partition - Step 2

Step 3: Then you will see a warning window, click "OK" in it to continue.

Format Hard Drive Partition - Step 3

Step 4: Click the "Execute Operation" button in the top-left corner to review the changes, then click "Apply" to start formatting the partition to FAT32.

Format Hard Drive Partition - Step 4

#2. Format Device to Other File Systems

The other fix that you can try is to change the file system, formatting your hard drive or external USB to other Windows supported format - NTFS (for internal HDD/SSD partition) or exFAT (for external hard drive):

Step 1. Right-click "This PC" and choose "Manage". Then go to "Disk Management".

Step 2. Right-click the target hard drive partition and choose "Format".

format a partition in Disk Management

Step 3. Set the volume label, file system, and click "OK" to start formatting the drive.

Error 6: There is not enough usable space for this operation

Applies to:

Virtual Disk Service error:
There is not enough usable space for this operation.

Virtual Disk Service Error: There is not enough usable space

This error often occurs when there is no unused free space or not enough unallocated space available on a hard disk for some specific operations, such as to extend a partition or to create a primary partition using DiskPart utility.

Two Fixes:

  1. 1]. Shrink Partition to leave unallocated space
  2. 2]. Extend Partition with or without unallocated space

Error 7: The service failed to initialize

Applies to:

Virtual Disk Service error:
The service failed to initialize.

Virtual Disk Service Error: The service fail to initialize

Normally, the Virtual Disk Service starts automatically on Windows PC. However, it may not start sometimes or failed to initialize.

Two Fixes:

1]. Open DiskPart utility > Type net start vds and hit Enter.

2]. Manually restart Virtual Disk Service: Type services in the Search box and hit Enter > Right-click or double-click "Virtual Disk" service > Select "Start".

This will change the Virtual Disk service startup type from Manual to Automatic, then restart Windows.

Start Virtual Disk Service

Error 8: The media is write protected.

Applies to:

Virtual Disk Service error:
The media is write protected.

Virtual Disk Service Error: The service failed to initialize

This error often occurs when a storage device is encrypted or locked due to some manual operation or device error. And the fixes toward this issue are multiple.

Full Fixes:

5 Ways to Remove Write Protection from USB, SD, internal/external hard drive in Windows 10/8/7.

Conclusion

These are multiple solutions that can fix the typical Virtual Disk Service errors that you might encounter while manage disk partitions using Diskpart.

As we addressed, the methods to fix each error are different. You need to confirm the exact problem you are having in DiskPart to decide which method to apply. We collected the most possible ways to help you out and hope they are helpful! 

If the problem that you are having is not included on this page, use the Search option at the top right corner on our homepage: https://www.easeus.com for help.

Was This Page Helpful?

 
 
 

Frequently Asked Questions

Why Choose EaseUS Partition Master?

"I've used Partition Master Professional many times to create, delete, format, move, rename, and resize partitions."PCWorld

"Partitioning tools have come a very long since the days of complicated command line utilities and EASEUS Partition Master is one of the most advanced programs available."TECH ADVISOR

"I love that the changes you make with EaseUS Partition Master Free aren't immediately applied to the disks. It makes it way easier to play out what will happen after you've made all the changes."Lifewire

Will the "Migrate OS" feature transfer the Windows system files only or the whole C drive?

To ensure that the migrated system will boot normally, the Migrate OS feature will transfer all the files in the system and the boot partitions. Generally, the boot partition is the C drive so the transfer will include all the files in C.

Does EaseUS Partition Master license apply to multiple computers?

The license of Partition Master Professional and Server editions can be used on 1 computer only, while that for for the Technician and Unlimited editions can be used on multiple machines.

What is the difference between EaseUS Partition Master Trial version and the Free version?

Free is for home users only, with most basic functions available such as partition resize and clone. While trial can help you understand how this product works and test what a full license can do on a business or server OS machine.

Will it cause any data loss after resizing the partition in EaseUS Partition Master?

Generally, it will not cause any data loss or boot issue by resizing a partition. However, in order to protect your data, we suggest that you backup the partition before resizing, in case of any unexpected situations such as power outages, computer hardware failures, etc. You can use EaseUS Todo Backup to backup the partition and its trial version is fully functioned for 30 days.

What should I prepare before resizing the partition?

On the partition that is going to be operated, there might be some files being occupied by other programs. To ensure a successful operation, we suggest that you close all the unnecessary software before resizing that partition. Otherwise, EaseUS Partition Master will detect the partition being locked by the other software and require a reboot to resize the partition under boot mode.

About EaseUS Partition Master

All-round disk & partition management software for personal and commercial use. Let it manage your storage drive: resize, format, delete, clone, convert, etc.

Video Tutorial

How to Partititon a Hard Drive on Windows 10/8/7