Applies To: Windows Vista
Use the following steps to use
CopyProfile to set customized user profiles:
Log on as a user whose profile you can customize (for example, the built-in-administrator account).
Customize the desired user profile settings.
CopyProfileto true in the Unattend.xml file that you will use with Sysprep in the next step.
sysprep /generalize /unattend:unattend.xmlto copy the customized user profile settings over the default user profile.
All subsequent user accounts that are created will have the customizations that you have set. For details about Sysprep, see the Sysprep Technical Reference in the Windows OEM Preinstallation Kit (Windows OPK) User's Guide. (Opk.chm).
This setting does not copy the built-in administrator profile unless the built-in administrator is the currently logged-on user.
CopyProfile unattend setting is processed only in the specialize phase of Windows Setup, so you must use Sysprep with the
If you capture an image after the generalize phase of Windows Setup has completed (that is, after step 4) and use that image to install Windows with an explicit Unattend.xml answer file passed to Setup.exe, then the explicit Unattend.xml answer file must have
CopyProfile set to
true, otherwise the customized user profile will not be copied over the default user profile.
The built-in administrator account profile is deleted when you perform a clean Windows installation, or run the Sysprep tool. The
CopyProfile setting is processed before the built-in administrator account is deleted, so any customizations that you make should appear in the new user account profile, including the built-in administrator account profile.
Specifies that the currently logged-on user profile is copied. Set to true only if there are customizations made to the logged-on user profile that you need to apply to all new users.
Specifies that the currently logged-on user profile is not copied. This is the default value.
Microsoft-Windows-Shell-Setup | CopyProfile
For the list of the supported Windows editions and architectures that this component supports, see Microsoft-Windows-Shell-Setup.
The following XML output specifies that the user profile of the currently logged on user will be copied.