I wouldn't suggest using diskpart
if the hard drive already has some data on it, especially if you've installed the system on it. This is because if you don't know how to use it, then it's better to avoid using it to prevent you from data loss.
You can use a third party tool to do that instead, which will give you the same results.
Use EaseUS Partition Master (Free Edition), or visit the Best Free Partition Management Software page to have a look at other tools.
In case you still prefer to do it the long way, using diskpart
, follow these steps :
- Open the Command Prompt as Administrator. Type
diskpart
and hit Enter.
- Once you enter to the diskpart screen type
list disk
and hit Enter.
- Now a list of the disks will be shown, type
select disk x
(the X is the disk number that has an unallocated space) and hit Enter.
- Now, type
create partition primary size=x
(The X is the number that you got from the Free column on the previous step) and hit Enter.
- After the creating is done, type
select partition 2
and hit Enter.
- Now that you are in the new partition, you need to format it by typing
format fs=ntfs quick
and hit Enter.
- After that, type
assign
and hit Enter.
- Then, type
active
and hit Enter.
- Now, your new partition is ready to use.
P.S: Make sure that you select the correct disk that you want to create a new partition on it. Also, Disk 0
is the disk that has the current system installed on.
This is an example of how the above process works:
Suppose that I have an 8GB flash drive that it has one partition with size 4GB, and an unallocated space of 3535MB (about 3.5GB). So I need to use the unallocated space and create a new partition to be used.
Hi, I have a brand new ssd disk, for some reason when i do list disk, the disk have 0 free, i am wondering why? this (0 free) doesnt have any sense – user668027 – 2016-04-29T09:19:58.917
@user668027 if you mean that the "0" under Free column, don't worry about it, because it shows the total unpartitioned space on your SSD. – iSR5 – 2016-04-29T09:40:35.273
If you have a partition that occupies a part of the disk, you can select it, delete it and then create a partition. – Asu – 2017-07-27T23:19:27.903