Jump to content

[SOLVED] - Autounattended.xml Windows 7


Recommended Posts

Hello,

I have an autounattend.xml file for Windows 7 RTM on an ISO image which works fine in Virtual PC, but not when actually running it on a CD Installation. The error is ""Windows could not parse or process unattend answer file [C:\windows\Panther\unattend.xml] for pass [oobesystem]." Any reason why?

This is my xml 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>en-US</InputLocale>

<SystemLocale>en-US</SystemLocale>

<UILanguage>en-US</UILanguage>

<UserLocale>en-US</UserLocale>

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

- <UserData>

<AcceptEula>true</AcceptEula>

<FullName>Home-W7</FullName>

<Organization>HomeW-7.com</Organization>

</UserData>

- <Display>

<ColorDepth>32</ColorDepth>

<HorizontalResolution>1024</HorizontalResolution>

<VerticalResolution>768</VerticalResolution>

</Display>

- <DiskConfiguration>

<WillShowUI>Always</WillShowUI>

</DiskConfiguration>

</component>

</settings>

- <settings pass="specialize">

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

<BlockPopups>yes</BlockPopups>

<CompanyName>Home-W7.com</CompanyName>

<FilterLevel>High</FilterLevel>

<Home_Page>www.google.com</Home_Page>

<PlaySound>true</PlaySound>

<ShowInformationBar>true</ShowInformationBar>

</component>

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

<ComputerName>MyPC-W7</ComputerName>

</component>

- <component name="Microsoft-Windows-Security-SPP-UX" 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">

<SkipAutoActivation>true</SkipAutoActivation>

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

- <Display>

<ColorDepth>32</ColorDepth>

<DPI>96</DPI>

<HorizontalResolution>1024</HorizontalResolution>

<VerticalResolution>768</VerticalResolution>

</Display>

<TimeZone>Pacific Standard Time</TimeZone>

- <UserAccounts>

- <LocalAccounts>

- <LocalAccount wcm:action="add">

- <Password>

<Value>UABhAHMAcwB3AG8AcgBkAA==</Value>

<PlainText>false</PlainText>

</Password>

<Description>User</Description>

<DisplayName>Visitors</DisplayName>

<Group>Users</Group>

<Name>Visitors</Name>

</LocalAccount>

</LocalAccounts>

- <AdministratorPassword>

<Value>MQAyADMANAA1AEEAZABtAGkAbgBpAHMAdAByAGEAdABvAHIAUABhAHMAcwB3AG8AcgBkAA==</Value>

<PlainText>false</PlainText>

</AdministratorPassword>

</UserAccounts>

<ShowWindowsLive>false</ShowWindowsLive>

- <AutoLogon>

- <Password>

<Value>MQAyADMANAA1AFAAYQBzAHMAdwBvAHIAZAA=</Value>

<PlainText>false</PlainText>

</Password>

<Enabled>true</Enabled>

<LogonCount>1</LogonCount>

<Username>Administrator</Username>

</AutoLogon>

- <FolderLocations>

<ProfilesDirectory>D:\Users</ProfilesDirectory>

</FolderLocations>

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

<UserLocale>en-US</UserLocale>

</component>

</settings>

<cpi:offlineImage cpi:source="wim://sdgl04l3k4046/temp/mytemp/w7/sources/install.wim#Windows 7 ULTIMATE" xmlns:cpi="urn:schemas-microsoft-com:cpi" />

</unattend>

Edited by shabuboy
Link to comment
Share on other sites


Solved the issue...

Since this XML requires two partitions, even when the second partition (D:\) was there, it was a previously used partition with a different machine name and admin password. This autounattend file will promp for the partitions to use. As soon as I formated both partitions during the selection, it ran just fine.

For those who would like to use this autounattend file:

- If running from the W7 Ultimate version, it will prompt you to select the product you want and later on you will enter your key.

- Two partitions are needed, C:\ for the system file and D:\ for the User Folder location.

- It will create two users, administrator with password "12345" and Visitor.

The main reason for this XML file is to relocate the Users folder to a second partition.

Regards,

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