Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account



Photo

Help with unattend.xml file


  • Please log in to reply
6 replies to this topic

#1
theKramer

theKramer

    Member

  • Member
  • PipPip
  • 125 posts
  • Joined 20-July 06
  • OS:Windows 7 x64
  • Country: Country Flag

Donator

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 Files




How to remove advertisement from MSFN

#2
myselfidem

myselfidem

    Member

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,559 posts
  • Joined 06-January 10
  • OS:Windows 7 x64
  • Country: Country Flag

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.


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.


Edited by myselfidem, 08 November 2012 - 08:59 AM.

For Windows 7 OS: SetProductKey.rar (fr-FR/en-US. Integrate keys).

#3
Tripredacus

Tripredacus

    K-Mart-ian Legend

  • Super Moderator
  • 9,893 posts
  • Joined 28-April 06
  • OS:Server 2012
  • Country: Country Flag

Donator

<!--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.
MSFN RULES | GimageX HTA for PE 3-5 | lol probloms
msfn2_zpsc37c7153.jpg

#4
theKramer

theKramer

    Member

  • Member
  • PipPip
  • 125 posts
  • Joined 20-July 06
  • OS:Windows 7 x64
  • Country: Country Flag

Donator

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 Files



#5
myselfidem

myselfidem

    Member

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,559 posts
  • Joined 06-January 10
  • OS:Windows 7 x64
  • Country: Country Flag
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>

Edited by myselfidem, 11 November 2012 - 01:28 PM.

For Windows 7 OS: SetProductKey.rar (fr-FR/en-US. Integrate keys).

#6
theKramer

theKramer

    Member

  • Member
  • PipPip
  • 125 posts
  • Joined 20-July 06
  • OS:Windows 7 x64
  • Country: Country Flag

Donator

Thx myselfidem.
That worked perfectly :-)

#7
myselfidem

myselfidem

    Member

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,559 posts
  • Joined 06-January 10
  • OS:Windows 7 x64
  • Country: Country Flag
Thanks and enjoy! :)
For Windows 7 OS: SetProductKey.rar (fr-FR/en-US. Integrate keys).




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users