Een gebruiker 128 GB SSD-schijf liep uit de ruimte. Na gekloond de hele schijf naar een 240GB SSD en met succes opgestart, de Volume uitbreiden wordt grijs weergegeven, te voorkomen dat ik de uitbreiding van de partitie om meer ruimte te krijgen.
The reason why it’s grayed out is that there are two preserved partitions that get in the way between two partitions that want to join together. In order to extend a volume, they need to be removed so the free unallocated space needs to be right next to it. But I can’t easily delete these two system-reserved partitions using the built-in Disk Management tool. There is no option to delete it when right-clicking to it.
That’s when the command line DiskPart comes in handy. But when I selected the volume and tried to use Delete Volume to delete it, I was prompted with the following error.
Virtual Disk Service error: Cannot delete a protected partition without teh force protected parameter set.
Let’s try Delete Partition command instead. helaas, failed with the same message.
Nu, let’s try it again with the “override” flag.
DISKPART> Delete Partition Override
Succeed. The “override” flag did the trick. It basically enables DiskPart to delete any partition regardless of their type, other than the ones that are system partition, boot partition or hold active paging file.
Once these two partitions were out of the way, I went back to the Disk Management console and saw the Extend Volume option became available again.
After following a few simple steps through the wizard, I got a bigger volume that uses all the space on the new bigger SSD disk.