EaseUS Partition Master

A simple partition tool to manage disk space in Windows 10

How to Fix DiskPart Virtual Disk Service Errors in 2021

Updated by Brithny on Apr 16, 2021
Written by Brithny

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. 

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. Then, launch EaseUS Partition Master, go to the "WinPE Creator" feature on the top. Click on it.

create easeus partition master bootable disk

Step 2. You can choose the USB or CD/DVD when the drive is available. However, 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

Step 3. Connect the WinPE bootable disk to the computer. Restart your computer and press F2/Del at the same time to enter BIOS. Set to boot the PC from "Removable Devices" (bootable USB disk) or "CD-ROM Drive" (bootable CD/DVD) beyond Hard Drive. Press "F10" to save and exit.

Step 4. Install and launch EaseUS Partition Master. Select the HDD or SSD which you want to wipe. And right-click to choose "Wipe Data".

select wipe data

Step 5. Set the number of times to wipe data. You can set to 10 at most. Then, click "OK".

set the times

Step 6. Check the message. A message tells you that the computer would restart after the disk erase is recommended. Then click "OK".

check the message

Step 7. Click "Execute the operation" and then click "Apply" to start wiping data.

start wiping data
 

#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 the steps below to fix the virtual disk service error - the specified disk is not a 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.

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.

  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:

  • Right-click the external drive or USB you intend to format and choose "Format".
  • Set the Partition label, File system (NTFS/FAT32/EXT2/EXT3/EXT4), and Cluster size, then click "OK".
  • Click "OK" to continue.
  • Click the "Execute Operation" button and click "Apply" to format the hard drive partition.

#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?

author icon

Updated by Brithny

Brithny is a technology enthusiast, aiming to make readers' tech life easy and enjoyable. She loves exploring new technologies and writing technical how-to tips. On her spare time, she loves sharing things about her favorite singer - Taylor Swift on her Facebook or Twitter.

Read full bio

Product Reviews

TrustScore 4.7 | 49 reviews
  • 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. I also think the overall look and feel of EaseUS Partition Master Free makes whatever you're doing with your computer's partitions easy.

    Read More
  • Partition Master Free can Resize, Move, Merge, Migrate, and Copy disks or partitions; convert to local, change label, defragment, check and explore partition; and much more. A premium upgrade adds free tech support and the ability to resize dynamic volumes.

    Read More
  • It won't hot image your drives or align them, but since it's coupled with a partition manager, it allows you do perform many tasks at once, instead of just cloning drives. You can move partitions around, resize them, defragment, and more, along with the other tools you'd expect from a cloning tool.

    Read More

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.

Product Reviews



Video Tutorial

Video poster

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

Was This Page Helpful

How Can We Help You

Find answers to common questions below.