The reason I ask is that Hashicorp's Packer[1] is awesome at doing things like that.
Personally, I have an automated Packer build that spins up Windows 8.1 and Windows 10, provisions it and installs all of the necessary software, and then preps it for Windows Deployment Services. I originally based the work off of packer-windows[2] but ended up re-rolling most of it again from scratch.
If you don't mind spending roughly a day or two figuring it out, then it's well worth it!
[1] https://www.packer.io/ [2] https://github.com/joefitzgerald/packer-windows