none
CopyProfile not being executed RRS feed

  • Question

  • I've created an answer file for my sysprep and modified the built int local admin with the settings i want to maintain, but after running sysprep the settings are not duplicated to the default user, i can see that during the initial login after sysprep the resolution and theme change to windows basic and 1024x768 even after i had set them to Aero and 1280x960. i checked the log file inside the panther folder and i could not find an entry for the copyprofile, which leads me to believe that something might be wrong with my answer file.

    here is my answer file:

     

      <?xml version="1.0" encoding="utf-8" ?>
    - <!--
      -->
    - <unattend xmlns="urn:schemas-microsoft-com:unattend">
    - <settings pass="windowsPE">
    - <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    - <SetupUILanguage>
      <UILanguage>en-US</UILanguage>
      </SetupUILanguage>
      <InputLocale>0409:00000409</InputLocale>
      <UserLocale>en-US</UserLocale>
      <UILanguage>en-US</UILanguage>
      <SystemLocale>en-US</SystemLocale>
      </component>
    - <component name="Microsoft-Windows-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    - <ImageInstall>
    - <OSImage>
    - <InstallFrom>
    - <MetaData wcm:action="add">
      <Key>/IMAGE/NAME</Key>
      <value>Windows 7 PROFESSIONAL</value>
      </MetaData>
      </InstallFrom>
      <InstallToAvailablePartition>false</InstallToAvailablePartition>
      <WillShowUI>OnError</WillShowUI>
      </OSImage>
      </ImageInstall>
    - <UserData>
      <Organization>REMOVED</Organization>
      <FullName>REMOVED</FullName>
      <AcceptEula>true</AcceptEula>
      </UserData>
      </component>
      </settings>
    - <settings pass="oobeSystem">
    - <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    - <UserAccounts>
      <LocalAccounts />
    - <AdministratorPassword>
      <Value>REMOVED</Value>
      </AdministratorPassword>
      </UserAccounts>
    - <AutoLogon>
    - <Password>
      <Value>REMOVED</Value>
      </Password>
      <Enabled>true</Enabled>
      <LogonCount>4</LogonCount>
      <Username>Administrator</Username>
      </AutoLogon>
    - <OOBE>
      <NetworkLocation>Work</NetworkLocation>
      <HideEULAPage>true</HideEULAPage>
      <ProtectYourPC>1</ProtectYourPC>
      <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
      <SkipMachineOOBE>true</SkipMachineOOBE>
      <SkipUserOOBE>true</SkipUserOOBE>
      </OOBE>
      <DisableAutoDaylightTimeSet>true</DisableAutoDaylightTimeSet>
      <TimeZone>Eastern Standard Time</TimeZone>
    - <Display>
      <ColorDepth>32</ColorDepth>
      <HorizontalResolution>1280</HorizontalResolution>
      <VerticalResolution>960</VerticalResolution>
      <RefreshRate>60</RefreshRate>
      </Display>
      </component>
      </settings>
    - <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" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <CopyProfile>true</CopyProfile>
      <ComputerName>PC</ComputerName>
      </component>
      </settings>
      </unattend>

    Monday, March 7, 2011 4:12 PM

All replies

  • I figured it out, in order for the changes to be copied over to the default profile during the sysprep process, you have to go into audit mode, make your changes and then sysprep into OOBE.

     

    hope this helps someone else.

    • Proposed as answer by Skylla Wednesday, May 4, 2011 9:42 AM
    Tuesday, March 8, 2011 12:17 AM
  • If I add Copyfile into answer file, I always get error when machine setup.

    Did you run into the same issue?

    Could you give more detail for doing this?

    Friday, March 25, 2011 9:24 PM