Copy User Profile to Default User Using MDT
-
Saturday, February 09, 2013 9:12 PM
Looking into how Win7 handles copying profiles (way diff than XP, or maybe i was doing it wrong in XP) it seems it's only possible through the unattend.xml file.
Since i've got this file already (in "DeploymentShare\Control\<task_sequence_id>\unattend.xml"), i was wondering how (or i guess "where") would i add the line "Microsoft-Windows-Shell-Setup\CopyProfile" so that it copies the profile over to the Default User profile.
and i guess i should also ask "how do i specify the name of the profile i want to use to overwrite the default user" (my current profile that i use to configure things is "BuildUser")
~if this were /. this sig would be funny
- Edited by can_i_bum_a_sig Saturday, February 09, 2013 9:13 PM
All Replies
-
Saturday, February 09, 2013 10:03 PM
When you create a task sequence there's an OS Info tab for accessing the associated unattend.xml file. There's a button there that will launch WSIM, from there add the change and save it. It will apply to any deployments from that task sequence.
/Andrew
Blog: http://scriptimus.wordpress.com
-
Saturday, February 09, 2013 10:06 PMCheck out Johan's explanation of CopyProfile (http://www.deploymentresearch.com/Blog/tabid/62/EntryId/43/How-CopyProfile-really-works-in-Windows-7-Deployments.aspx). You want to use the CopyProfile in your Unattend.xml in your Deploy task sequence. Also, if using CopyProfile, you should be using the default admin account to configure it, not a custom user. See http://support.microsoft.com/kb/2101557 for limitations and issues and logging to help determine which account CopyProfile ran against.
David Coulter | http://DCtheGeek.blogspot.com | @DCtheGeek
-
Monday, February 11, 2013 6:51 PM
that button seems to kick off a cataloging process that takes forever. just browsing to the unattend.xml file, i found this section:
<settings pass="specialize">
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State">
<ComputerName></ComputerName>
<ProductKey>xxx</ProductKey>
<RegisteredOrganization>xxx</RegisteredOrganization>
<RegisteredOwner>xxx</RegisteredOwner>
<TimeZone></TimeZone>
<DoNotCleanTaskBar>true</DoNotCleanTaskBar>
</component>could i add the CopyProfile=True to this file manually? do you know the syntax?
~if this were /. this sig would be funny
-
Monday, February 11, 2013 9:44 PM
http://technet.microsoft.com/en-us/library/cc748953(v=ws.10).aspx
/Andrew
Blog: http://scriptimus.wordpress.com
- Proposed As Answer by Ty Glander Monday, February 11, 2013 11:22 PM
-
Monday, February 11, 2013 11:26 PM
<CopyProfile>true</CopyProfile>
got it, thanks
~if this were /. this sig would be funny

