Steven Shiau - 2019-05-26

Yes, you might have to write your own script for this purpose.
You need some tools for this purpose, and it depends on the OS you will deploy.
If it's MS windows, I suggest you check this one:
https://drbl-winroll.org/

Steven