Sysprep : a component is specified more than once

Hi,

I had some free time so I started updating our standards WDS image.

It was on Windows 8.1 ( updates until july/august 2014) and I installed all available updates up to last week.

Within WDS, I specify an answer file that it should use. This file was working great with the previous image.

However if I tried to use the same answer file, I get "a component is specified more than once..."

Any idea's why this should be the case with the same Windows version only few months apart.

It was in the "specialize" part

<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
    <settings pass="specialize">
        <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">
            <CopyProfile>true</CopyProfile>
            <TimeZone>Romance Standard Time</TimeZone>
        </component>
        <component name="Microsoft-Windows-Security-SPP-UX" 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">
            <SkipAutoActivation>false</SkipAutoActivation>
        </component>
        <component name="Microsoft-Windows-IE-InternetExplorer" 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">
            <SearchScopes>
                <Scope wcm:action="add">
                    <ScopeDefault>true</ScopeDefault>
                    <ScopeDisplayName>Google</ScopeDisplayName>
                    <ScopeKey>Google</ScopeKey>
                    <ScopeUrl>http://www.google.com/search?q={searchTerms}</ScopeUrl>
                    <ShowSearchSuggestions>true</ShowSearchSuggestions>
                </Scope>
            </SearchScopes>
            <DisableAccelerators>true</DisableAccelerators>
            <DisableFirstRunWizard>true</DisableFirstRunWizard>
            <Home_Page>www.google.be</Home_Page>
        </component>
        <component name="Microsoft-Windows-TerminalServices-LocalSessionManager" 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">
            <fDenyTSConnections>false</fDenyTSConnections>
        </component>
        <component name="Networking-MPSSVC-Svc" 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">
            <FirewallGroups>
                <FirewallGroup wcm:action="add" wcm:keyValue="RemoteDesktop">
                    <Active>true</Active>
                    <Group>Remote Desktop</Group>
                    <Profile>all</Profile>
                </FirewallGroup>
            </FirewallGroups>
        </component>
        <component name="Microsoft-Windows-TerminalServices-RDP-WinStationExtensions" 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">
            <UserAuthentication>0</UserAuthentication>
        </component>
    </settings>
    <settings pass="generalize">
        <component name="Microsoft-Windows-Security-SPP" 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">
            <SkipRearm>1</SkipRearm>
        </component>
    </settings>
    <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>
                <FullName>Prodware</FullName>
                <Organization>Prodware Belux</Organization>
            </UserData>
        </component>
    </settings>
    <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">
            <AutoLogon>
                <Password>
                    <Value>udontneedtoknow</Value>
                    <PlainText>true</PlainText>
                </Password>
                <Enabled>true</Enabled>
                <Username>Prodware</Username>
            </AutoLogon>
            <DesktopOptimization>
                <GoToDesktopOnSignIn>true</GoToDesktopOnSignIn>
                <ShowWindowsStoreAppsOnTaskbar>false</ShowWindowsStoreAppsOnTaskbar>
            </DesktopOptimization>
            <OOBE>
                <NetworkLocation>Work</NetworkLocation>
                <ProtectYourPC>3</ProtectYourPC>
            </OOBE>
            <UserAccounts>
                <AdministratorPassword>
                    <Value>udontneedtoknow</Value>
                    <PlainText>true</PlainText>
                </AdministratorPassword>
                <LocalAccounts>
                    <LocalAccount wcm:action="add">
                        <Password>
                            <Value>udontneedtoknow</Value>
                            <PlainText>true</PlainText>
                        </Password>
                        <Description>Prodware</Description>
                        <DisplayName>Prodware</DisplayName>
                        <Group>Administrators</Group>
                        <Name>Prodware</Name>
                    </LocalAccount>
                </LocalAccounts>
            </UserAccounts>
        </component>
        <component name="Microsoft-Windows-International-Core" 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">
            <UserLocale>nl-BE</UserLocale>
            <UILanguage>en-us</UILanguage>
            <SystemLocale>nl-BE</SystemLocale>
            <InputLocale>0813:00000813</InputLocale>
        </component>
    </settings>
    <cpi:offlineImage cpi:source="wim:e:/temp/sources/install.wim#Windows 8.1 Enterprise" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>




December 8th, 2014 2:17pm

Hi,

I recommend you look at the folder:
C:\Windows\System32\Sysprep
C:\Windows\Panther

and delete the file you see in there. try again.

We can also check the C:\WINDOWS\PANTHER\setupact.log to find more details of the failure, if you have troubles analyzing the log, please upload it to OneDrive, share the download link here for further analysis.

C:\WINDOWS\PANTHER\setupact.log

Free Windows Admin Tool Kit Click here and download it now
December 9th, 2014 6:52am

Also, if it is specifically complaining about the answer file, you can compare it against your image in WSIM. Open WSIM, open the image (wim file) then open the Answer file. The validator may show you what is wrong.
December 9th, 2014 4:40pm

Hi Yolanda,

There was no specific error message in the log file, I already look at this.

Only the same message with the duplicate attribute.

I'm going to try if the WSIM validator can find the error.

If not, I did find some posts that the "Microsoft-Windows-IE-InternetExplorer" component sometimes triggers this error too. So I'll leave it out and test if that's the case.

Regards,

Sven

Free Windows Admin Tool Kit Click here and download it now
December 10th, 2014 6:59am

Hi,

How's everything going? Have you tried the solution I pasted above? Any result? Any update would be apprecriate.

Regards

December 15th, 2014 1:12am

Hi Yolanda,

I'm mostly on site @ customers, won't be @ the office for the next few weeks I guess

But I did try the WSIM validator, but got stuck on creation of the catalog file during mounting.

It's telling me to use a specific version of the AIK but it is already installed.

"This application requires version 6.3.9600.16384 of the Windows ADK."

Next time I'm in the office, I'll try removing the IE specific section to see whether this changes anything.

Regards,

Sven Peeters

Free Windows Admin Tool Kit Click here and download it now
December 15th, 2014 6:39am

Hi,

Personally, I think the answer file should be correct, but always a good choice to verify it again, if you get any progress on this issue, please keep us updated.

Regarding to the error "This application requires version 6.3.9600.16384 of the Windows ADK." if the ADK version is right is your system, then it might be some corrupted .dll in your system for the toolkit, to confirm this, please try another answer file and check the verification, see if it work.

You can also refer to this link, check if it can give ua any hints

https://social.technet.microsoft.com/Forums/en-US/11438771-e635-4734-bba3-4729b5cc5747/unable-to-create-sysprep-answer-file-for-server-2012r2-preview?forum=mdt

some more reference links

http://www.gregorystrike.com/2010/07/23/sysprep-specialize-pass-error-resolution/

https://social.technet.microsoft.com/Forums/windows/en-US/0e40e579-4ceb-40b7-b25c-3420fd68db97/syprep-error-windows-could-not-parse-or-process-the-unattend-answer-file-for-pass-specialize?forum=w7itproinstall (the last reply)

NOTE This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites.

December 19th, 2014 2:28am

Hi,

I haven't had the occasion to look into this issue until now (been prepping without unattended file).

I've removed the IE specific things and now no complaints or errors anymore.

I don't know why but I can live with that  ;-)

Regards,

Sven Peeters

Free Windows Admin Tool Kit Click here and download it now
March 6th, 2015 5:47am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics