In my experience, messing with Windows in this manner (especially with an unmaintained script as this one is) results in a broken installation after enough updates. I just let my Windows partition do whatever the hell it wants, and keep my use of it to absolutely minimal levels.
https://github.com/Disassembler0/Win10-Initial-Setup-Script