
For more information, see Create bootable WinPE media and Capture and apply a Windows image using a single. Use DISM to capture and then deploy the Windows installation. To do this, start the computer in the Windows PE environment. For more information, see Sysprep (Generalize) a Windows installation.Īfter you generalize the image and the computer shuts down, capture the image. The Sysprep tool removes computer-specific information from the image, while it preserves the user profile settings that you configured. In this command, F is the letter of the USB flash drive or other removable media.

On the reference computer, open an elevated command prompt, and then type this command: C:\Windows\System32\Sysprep\Sysprep /generalize /oobe /shutdown /unattend:F:\CopyProfile.xml For example, you can copy the answer file to a USB drive. For more information, see Sideload Apps with DISM.Īfter you complete the customizations, insert the media that contains the CopyProfile answer file in the reference computer. However, you can create scripts to install additional non-provisioned apps. The number of provisioned Windows runtime-based apps that you can install is limited. For more information, see Boot Windows to Audit Mode or OOBE. Install Windows on a reference computer and start the computer in audit mode. If you install Windows by using another answer file, make sure that answer file doesn't have CopyProfile or any settings that create additional user accounts. Configure the default user profile settingsĬonfigure user settings in audit mode, and then generalize the Windows installation by using an answer file that has CopyProfile set to True. You'll use this answer file when you run Sysprep.įor more information, see Best Practices for Authoring Answer Files and Unattended Windows Setup Reference. Save this answer file as copyprofile.xml.

In Windows SIM, create an answer file that has amd64_Microsoft-Windows-Shell-Setup_neutral\ added to Pass 4 - Specialize, and set CopyProfile to True.

Create an answer file that includes the CopyProfile setting Now Windows will load the usual Default Applications settings from the oemdefaultassociations.xml file when a user signs in to Windows for the first time. These registry entries are present only after running CopyProfile.
