Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista Installation > Vista Mini-setup answer file error after Sysprep

Reply
Thread Tools Display Modes

Vista Mini-setup answer file error after Sysprep

 
 
Chad Skinner
Guest
Posts: n/a

 
      07-14-2009
Using WAIK WSIM 6.1.7100 to create an answer file for the mini-setup. I'm
using Vista SP2 that I got from my MSDN Account Free Build 342266 and the
lincense key from my account. After I customize my image:
sysprep /generalize /oobe /reboot /unattend:myanswerfile.xml

I get an error "Windows setup could not configure windows to run on this
computer's hardware" about 80% of the way through mini-setup. From what I
understand this is exactly the situation it should work?!?

My answer file:
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="oobeSystem">
<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-US</InputLocale>
<SystemLocale>en-US</SystemLocale>
<UILanguage>en-us</UILanguage>
<UILanguageFallback>en-us</UILanguageFallback>
<UserLocale>en-us</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>UABAAHMAcwB3ADAAcgBkAFAAYQBzAHMAdwBvAHIAZAA =</Value>
<PlainText>false</PlainText>
</Password>
<Enabled>true</Enabled>
<LogonCount>5</LogonCount>
<Username>User</Username>
<Domain>Fresh</Domain>
</AutoLogon>
<UserAccounts>
<LocalAccounts>
<LocalAccount wcm:action="add">
<Password>

<Value>UABAAHMAcwB3ADAAcgBkAFAAYQBzAHMAdwBvAHIAZAA =</Value>
<PlainText>false</PlainText>
</Password>
<Group>administrators;power users</Group>
<DisplayName></DisplayName>
<Name>User</Name>
</LocalAccount>
</LocalAccounts>
</UserAccounts>
<RegisteredOwner>PRST</RegisteredOwner>
<RegisteredOrganization>Intel</RegisteredOrganization>
<OOBE>
<HideEULAPage>true</HideEULAPage>
<NetworkLocation>Home</NetworkLocation>
<ProtectYourPC>1</ProtectYourPC>
<SkipUserOOBE>true</SkipUserOOBE>
</OOBE>
</component>
</settings>
<settings pass="specialize">
<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">
<ComputerName>Fresh</ComputerName>
<ShowWindowsLive>false</ShowWindowsLive>
<ProductKey>XXXXX-XXXXX-XXXXX-XXXXX-XXXXX</ProductKey>
<TimeZone>Pacific Standard Time</TimeZone>
<RegisteredOwner />
</component>
</settings>
<cpifflineImage cpi:source="wim://wim/images/pkvistasp2.wim#Vista SP2"
xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>



 
Reply With Quote
 
 
 
 
Zaphod Beeblebrox
Guest
Posts: n/a

 
      07-17-2009

"Chad Skinner" <Chad > wrote in
message news:A609EFF6-318D-425F-AFEC-...
> Using WAIK WSIM 6.1.7100 to create an answer file for the
> mini-setup. I'm
> using Vista SP2 that I got from my MSDN Account Free Build 342266
> and the
> lincense key from my account. After I customize my image:
> sysprep /generalize /oobe /reboot /unattend:myanswerfile.xml
>
> I get an error "Windows setup could not configure windows to run on
> this
> computer's hardware" about 80% of the way through mini-setup. From
> what I
> understand this is exactly the situation it should work?!?
>
> My answer file:


<snip>

Since it sounds like a driver problem, you might try setting the
answerfile to keep all the installed drivers so that Vista doesn't
re-detect and re-install them.You do that using the
PersistAllDeviceInstalls property of the Microsoft-Windows-PnpSysprep
component in the generalize pass, like this:

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

Hope this helps.

--
Zaphod

"The best Bang since the Big One" - Eccentrica Gallumbits


 
Reply With Quote
 
Chad Skinner
Guest
Posts: n/a

 
      07-17-2009
ZB,
Thanks for the response, I think I figured it out. Being this is the first
time using ImageX I negelected a very important step which is formatting the
drive before imaging the system. What was happening is some of the license
information (or sysprep data, not sure which yet) was not wiped out by ImageX
as it doesn't care as long as there is not a conflict.

Thanks,
Chad


"Zaphod Beeblebrox" wrote:

>
> "Chad Skinner" <Chad > wrote in
> message news:A609EFF6-318D-425F-AFEC-...
> > Using WAIK WSIM 6.1.7100 to create an answer file for the
> > mini-setup. I'm
> > using Vista SP2 that I got from my MSDN Account Free Build 342266
> > and the
> > lincense key from my account. After I customize my image:
> > sysprep /generalize /oobe /reboot /unattend:myanswerfile.xml
> >
> > I get an error "Windows setup could not configure windows to run on
> > this
> > computer's hardware" about 80% of the way through mini-setup. From
> > what I
> > understand this is exactly the situation it should work?!?
> >
> > My answer file:

>
> <snip>
>
> Since it sounds like a driver problem, you might try setting the
> answerfile to keep all the installed drivers so that Vista doesn't
> re-detect and re-install them.You do that using the
> PersistAllDeviceInstalls property of the Microsoft-Windows-PnpSysprep
> component in the generalize pass, like this:
>
> <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>
>
> Hope this helps.
>
> --
> Zaphod
>
> "The best Bang since the Big One" - Eccentrica Gallumbits
>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SysPrep setup for an enduser machine Dan V Windows Vista Installation 0 12-09-2008 02:43 PM
Sysprep answer file.....WHY!?!?!? Rich Martinez (RRCC) Windows Vista Installation 2 06-24-2007 06:43 PM
WMP11 and SysPrep produces setup error on restart? JohnC Windows Media Player 3 01-31-2007 12:22 AM
Does vista's sysprep use a "sysprep.ini" file for control? Steve Maser Windows Vista General Discussion 4 09-27-2006 09:02 PM
Does vista's sysprep use a "sysprep.ini" file for control? Steve Maser Windows Vista Installation 4 09-27-2006 09:02 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59