Today’s blog is going to cover some issues around customizing default user profiles when deploying Windows. There are a number of resources available on the CopyProfile topic
I wanted to let add some additional points around this topic to help with your deployments:
How you use CopyProfile depends on how the image is created and how it is deployed. Some of the common scenarios are listed below
Manual build of image (not recommended)
If you are building the image manually you should follow these basic steps
If you use ConfigMgr to deploy this image you do not need to do anything special in ConfigMgr to deploy it to get CopyProfile to work. So you do not need to modify any unattend settings in the task sequence
Use MDT 2010 to build the image and to deploy the image
Note: I would recommend that if you are using MDT 2010 to upgrade to MDT 2010 Update 1 because there have been a number of fixes in the sysprep and capture task sequence. You must always re-created your sysprep and capture task sequence after installing update 1 in order to get these fixes.
Because MDT runs setup.exe to apply an image (instead of just using imagex to apply it) the following outlines the steps required
Note: If you use MDT 2010 to capture the image it does not capture the Windows\Panther folder so if you were to deploy it manually using imagex, WDS, or some other manner then CopyProfile would not execute. It would be better to manually capture the image using imagex if you are not going to deploy it with MDT
Use MDT 2010 to build the image and capture it then use ConfigMgr to deploy the image
<?xml version="1.0" encoding="utf-8"?> <unattend xmlns="urn:schemas-microsoft-com:unattend"> <settings pass="specialize"> <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="<a href="http://schemas.microsoft.com/WMIConfig/2002/State"">http://schemas.microsoft.com/WMIConfig/2002/State"</a> xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance"">http://www.w3.org/2001/XMLSchema-instance"</a>> <CopyProfile>true</CopyProfile> </component> </settings> <cpi:offlineImage cpi:source="catalog:c:\flat\install_windows 7 enterprise.clg" xmlns:cpi="urn:schemas-microsoft-com:cpi" /> </unattend>
Note: I would not recommend copying/pasting the example since you need to account for different architectures.
If you use the ConfigMgr capture media to capture the image instead of MDT 2010 you should follow steps 2-5.
The benefit of specifying the unattend.xml in this manner is that the file is located outside the image and is easy to update or change.
Hopefully this helps to explain more around this issue and if a specific customization is not copied as part of the CopyProfile process I would encourage readers of this blog to post the exact setting that was lost. We would also need exact steps on how the setting was configured so we can evaluate the impact of this issue
Scott McArthur Senior Support Escalation Engineer Microsoft Enterprise Platforms Support