Diskpart Windows 10

How to extend c drive in Windows 10 with diskpart cmd

This article introduces how to extend C drive with CMD in Windows 10. The introduction, precondition, steps to extend and limitations of Diskpart command.

What is diskpart command

Diskpart is a command-line utility used to manipulate disk partitions in all versions of Windows and Windows Server beginning with Windows XP and Windows Server 2003. The utility adds capability to the Windows Disk Management snap-in. Users can type Diskpart commands directly to configure storage, or script Diskpart to perform multiple commands via a text file script, such as create, delete, format partition, convert basic disk to dynamic.

How to run Diskpart in Windows 10

There are two ways to launch diskpart: run from cmd or locate diskpart.exe in System32 folder.

Run from cmd

  1. Stampa Finestre e R tasto sulla tastiera, tipo cmd e premere Entra.
  2. Type diskpart in command prompt window and press Entra.

Locate diskpart.exe

  1. Open C:\Windows\System32
  2. Double click diskpart.exe

Comando Diskpart

Precondition to extend C drive with Diskpart in Windows 10

Only when there is adjacent Unallocated space on the right side, you can estendere l'unità CAltrimenti, altrimenti, tu cannot extend volume in Windows 10 with DiskPart. If you extend C drive without adjacent Unallocated space, you’ll receive error message ‘Non c'è abbastanza spazio libero utilizzabile sui dischi specificati per estendere il volume.‘ If there is no such Unallocated space, the only option is deleting the adjacent volume D to release free space.

Nota: it is not a good idea to do such operation, because all Windows Services and applications running from D stop working after deleting. The best way is extending C drive with partition software.

How to extend C drive with unallocated space

Passo 1: Tipo volume dell'elenco e vedrete tutte le partizioni ma NO Spazio non allocato.

Volume dell'elenco

Passo 2: Tipo selezionare il volume 1 per mettere a fuoco il sistema C: drive.

Selezionare il volume

Passo 3: Tipo estendersi per procedere con l'estensione.

Estendere il volume

Limitation of diskpart to extend C drive in Windows 10

  1. Only when there is adjacent Unallocated space on the destro side, you can extend C drive with cmd.
  2. Only NTFS partition is supported.
  3. Unallocated space is not displayed, so you don’t know whether there is adjacent Unallocated space.
  4. Volumes are shown as list without GUI, it is difficult to see the disk partition layout.
  5. Operations cannot be undone, incorrect operation may leads to data loss.

Because of the limitations, DiskPart command is not the best tools to resize partition and extend C drive on Windows 10. To do this, professional partition software is better choice.

Scaricare NIUBI Partition Editor e seguire i passi del video:

Besides resizing and extending disk partitions, NIUBI Partition Edition can help you do many other disk/partition management operations, such as merge, copy, convert, defrag, wipe, repair, scan, set Active partition, etc.