Quando usar o parâmetro CopyProfile?

Esta dúvida sempre aparece e, muitas vezes, somente após realizar testes é que é possível responder.

Este é o procedimento que sigo.

a) Remover <Usuario> (criado no setup do Win7) pelo Control Panel / Add or Remove User Account

b) Clicar com botão direito no desktop / Personalize / Change desktop icons / desmarcar a opção "Allow themes to change desktop icons"

c) Não alterar o CopyProfile no Unattend usado para captura da imagem

d) Indicar “CopyProfile=true” no Unattend.xml de instalação da imagem

E segue algumas referências sobre o assunto.

· Deployment Guys

One final important point to remember is the difference in behavior between Windows XP/Windows Server 2003 and Windows Vista and higher with respect to when the answer file setting must be present for the automated profile copy to occur. On Windows XP and Windows Server 2003, if you want to change the behavior of the automated profile copy, the UpdateServerProfileDirectory entry must be present in Sysprep.inf when Sysprep is run. This is because the profile copy happens when Sysprep is run on Windows XP and Windows Server 2003. The exact opposite is true for Windows Vista and higher. The CopyProfile setting must be set to True in the final answer file that is present when the OS restarts after Sysprep (Specialize phase) or the answer file used when Setup is used to deploy the custom image. This setting does not necessarily have to be present in the answer file used during the image build when Sysprep is run (Generalize phase). This is because the profile copy for Windows Vista and higher happens only during the Specialize phase. So if you are using a deployment tool like ConfigMgr or MDT that may modify/replace the Unattend.xml, make sure that CopyProfile is configured in the answer file used for deployment.

· Artigo KB 973289

Create an Unattend.xml file that contains the Copy Profile parameter. By using this Copy Profile parameter, the settings of the user who is currently logged on are copied to the default user profile. This parameter must be set to "true" in the specialize pass.

· https://blogs.technet.com/b/askcore/archive/2010/07/28/customizing-default-users-profile-using-copyprofile.aspx

[Atualizado] · https://support.microsoft.com/kb/2101557 (descreve quando a captura da imagem ocorre e há mais de um perfil de usuário) [/Atualizado]