Jump to content

[HELP] What's wrong with Autounattend.xml ?


Recommended Posts

Following shows my Autounattend.xml

but there is an error:

could't process attended answer file(CD driveD:\Autounattend.xml) for pass [WindowsPE]. A component or setting specified in the answer file does not exist.

Anyone helps me??

I want to create a new account 'user' and autologon with 'user' (of course it will install autounattemded !)

What should I to do with my Autounattend.xml ?

---------------------------------------------------

<?xml version="1.0" encoding="utf-8"?>

<unattend xmlns="urn:schemas-microsoft-com:unattend">

<settings pass="windowsPE">

<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">

<DiskConfiguration>

<WillShowUI>OnError</WillShowUI>

</DiskConfiguration>

<Display>

<ColorDepth>32</ColorDepth>

<HorizontalResolution>1024</HorizontalResolution>

<RefreshRate>60</RefreshRate>

<VerticalResolution>768</VerticalResolution>

</Display>

<DynamicUpdate>

<Enable>true</Enable>

</DynamicUpdate>

<ImageInstall>

<OSImage>

<InstallFrom>

<Path>x:\source\install.wim</Path>

</InstallFrom>

<InstallTo>

<DiskID>0</DiskID>

<PartitionID>1</PartitionID>

</InstallTo>

</OSImage>

</ImageInstall>

<UserData>

<ProductKey>

<Key>Pxxxx-xxxx-xxxxx-Fxxxx-Mxxxx</Key>

<WillShowUI>OnError</WillShowUI>

</ProductKey>

<AcceptEula>true</AcceptEula>

<FullName>user</FullName>

<Organization>user</Organization>

<ComputerName value="*" showui="no">

</ComputerName>

<security>

<accounts>

<!--This section allows for multiple user accounts to be created on the local machine.You can also add the domain user as an administrator. Users accounts specified here will be added to the administrator group by default.-->

<account username="user" group="GROUP" password="*"/>

</accounts>

</security>

<autologon username="user" domain="domain" password="*" count="5">

<!--This element allows for a user created in the <accounts> section to autologon to the machine and run the scripts specified in the <runonce> section. -->

</autologon>

</UserData>

</component>

<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>en-US</InputLocale>

<SystemLocale>en-US</SystemLocale>

<UILanguage>en-US</UILanguage>

<UILanguageFallback>en-US</UILanguageFallback>

<UserLocale>en-US</UserLocale>

</component>

</settings>

<settings pass="specialize">

<component name="Microsoft-Windows-UnattendedJoin" 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">

<Identification>

<JoinWorkgroup>GROUP</JoinWorkgroup>

</Identification>

</component>

<component name="Microsoft-Windows-International-Core" 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">

<InputLocale>en-US</InputLocale>

<SystemLocale>en-US</SystemLocale>

<UILanguage>en-US</UILanguage>

<UILanguageFallback>en-US</UILanguageFallback>

<UserLocale>en-US</UserLocale>

</component>

</settings>

</unattend>

Link to comment
Share on other sites


<ImageInstall>

<OSImage>

<InstallFrom>

<Path>x:\source\install.wim</Path>

</InstallFrom>

<InstallTo>

<DiskID>0</DiskID>

<PartitionID>1</PartitionID>

</InstallTo>

</OSImage>

</ImageInstall>

I don't know what your DVD is looking like, but on my english and german DVD the folder is called "sources". AFAIK it's not necessary to set the "InstallForm" tag cause Windows PE ramdrive is running form X:\ by default.

Martin

Link to comment
Share on other sites

Hi ,fizban2:

I follow your steps as shown in the following post, I can't find any step to validate the file? How I do this ?? and by which tool? I have downloaded the BDD 2007 files.

http://www.msfn.org/board/index.php?s=&amp...st&p=522924

1.put Autounattend.xml with setup.exe

2.repack vista.iso with oscdomg.exe

3. burn it and install.

(your steps)

FireGeier, thank you!

u are right ! it is called 'sources' not 'source'. I have corrected it .

Edited by swbchen
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...