Delete the recovery partition between the C drive and the D drive#
- Click on This PC -> Manage -> Disk Management in order.
You can see from the above image that there is a recovery partition between the C drive and the D drive. This prevents the C drive from being extended even if the D drive is deleted, and the partition in between cannot be deleted by right-clicking. - Enter cmd.
- Enter the command to delete the recovery partition.
Microsoft Windows [Version 10.0.19044.1620]
(c) Microsoft Corporation. All rights reserved.
C:\WINDOWS\system32>diskpart
Microsoft DiskPart version 10.0.19041.964
Copyright (C) Microsoft Corporation.
On computer: LAPTOP-CHL12PRU
DISKPART> list disk
Disk ### Status Size Free Dyn Gpt
-------- ------------- ------- ------- --- ---
Disk 0 Online 465 GB 6144 KB *
Disk 1 Online 931 GB 0 B *
DISKPART> select disk 0
Disk 0 is now the selected disk.
DISKPART> list partition
Partition ### Type Size Offset
------------- ---------------- ------- -------
Partition 1 System 260 MB 1024 KB
Partition 2 Reserved 16 MB 261 MB
Partition 3 Primary 248 GB 277 MB
Partition 4 Recovery 974 MB 249 GB
Partition 5 Primary 215 GB 250 GB
DISKPART> select partition 4
Partition 4 is now the selected partition.
DISKPART> delete partition override
DiskPart successfully deleted the selected partition.
Now:
- Extend the C drive to the entire physical solid-state drive.
On the D drive, right-click -> Delete Volume.
On the C drive, right-click -> Extend Volume. - Final result.