Jump to content

Windows could not parse or process unattend answer file


Recommended Posts

Hello

I'm trying to make an unattended answer file for Windows Vista Home Premium 64bit to be used from an usb key and the original dvd. At the end of the install i get this error massage:

"Windows could not parse or process unattend answer file [C:\windows\Panther\unattend.xml] for pass [oobesystem]. The settings specified in the answer file cannot be applied."

I made the autounattend.xml file with vlite and added 3 lines to get the users folder put on another drive then the system drive.

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="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">
<UserData>
<AcceptEula>true</AcceptEula>
</UserData>
<ImageInstall>
<OSImage>
<InstallFrom>
<MetaData wcm:action="add">
<Key>/IMAGE/NAME</Key>
<Value>Windows Vista HOMEPREMIUM</Value>
</MetaData>
</InstallFrom>
<InstallToAvailablePartition>false</InstallToAvailablePartition>
<WillShowUI>OnError</WillShowUI>
</OSImage>
</ImageInstall>
</component>
</settings>
<settings pass="oobeSystem">
<FolderLocations>
<ProfilesDirectory>D:\UserData</ProfilesDirectory>
</FolderLocations>
<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">
<OOBE>
<HideEULAPage>true</HideEULAPage>
</OOBE>
</component>
</settings>
<cpi:offlineImage cpi:source="wim:E:/sources/install.wim#Windows Vista HOMEPREMIUM" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>

I have tryed to burn the image file vlite made and use it instead of the MS DVD and the usb key and i got the same error massage.

The only part of the autounattend.xml i care about is the part that moves the profile/user folder so feel free to give me advise about any other part of the code i can remove.

Hope somebody can help me with this.

Link to comment
Share on other sites


hey n3x,

I've seen that error before and for me it looked like it had to do with creating a user either it being an administrator for everything being automatic. I think it was when I created a user name other than administrator. Also, check to make sure your d drive really exists when fresh installing vista from the autoattended - the drive letter could be different, thus causing the error.

Also, try checking out these links. The 2nd one might be more useful.

Link 1

Link 2

Link to comment
Share on other sites

Hope somebody can help me with this.

<settings pass="oobeSystem">

<FolderLocations>

Thats not right, move <FolderLocations> after the <component name="Microsoft-Windows-Shell-Setup"

line. Need everything under a component.

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

<FolderLocations>

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