This entry has been published on 2017-01-07 and may be out of date.
Last Updated on 2017-01-07.
[:en]Windows 10 Setup creates a recovery partition at the disk’s “right end”, as you can see in Windows hard disk management.
You might not even notice that this partition exists, until you want to extend your main partition’s size, e.g. after you have cloned your harddrive to a larger one. While the recovery partition exists, you cannot use Windows HDD management to enlarge a partition besides the recovery, and you also cannot delete the recovery partition within the graphical interface.
Solution
Use command-line tool diskpart:
lis dis sel dis 0 #your disk number lis par sel par 0 #your partition number del par override
[:]