The simplest way imho would be to use Windows configuration designer.
It generates a file that automate windows oobe when put on a USB key connected to the pc during setup.
It's an open source textGUI powershell suite with hyperlinks to all the toggle tweaks, maintained by one talented MS engineer and contributed to and eyeballed by a hundred odd contibuters.