MSFN Forum: Help with unattend.xml file - MSFN Forum

Jump to content


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Help with unattend.xml file

#1 User is offline   theKramer 

  • Member
  • PipPip
  • Group: Members
  • Posts: 122
  • Joined: 20-July 06
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 08 November 2012 - 06:01 AM

Hi all.
I get an error in the [generalize] pass when I try to use Sysprep with my unattend.xml file.

File is attached to this post.

Can anyone help me to find the issue?

Attached File(s)




#2 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,395
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 08 November 2012 - 08:20 AM

Quote

Microsoft-Windows-PnpSysprep

The Microsoft-Windows-PnpSysprep component specifies whether all Plug and Play information persists during the generalize and specialize configuration passes.

Typically, during the generalize configuration pass, all device information is removed from the reference computer.
During the specialize configuration pass, any Plug and Play devices that are detected on the destination computer are re-initialized.
Any Plug and Play devices that are not detected are removed from the computer.

DoNotCleanUpNonPresentDevices
Specifies whether Plug and Play information persists on the destination computer during the following specialize configuration pass.

PersistAllDeviceInstalls
Specifies whether all Plug and Play information persists on the destination computer during the generalize configuration pass.



Quote

Microsoft-Windows-Security-Licensing-SLC

The Microsoft-Windows-Security-Licensing-SLC component removes licensing values set during system installation and testing. It restores the computer to its original state before the user logs on for the first time.

Important:
This setting is deprecated and should not be used. Please use Microsoft-Windows-Security-SPP instead.

This information is for reference only.

This post has been edited by myselfidem: 08 November 2012 - 08:59 AM


#3 User is offline   Tripredacus 

  • K-Mart-ian Legend
  • Group: Super Moderator
  • Posts: 8,689
  • Joined: 28-April 06
  • OS:Server 2012
  • Country: Country Flag

Posted 08 November 2012 - 09:40 AM

<!--This answer file generated by RT Seven Lite-->


I'll hope that this was edited? You should not have empty elements.

<UserAccounts>
        <LocalAccounts />
        <AdministratorPassword>
          <Value />
        </AdministratorPassword>
      </UserAccounts>
      <AutoLogon>
        <Password>
          <Value />
        </Password>


Also, why do you specify BOTH the Image Name and the Install Key? You don't need both, pick one or the other.

#4 User is offline   theKramer 

  • Member
  • PipPip
  • Group: Members
  • Posts: 122
  • Joined: 20-July 06
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 08 November 2012 - 11:06 AM

Thx for the input guys.
I have taken your suggestions on board.

I have changed the oobesystem pass to use the default admin account.

I still cannot get it to go past the generalize pass tho :(

Attached File(s)



#5 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,395
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 08 November 2012 - 01:29 PM

You can try this file and checked with WSIM!

Always check your file first using WSIM.

HTH

<?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="amd64" 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>1809:00001809</InputLocale>
      <UserLocale>en-IE</UserLocale>
      <UILanguage>en-US</UILanguage>
      <SystemLocale>en-US</SystemLocale>
    </component>
    <component name="Microsoft-Windows-Setup" processorArchitecture="amd64" 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 HOMEPREMIUM</value>
            </MetaData>
          </InstallFrom>
          <InstallToAvailablePartition>false</InstallToAvailablePartition>
          <WillShowUI>OnError</WillShowUI>
        </OSImage>
      </ImageInstall>
      <UserData>
        <ProductKey>
          <Key>xxxxx-xxxxx-xxxxx-xxxxx-xxxxx</Key>
          <WillShowUI>OnError</WillShowUI>
        </ProductKey>
        <Organization>QED</Organization>
        <FullName>Administrator</FullName>
        <AcceptEula>true</AcceptEula>
      </UserData>
    </component>
  </settings>
  <settings pass="oobeSystem">
    <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <AutoLogon>
         <Password>
            <Value></Value> 
            <PlainText>true</PlainText> 
         </Password>
         <Username>Administrator</Username> 
         <Enabled>true</Enabled> 
         <LogonCount>5</LogonCount> 
      </AutoLogon>
      <UserAccounts>
         <AdministratorPassword>
            <Value></Value> 
            <PlainText>true</PlainText> 
         </AdministratorPassword>
      </UserAccounts>
      <OOBE>
        <NetworkLocation>Home</NetworkLocation>
        <HideEULAPage>true</HideEULAPage>
        <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
        <SkipUserOOBE>true</SkipUserOOBE>
      </OOBE>
      <DisableAutoDaylightTimeSet>false</DisableAutoDaylightTimeSet>
      <TimeZone>Romance Standard Time</TimeZone>
    </component>
  </settings>
  <settings pass="generalize">
            <component name="Microsoft-Windows-PnpSysprep" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
            <PersistAllDeviceInstalls>true</PersistAllDeviceInstalls>
            </component>
           <component name="Microsoft-Windows-Security-SPP" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
            <skiprearm>1</skiprearm>
    </component>
  </settings>
  <settings pass="specialize">
    <component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <SkipAutoActivation>true</SkipAutoActivation>
    </component>
    <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
            <donotcleantaskbar>true</donotcleantaskbar>
            <showwindowslive>false</showwindowslive>
            <ComputerName>Toulouse</ComputerName>
            <Copyprofile>true</Copyprofile>
    </component>
    <component name="Microsoft-Windows-PnpSysprep" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <donotcleanupnonpresentdevices>true</donotcleanupnonpresentdevices>
    </component>
  </settings>
</unattend>


This post has been edited by myselfidem: 11 November 2012 - 01:28 PM


#6 User is offline   theKramer 

  • Member
  • PipPip
  • Group: Members
  • Posts: 122
  • Joined: 20-July 06
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 15 November 2012 - 03:25 AM

Thx myselfidem.
That worked perfectly :-)

#7 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,395
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 15 November 2012 - 04:58 AM

Thanks and enjoy! :)

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy