Download the Windows Deployment sample answer files. In Notepad, open the file for your PC type, for example, Autounattend_x64_UEFI.xml. This file contains all of the settings that are needed to automate the installation process.
If you’re creating PCs for consumers, add your technical support info to the OEMInformation section, including your company name (Manufacturer) and website (SupportURL). For info, see the Licensing and Policy guidance on the OEM Partner Center.
Optional: change the language shown by the Windows installation program. In the Microsoft-Windows-International-Core-WinPE section, change from en-US to your own language/culture. A list of language/cultures appears here: Available Language Packs for Windows.
Enter one of your product keys in the UserData section under Key. You can re-use the same key for multiple installations because the key is used to identify the edition only (for example, Windows 8.1 Pro), and isn’t used to activate Windows.
Save the file as Autounattend.xml in the root folder of the USB drive.