DISKPART is a very useful command line disk management tool which can be used to manage, delete or create new hard drive partitions. But at times, when you run it to create a partition, you may see a message – No usable free extent could be found.
There are a few probable causes for this issue. They include insufficient disk space to carry out the operation or if the disk is not recognized by the system. Since only four primary partitions are recognized, if you try to create a fifth one, you may see this error. It could also appear if the disk has been partitioned using the MBR disk partitioning format.
No usable free extent could be found
If you are encountering an error message No usable free extent could be found, while running DISKPART on Windows 10, then here are a few things you could try to fix the issue.
- Use Storage Sense or Disk Cleanup to free up disk space
- Run DISKPART with Administrative Privileges.
- Use DISKPARTs clean command
- Update the USB Hub driver
- Run USB Troubleshooter.
- Switch to an alternate free Disk Partitioning software.
1] Free up disk space
You should use Storage Sense or Disk Cleanup Tool to free up disk space and see if that helps.
2] Try using DISKPART with Administrative Privileges
You can also try to Run CMD as Administrator and check if you can execute the DiskPart operation without any errors. Run CMD as Administrator and then execute the DISKPART command to perform your intended operations. You may also specify a different size & offset values for the partitioning and see if that helps.
3] Use DISKPARTs clean command
When you invoke the DISKPART utility, you can use the Clean Command to fix any issues in the disk.
First, execute the following commands in an elevated command prompt
This will initiate the Diskpart utility. Then type-
These commands will help you in either listing all the Disks connects or all the partitions on those disks formed. From here, you will have to choose one command depending on the list command you entered. So run:
select disk #
This will select the Disk or Partition you want to select. Next, run:
The Diskpart Clean command removes any and all partition or volume formatting from the disk with focus. You can try to carry out your operation again.
4] Update the USB Hub driver
The main drivers that might be a cause for this particular file will be marked with a small yellow exclamation mark icon inside of the Device Manager. If not, look out for sub-entries under Universal Serial Bus controllers entry, then we suggest you Update these drivers and mainly Generic USB Hub driver.
Alternatively, you can Uninstall them, Reboot your computer, and allow Windows to reinstall them automatically.
5] Run USB Troubleshooter
Run the Hardware and Device Troubleshooter and the Windows USB Troubleshooter and check if it helps. The automated tools check the hardware or USB connection to the computer for any known issues and fix them automatically.
6] Switch to an alternate free Disk Partitioning software.
You can try to use an alternate free Partition Manager software and try to perform the operation.
All the best.
How to enable USB diskpart?
If you want to use the DIskpart tool on a USB drive, it is possible. You will need to delete everything on the drive, including the partition, and then use the create primary partition command to create the first partition on the device. Once done, you can prepare the USB drive like any other storage device.
How to repair SSD using DiskPart?
If you have an issue accessing the SSD and want to repair it without using any third-party disk management software, then you can use DiskPart to clean everything on the SSD and recreate the partition. Any issue that can be fixed during formatting and partition creation will be done through the DiskPart tool.