Nejčastěji odpovídající uživatel
unattend.xml error (component specified more than once)

Dotaz
-
Dobry den,
snazim sa vytvorit bezobsluznu instalaciu Win 7. Ked chcem aplikovat vytvoreny image, ktory ma pripojeny answer file, tak mi to napise nasledujucu chybu:
"Windows could not parse or process the unattend answer file for pass [specialize]. A component or non-list setting is specified more than once in the answer file."
Moj answer file ma nasledujucu podobu:
<?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"> <EnableFirewall>false</EnableFirewall> <EnableNetwork>true</EnableNetwork> </component> </settings> <settings pass="specialize"> <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> <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"> <TimeZone>Central Europe Standard Time</TimeZone> <ShowWindowsLive>false</ShowWindowsLive> <RegisteredOwner>firma</RegisteredOwner> <CopyProfile>true</CopyProfile> </component> <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"> <FavoritesList> <FavoriteItem wcm:action="add"> <FavTitle>Attendance system</FavTitle> <FavURL>http://blablabla.cz</FavURL> <FavID>Attendance</FavID> </FavoriteItem> </FavoritesList> <StartPages> <StartPage wcm:action="add"> <StartPageKey>Intranet</StartPageKey> <StartPageUrl>http://blablabla.cz</StartPageUrl> </StartPage> </StartPages> </component> </settings> <settings pass="oobeSystem"> <component name="Microsoft-Windows-Sidebar" 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"> <SidebarVisible>false</SidebarVisible> <SidebarOnByDefault>false</SidebarOnByDefault> </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>0x00000809</InputLocale> <SystemLocale>en-uk</SystemLocale> <UILanguage>en-us</UILanguage> <UserLocale>en-uk</UserLocale> </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"> <AutoLogon> <Password> <Value>SwBSAFkAVACjAE4AUABhAHMAcwB3AG8AcgBkAA==</Value> <PlainText>false</PlainText> </Password> <Enabled>true</Enabled> <Username>Administrator</Username> <LogonCount>1</LogonCount> </AutoLogon> <OOBE> <HideEULAPage>true</HideEULAPage> <NetworkLocation>Work</NetworkLocation> <ProtectYourPC>3</ProtectYourPC> </OOBE> <UserAccounts> <AdministratorPassword> <Value>SwBSAFkAVACjAE4AQQBkAG0AaQBuAGkAcwB0AHIAYQB0AG8AcgBQAGEAcwBzAHcAbwByAGQA</Value> <PlainText>false</PlainText> </AdministratorPassword> <LocalAccounts> <LocalAccount wcm:action="add"> <Password> <Value>dABlAHMAdABQAGEAcwBzAHcAbwByAGQA</Value> <PlainText>false</PlainText> </Password> <DisplayName>Test</DisplayName> <Name>Test</Name> </LocalAccount> </LocalAccounts> </UserAccounts> <RegisteredOrganization>firma</RegisteredOrganization> <RegisteredOwner>firma</RegisteredOwner> <ShowWindowsLive>false</ShowWindowsLive> </component> </settings> <settings pass="generalize"> <component name="Microsoft-Windows-PnpSysprep" 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"> <PersistAllDeviceInstalls>true</PersistAllDeviceInstalls> </component> </settings> <cpi:offlineImage cpi:source="wim:g:/winimage.wim#Windows 7 Enterprise" xmlns:cpi="urn:schemas-microsoft-com:cpi" /> </unattend>
Problem je asi v casti kde vytvaram noveho usera "Test". Ked tam tento komponent nezadam, tak image sa aplikuje bez problemov. Rad by som sa ale zbavil obrazovky kde tohto usera musim rucne zadat po aplikovani imagu.Dakujem za pomoc.
úterý 9. srpna 2011 11:37
Odpovědi
-
Domnivam se, ze tuto cast Specialize -> x86_Microsoft-Windows-Shell-Setup_neutral mate spatne. Smazte tuto vetev a po jejim obnoveni nezapisujte zadne jine udaje, nez pro kopirovani profilu a mozna i zony. U firmy a ostatnich udaju nechte vse beze zmeny. (A protoze si nejsem uplne jisty, je variantni reseni v casti OOBE. Pamatuji si, ze v jednom pripade musi zustat defaultni nastaveni a tedy tam bude figurovat Microsoft.)
Jinak je formalni chyba v SideBar. Nastaveni se neuplatni. To je uvedene ve validaci jako zastarale. Takze smazte toto nastaveni.
- Navržen jako odpověď Milos Puchta úterý 9. srpna 2011 14:57
- Označen jako odpověď Robert Vass čtvrtek 11. srpna 2011 7:16
úterý 9. srpna 2011 13:43 -
Tak mate pravdu. Po vymazani tejto vetvy uz answer file funguje tak ako si to predstavujem :). Pre uplnost este prikladam funkcny answer file:
<?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"> <EnableFirewall>false</EnableFirewall> <EnableNetwork>true</EnableNetwork> </component> </settings> <settings pass="specialize"> <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> <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"> <FavoritesList> <FavoriteItem wcm:action="add"> <FavTitle>Attendance system</FavTitle> <FavURL>http://10.14.0.228/powerkey/pasweb</FavURL> <FavID>Attendance-Powerkey</FavID> </FavoriteItem> </FavoritesList> <StartPages> <StartPage wcm:action="add"> <StartPageKey>Intranet</StartPageKey> <StartPageUrl>http://click/ssc</StartPageUrl> </StartPage> </StartPages> </component> </settings> <settings pass="oobeSystem"> <component name="Microsoft-Windows-Sidebar" 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"> <SidebarVisible>false</SidebarVisible> <SidebarOnByDefault>false</SidebarOnByDefault> </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-UK</InputLocale> <SystemLocale>en-UK</SystemLocale> <UILanguage>en-UK</UILanguage> <UserLocale>en-UK</UserLocale> </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"> <OOBE> <HideEULAPage>true</HideEULAPage> <NetworkLocation>Work</NetworkLocation> <ProtectYourPC>3</ProtectYourPC> </OOBE> <UserAccounts> <LocalAccounts> <LocalAccount wcm:action="add"> <Password> <Value>dABlAHMAdABQAGEAcwBzAHcAbwByAGQA</Value> <PlainText>false</PlainText> </Password> <DisplayName>Test</DisplayName> <Name>Test</Name> </LocalAccount> </LocalAccounts> <AdministratorPassword> <Value>SwBSAFkAVACjAE4AQQBkAG0AaQBuAGkAcwB0AHIAYQB0AG8AcgBQAGEAcwBzAHcAbwByAGQA</Value> <PlainText>false</PlainText> </AdministratorPassword> </UserAccounts> <RegisteredOrganization>firma</RegisteredOrganization> <RegisteredOwner>firma</RegisteredOwner> <ShowWindowsLive>false</ShowWindowsLive> <TimeZone>Central Europe Standard Time</TimeZone> <AutoLogon> <Password> <Value>dABlAHMAdABQAGEAcwBzAHcAbwByAGQA</Value> <PlainText>false</PlainText> </Password> <Username>uzivatel</Username> <LogonCount>1</LogonCount> <Enabled>true</Enabled> </AutoLogon> </component> </settings> <settings pass="generalize"> <component name="Microsoft-Windows-PnpSysprep" 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"> <PersistAllDeviceInstalls>true</PersistAllDeviceInstalls> </component> </settings> <cpi:offlineImage cpi:source="wim:g:/wim/winimage_no_format.wim#Windows 7 Enterprise" xmlns:cpi="urn:schemas-microsoft-com:cpi" /> </unattend>
- Označen jako odpověď Robert Vass čtvrtek 11. srpna 2011 7:18
čtvrtek 11. srpna 2011 7:16
Všechny reakce
-
DD,
neni to tim ze uzivatel administrator je integrovany (uz existuje)? Zkuste dat jine jmeno.
JCHúterý 9. srpna 2011 11:53 -
<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">Tohle mate dvakrat. Davejte si validate, opravte napsanou verzi a kdyz mate finalni verzi bez chyb, tak ji ulozte.
Zacnete vzdy s jednodussi verzi bez zbytecnych informaci a az vam bude chodit jednoducha verze, muzete postupne pridavat konfiguracni udaje. Je to vyhodne i z toho duvodu, ze v pripade, ze finalni verze nefunguje jak ma, tak vite, ze doslo k problemu v poslednim kroku. Zda se to delsi postup, ale v tomto pripade je to rychlejsi metoda, nez nasazet do konfiguracniho souboru vsechna data.
úterý 9. srpna 2011 11:54 -
to Milos Puchta: Je pravda, ze komponent Microsoft-Windows-Shell-Setup mam dva krat, ale je to vzdy v inom kroku (raz v specialize a druhy krat v oobeSystem) a pre ine nastavenia, takze by to snad nemal byt problem. A tiez postupujem od jednoduchej funkcnej verzii a postupne ju doplnam. Prave pri dolneni lokalneho uctu Test mi to zacalo padat a neviem sa dalej pohnut.
to ing. Jan Chaloupek: v tom xml nevytvaram novy ucet s menom Administrator. Iba mu pridelujem heslo, takze to by snad tiez nemal byt problem.
úterý 9. srpna 2011 12:09 -
Validoval jste soubor a po uspesne validaci jste soubor ulozil? Varovani uz by melo byt videt ve validaci.
- Označen jako odpověď Robert Vass úterý 9. srpna 2011 12:49
- Zrušeno označení jako odpověď Robert Vass úterý 9. srpna 2011 12:49
úterý 9. srpna 2011 12:48 -
Nie som si isty, ci bol subor plne validny (teraz to nemam kde skusit), ale ked som predtym vytvaral nejaky answer file a bola tam chyba, tak sa mi subor nedal ulozit (pri ukladani napisalo chybu). Z toho predpokladam, ze validny bol, ked sa dal ulozit.úterý 9. srpna 2011 12:59
-
Domnivam se, ze tuto cast Specialize -> x86_Microsoft-Windows-Shell-Setup_neutral mate spatne. Smazte tuto vetev a po jejim obnoveni nezapisujte zadne jine udaje, nez pro kopirovani profilu a mozna i zony. U firmy a ostatnich udaju nechte vse beze zmeny. (A protoze si nejsem uplne jisty, je variantni reseni v casti OOBE. Pamatuji si, ze v jednom pripade musi zustat defaultni nastaveni a tedy tam bude figurovat Microsoft.)
Jinak je formalni chyba v SideBar. Nastaveni se neuplatni. To je uvedene ve validaci jako zastarale. Takze smazte toto nastaveni.
- Navržen jako odpověď Milos Puchta úterý 9. srpna 2011 14:57
- Označen jako odpověď Robert Vass čtvrtek 11. srpna 2011 7:16
úterý 9. srpna 2011 13:43 -
Tak mate pravdu. Po vymazani tejto vetvy uz answer file funguje tak ako si to predstavujem :). Pre uplnost este prikladam funkcny answer file:
<?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"> <EnableFirewall>false</EnableFirewall> <EnableNetwork>true</EnableNetwork> </component> </settings> <settings pass="specialize"> <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> <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"> <FavoritesList> <FavoriteItem wcm:action="add"> <FavTitle>Attendance system</FavTitle> <FavURL>http://10.14.0.228/powerkey/pasweb</FavURL> <FavID>Attendance-Powerkey</FavID> </FavoriteItem> </FavoritesList> <StartPages> <StartPage wcm:action="add"> <StartPageKey>Intranet</StartPageKey> <StartPageUrl>http://click/ssc</StartPageUrl> </StartPage> </StartPages> </component> </settings> <settings pass="oobeSystem"> <component name="Microsoft-Windows-Sidebar" 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"> <SidebarVisible>false</SidebarVisible> <SidebarOnByDefault>false</SidebarOnByDefault> </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-UK</InputLocale> <SystemLocale>en-UK</SystemLocale> <UILanguage>en-UK</UILanguage> <UserLocale>en-UK</UserLocale> </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"> <OOBE> <HideEULAPage>true</HideEULAPage> <NetworkLocation>Work</NetworkLocation> <ProtectYourPC>3</ProtectYourPC> </OOBE> <UserAccounts> <LocalAccounts> <LocalAccount wcm:action="add"> <Password> <Value>dABlAHMAdABQAGEAcwBzAHcAbwByAGQA</Value> <PlainText>false</PlainText> </Password> <DisplayName>Test</DisplayName> <Name>Test</Name> </LocalAccount> </LocalAccounts> <AdministratorPassword> <Value>SwBSAFkAVACjAE4AQQBkAG0AaQBuAGkAcwB0AHIAYQB0AG8AcgBQAGEAcwBzAHcAbwByAGQA</Value> <PlainText>false</PlainText> </AdministratorPassword> </UserAccounts> <RegisteredOrganization>firma</RegisteredOrganization> <RegisteredOwner>firma</RegisteredOwner> <ShowWindowsLive>false</ShowWindowsLive> <TimeZone>Central Europe Standard Time</TimeZone> <AutoLogon> <Password> <Value>dABlAHMAdABQAGEAcwBzAHcAbwByAGQA</Value> <PlainText>false</PlainText> </Password> <Username>uzivatel</Username> <LogonCount>1</LogonCount> <Enabled>true</Enabled> </AutoLogon> </component> </settings> <settings pass="generalize"> <component name="Microsoft-Windows-PnpSysprep" 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"> <PersistAllDeviceInstalls>true</PersistAllDeviceInstalls> </component> </settings> <cpi:offlineImage cpi:source="wim:g:/wim/winimage_no_format.wim#Windows 7 Enterprise" xmlns:cpi="urn:schemas-microsoft-com:cpi" /> </unattend>
- Označen jako odpověď Robert Vass čtvrtek 11. srpna 2011 7:18
čtvrtek 11. srpna 2011 7:16