Search This Blog

Tuesday, January 21, 2020

Diskpart Commands

Step 1: Press WIN+R and Run Diskpart to open Diskpart Window.
Step 2: Type list disk, then all the Disk in Current System will be Displayed.
Step 3: Type Select Disk *(*Represents the Disk Number)
Step 4: If You Want to Create Primary Partition, Type: create partition primary size=n(n represents the partition size in MB)

if you want to create a logical partition, you need to create an extended partition at first & then Create a logical Partition.

Step 5: if you want to create logical partition,
Type: create partition extended size=20480(x represents the extended partition size in MB)
Type: create partition logical size=20480(x represents the extended partition size in MB)
Step 6: if you want to assign letter type: assign letter=H
Step 7: if you want to do Quick format type: format fs=ntfs quick
Step 8: type convert gpt or convert mbr.
Step 9: type clean- it will remove all partition.
Step 10: if you want to extend any partiton, 
type select disk 1,
type list volume,
type select volume and then
type extend size=10000

Step 11: if you want to delete a partiton
type select disk1,
type select partition,
type delete partiton.
Step 12: if you want to wipe a disk,
type select disk 1,
type clean all.


Note:- To create a new Partition with diskpart make Sure there is unallocated Space on the Disk you Select.

You can't make a logical drive or an extended partition active. Only a primary partition can be made
active.

Do not mark a partition as active if it doesn't contain the loader for an operating system. Doing so will make
your computer unbootable.

There can be only one active partition per physical hard disk.

If you have multiple hard disks installed on your computer, it's possible for each hard disk to have a
partition set as active. However, the active partition on the first hard disk that your computer's BIOS
detects is the one that will start the computer.

Add To Google BookmarksStumble ThisFav This With TechnoratiAdd To Del.icio.usDigg ThisAdd To RedditTwit ThisAdd To FacebookAdd To Yahoo