Run Sysprep with an Answer File
For a more automated and complex customization, including registry modifications, you can use an answer file (unattend.xml) with Sysprep. The answer file can specify changes to the registry under the specialize configuration pass.
Create an Answer File: Use the...