I think there might be a simpler and safer way.
I sometimes use the Jinn'sliveusb 11 build for installation.4.
It does not apply automatic partitioning, but after the installation is complete and you log in to the system,
Disk C does not have the disk name "Local Disk", but "Windows 10".