Long story short: I'm writing a shim for running custom privileged scripts with Windows' native shell. To test that, I'd like to have a set of custom-forged installations, one of which would involve the system installed to a non-standard location (i.e. not C:\Windows). That said, I can't figure out a way how to automate it - I've read pretty much everything on DISM, sysprep, SIM, PE and the only related thing I've stumbled upon is how to change default user profile directories (which I don't need). The worst part is that I remember being able to do so in the past - though I can't recall using what tools and how exactly in general.
Is such a thing possible or have I gone insane?
Windows 10 if that's relevant (10.0.16257+ to be more specific).