The following unattended script, winnt.sif, helps you to automate the installation of Windows operating system according to your need:-
[Data]
Autopartition = 0
MsDosInitiated = 0
UnattendedInstall = “Yes”
[Unattended]
UnattendMode=ProvideDefault
[UserData]
ProductID=”A1234-B1234-C2345-D4567-E1257″
[Identification]
JoinWorkgroup=WORKGROUP
[Networking]
InstallDefaultComponents = Yes