zeezam Posted February 2, 2010 Posted February 2, 2010 I have modified my unattended.xml a little bit after 7custumizer and I got this error when try to install with wds.Windows could not parse or process unattend answer file [X:\sources\wdsunattend\wdsunattend.xml] for pass [windowsPE]. A component or setting specified in the answer file does not exist.Here is my answer file;<unattend xmlns="urn:schemas-microsoft-com:unattend"> <settings pass="windowsPE"> <component name="Microsoft-Windows-Setup" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" processorArchitecture="x86"> <WindowsDeploymentServices> <Login> <WillShowUI>OnError</WillShowUI> <Credentials> <Username>Administrator</Username> <Domain>domain.local</Domain> <Password>My Password</Password> </Credentials> </Login> <UserData> <ProductKey> <Key>temporary key</Key> <WillShowUI>OnError</WillShowUI> </ProductKey> <Organization>org</Organization> <FullName>org</FullName> <AcceptEula>true</AcceptEula> </UserData> <ImageSelection> <InstallImage> <ImageName>win7</ImageName> <ImageGroup>win7</ImageGroup> <Filename>install.wim</Filename> </InstallImage> <WillShowUI>OnError</WillShowUI> <InstallTo> <DiskID>0</DiskID> <PartitionID>1</PartitionID> </InstallTo> </ImageSelection> </WindowsDeploymentServices> <DiskConfiguration> <WillShowUI>OnError</WillShowUI> <Disk> <DiskID>0</DiskID> <WillWipeDisk>false</WillWipeDisk> <ModifyPartitions> <ModifyPartition> <Order>1</Order> <PartitionID>1</PartitionID> <Letter>C</Letter> <Label>Win7</Label> <Format>NTFS</Format> <Active>true</Active> <Extend>false</Extend> </ModifyPartition> </ModifyPartitions> </Disk> </DiskConfiguration> </component> <component name="Microsoft-Windows-International-Core-WinPE" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" processorArchitecture="x86"> <SystemLocale>en-us</SystemLocale> <UserLocale>0409:00000409</UserLocale> <UILanguage>en-US</UILanguage> <UILanguageFallback>en-us</UILanguageFallback> <InputLocale>0409:00000409</InputLocale> </component></settings><settings pass="specialize"> <component name="Microsoft-Windows-UnattendedJoin" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" processorArchitecture="x86"> <Identification> <UnsecureJoin>true</UnsecureJoin> <JoinDomain>domain.local</JoinDomain> </Identification> </component> <component name="Microsoft-Windows-Shell-Setup" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" processorArchitecture="x86"> <BluetoothTaskbarIconEnabled>false</BluetoothTaskbarIconEnabled> <DisableAutoDaylightTimeSet>true</DisableAutoDaylightTimeSet> <RegisteredOrganization>International Data Group</RegisteredOrganization> <RegisteredOwner>IT-Department (org)</RegisteredOwner> <ShowWindowsLive>false</ShowWindowsLive> <ComputerName>win7desktop-WDS</ComputerName> <DoNotCleanTaskBar>true</DoNotCleanTaskBar> <TimeZone>W. Europe Standard Time</TimeZone> <AutoLogon> <Username>Administrator</Username> <Enabled>true</Enabled> <LogonCount>999</LogonCount> </AutoLogon> </component> <component name="Microsoft-Windows-TerminalServices-RDP-WinStationExtensions" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" processorArchitecture="x86"> <SecurityLayer>2</SecurityLayer> <UserAuthentication>2</UserAuthentication> </component> <component name="Microsoft-Windows-TerminalServices-LocalSessionManager" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" processorArchitecture="x86"> <fDenyTSConnections>false</fDenyTSConnections> </component></settings><settings pass="oobeSystem"> <component name="Microsoft-Windows-Shell-Setup" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" processorArchitecture="x86"> <OOBE> <HideEULAPage>true</HideEULAPage> <NetworkLocation>Work</NetworkLocation> <ProtectYourPC>0</ProtectYourPC> <SkipMachineOOBE>true</SkipMachineOOBE> <SkipUserOOBE>true</SkipUserOOBE> </OOBE> <UserAccounts> <LocalAccounts> <LocalAccount> <Password> <Value>local password</Value> <PlainText>true</PlainText> </Password> <Description>IT admin account</Description> <DisplayName>org</DisplayName> <Group>Administrators;Power Users</Group> <Name>it</Name> </LocalAccount> </LocalAccounts> <DomainAccounts> <DomainAccountList> <DomainAccount> <Name>Administrator</Name> <Group>Administrators;Power Users</Group> </DomainAccount> <Domain>domain.local</Domain> </DomainAccountList> </DomainAccounts> </UserAccounts> </component></settings></unattend>
MrJinje Posted February 2, 2010 Posted February 2, 2010 Here is how to find the typos in your XML. Step 1: Install WAIK for Windows 7Step 2: Open WSIM - Windows System Image ManagerStep 3: In lower left quadrant, select your (catalog) .clg file from inside the sources folder.Step 4: Import your XML file using the middle section. Step 5: In the lower right section, double click the (RED) error(s) and it will jump you to the correct section Step 6: Once at source of the error, fix them using the upper right corner section. Each setting is controlled from there. A) If there are multiple errors, repeat Steps 5 and 6.That is the easiest way I know how. If Step 4 causes an error, it will tell you which line number is the problem, open the XML in a numbered line capable text editor (search start menu for Powershell IDE if you don't have a better program) and fix any errors there.Good luck, it is much easier than it sounds.
zeezam Posted February 2, 2010 Author Posted February 2, 2010 (edited) I tried to remove the modified settings and installed on a virtual machine but then it complain about disk 0. Isn't it possible to install on a virtual machine?Here is how to find the typos in your XML. Step 1: Install WAIK for Windows 7Step 2: Open WSIM - Windows System Image ManagerStep 3: In lower left quadrant, select your (catalog) .clg file from inside the sources folder.Step 4: Import your XML file using the middle section. Step 5: In the lower right section, double click the (RED) error(s) and it will jump you to the correct section Step 6: Once at source of the error, fix them using the upper right corner section. Each setting is controlled from there. A) If there are multiple errors, repeat Steps 5 and 6.That is the easiest way I know how. If Step 4 causes an error, it will tell you which line number is the problem, open the XML in a numbered line capable text editor (search start menu for Powershell IDE if you don't have a better program) and fix any errors there.Good luck, it is much easier than it sounds.Thanks, I'll try that out! Edited February 2, 2010 by zeezam
MrJinje Posted February 2, 2010 Posted February 2, 2010 (edited) Yes, it "should" work in a VM. Did you get a chance to find/correct any errors with WSIM ?Here is snap of WSIM, I'd look under Components > 1 windowsPE in the "Answer File" section. At least that's what I guess according to the error in your 1st post. Once you get used to the GUI, it is much easier to add/edit settings this way. Edited February 2, 2010 by MrJinje
zeezam Posted February 3, 2010 Author Posted February 3, 2010 I have fixed all problems except one;"The specified setting UserData does not exist. Components/windowsPE/x86_Microsoft-Windows-Setup_neutral/WindowsDeploymentServices/UserData".It's the AcceptEula,FullName,Organization and ProductKey that I have there.Isn't it possible to make that one unattended with win7 pro install.wim?
MrJinje Posted February 3, 2010 Posted February 3, 2010 Your UserData Block is inside your WDS block, so that's the problem. Re-arrange them from this.<WindowsDeploymentServices> <UserData> <ProductKey> <Key>temporary key</Key> <WillShowUI>OnError</WillShowUI> </ProductKey> <Organization>org</Organization> <FullName>org</FullName> <AcceptEula>true</AcceptEula> </UserData></WindowsDeploymentServices>Like this. <WindowsDeploymentServices></WindowsDeploymentServices> <UserData> <ProductKey> <Key>temporary key</Key> <WillShowUI>OnError</WillShowUI> </ProductKey> <Organization>org</Organization> <FullName>org</FullName> <AcceptEula>true</AcceptEula> </UserData>To fix just cut the userdata block and insert it back in immediately after the termination </WindowsDeploymentServices>
zeezam Posted February 3, 2010 Author Posted February 3, 2010 (edited) Your UserData Block is inside your WDS block, so that's the problem. Re-arrange them from this.<WindowsDeploymentServices> <UserData> <ProductKey> <Key>temporary key</Key> <WillShowUI>OnError</WillShowUI> </ProductKey> <Organization>org</Organization> <FullName>org</FullName> <AcceptEula>true</AcceptEula> </UserData></WindowsDeploymentServices>Like this. <WindowsDeploymentServices></WindowsDeploymentServices> <UserData> <ProductKey> <Key>temporary key</Key> <WillShowUI>OnError</WillShowUI> </ProductKey> <Organization>org</Organization> <FullName>org</FullName> <AcceptEula>true</AcceptEula> </UserData>To fix just cut the userdata block and insert it back in immediately after the termination </WindowsDeploymentServices>Thanks. Whas there a fix to install on a vm?First it complained about make the disk active so I changed it to 0. Now I get "Windows could not apply the unattend answer file's <DiskConfiguration> setting.I have checked with WSIM and no errors on the unattended.xml file.Edit:I got this error on all machines so it hasn't anything to do that i's a wm. Edited February 3, 2010 by zeezam
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now