I am currently trying to migrate my windows drive (C:) to a larger drive (L:) using a system image recovery like in https://helpdeskgeek.com/windows-10/how-to-migrate-windows-10-to-a-new-hard-drive/. However, it seems that Windows has installed some files on another drive (E:) as well. I would like all of my windows system files to be on the same drive (L:). The recovery does not allow me to migrate files unless the HDD is connected, but I would like to format the HDD for other use.
How can I get rid of the windows files and ensure that windows won't install any system files into the drive anymore? I already deleted most of the files (Something related to the windows store and Xbox apps which I don't use) but I can't delete the remaining folders: Program Files (not the main program files, this one only contains an empty folder called ModifiableWindowsApps), WindowsApps and WpSystem. Is it safe to forcefully delete them? Windows says it requires permission from TrustedInstaller when trying to delete them.
Thanks for your help,
Antti
Edit: I would like to keep my windows installation intact and not have to completely reinstall