How to resize system partition in Win 10 on a physical machine when unallocated space is not next to the partition?

I asked a very similar question earlier

Previous question:

I've read some guides about resizing the system partition. But they all seem to require the unallocated space to come directly after the partition I want to resize. But I have this:

enter image description here

The only difference between this and the previous question is that this time I'm NOT running Windows in a virtual machine. When I was using a virtual machine, harrymc's answer worked like a charm.

But this time it didn't. I created a bootable usb stick with GParted, booted it up, moved the partition to the end and rebooted. But when I entered Windows, there where no changes. I tried it again while not only moving the recovery partition, but also resizing the C: partition directly in GParted. Again, no changes where visible when I booted back into Windows.

I'm open to the idea to use other tools than GParted. Just need to get the job done.


Solution 1:

From the extra information in your last comment I suspect your disk has both a GPT and a (backup) MBR partition table.
This is rare, but not unheard off, especially on a system that has run in UEFI with CSM enabled at some point in its life.
Normally these partition tables contain the same basic information, but somehow they got out of sync.
Windows must have used the GPT and GParted updated the MBR (or vice versa).

The crash caused Windows to verify the boot process and sync both partition tables up again.
Just to be safe have Windows do a full disk check on the C: drive. Windows may not realize by itself that might be needed.