windows could not configure windows 7 to run on this computer's hardware - windows 7 - sysprep

xrainz

Honorable
Jun 11, 2013
6
0
10,510
Good afternoon,

I have a Z800 station with raid activated (need to keep raid ) - I'm trying to create an image.wim which allows our company to deploy to the others z800 with facility.
So I made 2 images with my z800 reference station. 1 image with sysprep and 1 without sysprep.

Each time I try to deploy the image with sysprep, in the end of the deployment, I get an error "windows setup could not configure windows to run onthis computer\'s hardware". (trying directly with imageX and MDT)

After, I injected lsi raid driver (updated) to the image. (I think the problem comes from RAID driver or configuration but I'm not sure)
It also doesn't work and return the same error.
I cannot do anything. But when I deploy the image without sysprep, the installation works fine and windows starts without errors!!

I tried to put in the 3rd phase (generalize) PersistAllDeviceInstalls to TRUE in the unattend file
<settings pass="generalize">
<component name="Microsoft-Windows-PnpSysprep">
<PersistAllDeviceInstalls>true</PersistAllDeviceInstalls>
</component>

after I captured, and try to deploy... It gave me the same error

I got the same error.

-I included unattend.xml into %windir%\panther folder - but I don't need to specify into sysprep command the unattend path.
.....

when I tried to deploy my image with the persistent Alldevice to TRUE > I got another message in the beginning of "applying system settings" ( Windows could not create the installation working folder)-----


How I made my images.wim -

I use winSIM to generate my unattend.xml files.
Windows imaging and packages + drivers are already installed in MDT -deployment workbench
I deploy windows 7 entreprise with SP1 + applications by MDT (first)
I install all the needed drivers
I configure my computer's applications
Then I capture my first image1.wim with IMAGEX
Then I exceute sysprep with /Generalize /Oobe /shutdown attributes - In my sysprep.bat I create %windir%\panther and put the unattend.xml file inside.
after the computer's shutdown I capture my 2nd image2.wim (my syspreped image)
After I relaunch the computer's reference to see if my image install well on it.
then I could deploy to others computer's if some drivers are needed, I inject them with DISM commands
All of my images was created by the same way.
This is my first computer with RAID controllers. and theimage failed!

So this is my unattends file for this failed image:
XML:
[code="xml"]<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
    <settings pass="specialize">
        <component name="Microsoft-Windows-Deployment" 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">
            <RunSynchronous>
                <RunSynchronousCommand wcm:action="add">
                    <Description>EnableAdmin</Description>
                    <Order>1</Order>
                    <Path>cmd /c net user Administrator /active:yes</Path>
                </RunSynchronousCommand>
                <RunSynchronousCommand wcm:action="add">
                    <Description>EnableAdmin_ploc</Description>
                    <Order>2</Order>
                    <Path>cmd /c net user Administrator_ploc /active:yes</Path>
                </RunSynchronousCommand>
                <RunSynchronousCommand wcm:action="add">
                    <Description>UnfilterAdministratorToken</Description>
                    <Order>3</Order>
                    <Path>cmd /c reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v FilterAdministratorToken /t REG_DWORD /d 0 /f</Path>
                </RunSynchronousCommand>
            </RunSynchronous>
        </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">
            <InputLocale>040c:0000040c</InputLocale>
            <SystemLocale>fr-FR</SystemLocale>
            <UILanguage>fr-FR</UILanguage>
            <UserLocale>fr-FR</UserLocale>
        </component>
        <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">
            <BluetoothTaskbarIconEnabled>false</BluetoothTaskbarIconEnabled>
            <CopyProfile>true</CopyProfile>
            <DoNotCleanTaskBar>true</DoNotCleanTaskBar>
            <ProductKey>------------------------------------</ProductKey>
            <RegisteredOrganization>XXXXXXXXX</RegisteredOrganization>
            <RegisteredOwner>XXXXXXXXX</RegisteredOwner>
            <TimeZone>Romance Standard Time</TimeZone>
            <ComputerName>POSTE-001</ComputerName>
        </component>
        <component name="Microsoft-Windows-UnattendedJoin" 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">
            <Identification>
                <Credentials>
                    <Domain>XXXXXXXXX-VILLE.local</Domain>
                    <Password>1nst@ll</Password>
                    <Username>!srvinst</Username>
                </Credentials>
                <JoinDomain>XXXXXXXXX-VILLE.local</JoinDomain>
                <MachineObjectOU>OU=Stations Montage,OU=Workstations,OU=VILLE,OU=Global,DC=XXXXXXXXX-VILLE,DC=local</MachineObjectOU>
            </Identification>
        </component>
        <component name="Security-Malware-Windows-Defender" 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">
            <DisableAntiSpyware>true</DisableAntiSpyware>
        </component>
    </settings>
    <settings pass="oobeSystem">
        <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">
            <InputLocale>040c:0000040c</InputLocale>
            <SystemLocale>fr-FR</SystemLocale>
            <UILanguage>fr-FR</UILanguage>
            <UserLocale>fr-FR</UserLocale>
        </component>
        <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>XXXXXXXXXXXXXX</Value>
                    <PlainText>true</PlainText>
                </Password>
                <Enabled>true</Enabled>
                <LogonCount>1</LogonCount>
                <Username>Administrator</Username>
                <Domain>.</Domain>
            </AutoLogon>
            <FirstLogonCommands>
                <SynchronousCommand wcm:action="add">
                    <CommandLine>Cmd /C C:\Windows\System32\sysprep\DelFileSysprep.cmd</CommandLine>
                    <Description>Clean sysprep files</Description>
                    <Order>2</Order>
                </SynchronousCommand>
                <SynchronousCommand wcm:action="add">
                    <CommandLine>Cmd /C  Diskpart.exe /S C:\Windows\Temp\diskpart.txt</CommandLine>
                    <Order>1</Order>
                    <Description>Assignation de la lettre V au deuxiéme disque </Description>
                </SynchronousCommand>
            </FirstLogonCommands>
            <OOBE>
                <HideEULAPage>true</HideEULAPage>
                <HideWirelessSetupInOOBE>false</HideWirelessSetupInOOBE>
                <NetworkLocation>Work</NetworkLocation>
                <ProtectYourPC>3</ProtectYourPC>
            </OOBE>
            <BluetoothTaskbarIconEnabled>false</BluetoothTaskbarIconEnabled>
            <RegisteredOrganization>XXXXXXXXX</RegisteredOrganization>
            <RegisteredOwner>XXXXXXXXX</RegisteredOwner>
            <TimeZone>Romance Standard Time</TimeZone>
            <FolderLocations>
                <ProfilesDirectory>C:\Users</ProfilesDirectory>
            </FolderLocations>
            <UserAccounts>
                <AdministratorPassword>
                    <Value>awBsAGkAcABpAGoAQQBkAG0AaQBuAGkAcwB0AHIAYQB0AG8AcgBQAGEAcwBzAHcAbwByAGQA</Value>
                    <PlainText>false</PlainText>
                </AdministratorPassword>
                <LocalAccounts>
                    <LocalAccount wcm:action="add">
                        <Password>
                            <Value>awBsAGkAcABpAGoAUABhAHMAcwB3AG8AcgBkAA==</Value>
                            <PlainText>false</PlainText>
                        </Password>
                        <Description>Admin Local</Description>
                        <DisplayName>Admin Local</DisplayName>
                        <Group>Users</Group>
                        <Name>Administrator</Name>
                    </LocalAccount>
                </LocalAccounts>
            </UserAccounts>
            <Themes>
                <DefaultThemesOff>true</DefaultThemesOff>
                <DesktopBackground>C:\Users\Public\POSTE Background\POSTE_1920_1200.jpg</DesktopBackground>
            </Themes>
        </component>
    </settings>
    <settings pass="auditSystem">
        <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>XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX</Value>
                    <PlainText>false</PlainText>
                </Password>
                <Domain>.</Domain>
                <LogonCount>1</LogonCount>
                <Enabled>true</Enabled>
                <Username>POSTE</Username>
            </AutoLogon>
        </component>
    </settings>
    <cpifflineImage cpi:source="catalog:d:/sources/operating system/win7enteng-x64/sources/install_windows 7 enterprise.clg" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>
[/code]

I SAW some problems in Technet windows forums which talks about raid controllers problem and sysprep problems.

I will test the solutions in your topic and in some forums threads.
I give your back answers!

Thanks a lot for interest

Do you have any ideas to help me? please
 

xrainz

Honorable
Jun 11, 2013
6
0
10,510
Config is :
Intel® Xeon® série 5600
4 disk drive 1 for system 3 for raid volume
12 Go Ram
Nvidia quadro 4000

Do you know about this error when the system is restarting after sysprep :"windows could not create the installation working folder" just when the system begin ton apply settings....