Windows pagefile cannot be moved

Background:
I have Windows 10, installed on an (old school) hard drive originally. Drive letter C:
I later installed an SSD (E:), and decided to put my pagefile there. Both disks are NFS.

Now that Windows 10 is out of support, I want to install Linux, but that ran into a problem when partitioning, so I went back into Windows to resize the SSD, using the Windows 10 disk management tool.

However, this only lets me use a fraction of the size of the SSD, despite the fact it’s 85% empty.

After a quick search, I found out the reason for that is most likely the pagefile on that partition.
Now Windows won’t let me manually move that file, fair enough.

So I went via sysdm.cpl -> Advanced -> Performance -> Advanced to the page file section,
to change the page file to another disk.

I tried:
– setting the SSD (E:) to not have a page file at all
– setting the old disk (C:) to have a page file

and rebooted.

No effect: The page file remains on E:, and there is no page file on C:

I also tried setting a smaller page file on E:, rebooted.
No effect: The page file on E: remains the same size, no page file on C:

I then tried setting all disks to not have a page file, rebooted.
No effect.

I then tried to set C: to have a system managed page file, none on E:.
No effect.

Note that the sysdm.cpl always displays the changes as having taken effect, but looking at the file explorer, there is no page file on C:, despite the cpl saying so, and there is a page file on E:, despite it supposedly no longer being relevant (or of smaller size).

What I would like to achieve, in the end, is the page file to either not exist, or be on C:, so that I can resize the partition.

I do not want to format the entire partition, since it has some game files on it that now won’t fit on my old drive. More importantly, I want the system to continue to work, just in case.

Does anyone have an idea of what I can do to get rid of this page file safely, i.e. without wrecking Windows?