Increase the C: Drive when the EFI System Partition is in the way Windows 10 Pro

Problem Cannot extend the C:…

Login

Blog History

Problem

Cannot extend the C: Drive of my Windows 10 Pro VMWare Virtual Machine.

When attempting to extend the C: drive the Windows disk manager extend option is greyed out

My Windows 10 Pro VM had a disk comprising

  1. 579MB System Reserved (recovery partition)
  2. ~80GB C: Drive
  3. FAT32 100MB (EFI System Partition)
  4. and I had extended the drive and created a 40GB but found that because of the FAT32 100MB partition I couldn't right click and extend the C: drive

Cause

Windows 10 Pro installed itself with a FAT32 EFI partition at the end of C: and I can't extend the disk in VMWare Workstation and then extend C: using windows tools. You need contiguous space to extend the drive

Resolution Steps

  1. In VMWare Workstation (or this could be virtualbox too) create a Ubuntu/Fedora Virtual Machine or run a live CD in a VM and install gparted.
  2. With the Linux VM shutdown add an existing disk and point it at the Windows 10 Pro Disk. Choose not to convert the disk to a later format if asked.
  3. Using gparted delete the un-needed partition and move the FAT32 partition to the end of the disk. Here is a screen video of the process I took a few goes so you may need to skip to the end
  4. Shutdown the Linux VM
  5. Configure the Windows 10 Pro VM to boot from Windows 10 Install CD
  6. Fix the EFI partition. I used the rough steps here but I didn't shrink the C: drive or create the fat32 partition I only selected the fat32 partition and then re-formatted it and recopied the EFI files across using the bcdboot command
  7. From Windows 10 extend the C: Drive

Disk Layout Before

Note the view from GParted has the small fat32 partition straight after the 79.33GiB partition it needs to be moved to the end of the disk to allow C: to expand and the 40GiB partition deleted

Disk Layout after partition delete and move

Format & Repair the EFI Partition

Disk layout after C: has been extended

From within Windows 10 Pro it needs to look like this

Disk Management showing C: Drive after EFI partition has been moved to the end of the disk and C: being extended

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

The reCAPTCHA verification period has expired. Please reload the page.