Solved

Windows 7 Sysprep/Deployment Error

Posted on 2010-08-12
5
1,062 Views
Last Modified: 2013-12-12
I have set up a Dell Optiplex 380 with Windows 7 Professional and installed all software and set necessary desktops for the local account, as well as three domain user accounts.

I ran Sysprep using the following command line:
sysprep.exe /oobe /reboot /generalize /unattend:c:\answerfile\unattend.xml

It continued through the Sysprep, rebooted, and I captured the image using Ghost.

Upon deploying that captured image, I get a "unable to parse answer file during 'specialize' pass" message.  The computer then needs to be rebooted, and is stuck in this loop.

The answer file does not have a lot of information in it.    It's pretty simple.  Here it is:

<?xml version="1.0" encoding="utf-8" ?>
- <unattend xmlns="urn:schemas-microsoft-com:unattend">
- <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">
  <CopyProfile>true</CopyProfile>
  <ShowWindowsLive>false</ShowWindowsLive>
  <TimeZone>Eastern Standard Time</TimeZone>
  </component>
  </settings>
- <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>
  <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">
- <OOBE>
  <HideEULAPage>true</HideEULAPage>
  <NetworkLocation>Work</NetworkLocation>
  <ProtectYourPC>3</ProtectYourPC>
  </OOBE>
  <RegisteredOwner>Technology Department</RegisteredOwner>
  <RegisteredOrganization>North Attleboro School Department</RegisteredOrganization>
  </component>
  </settings>
  <cpi:offlineImage cpi:source="wim://conts14/deploymentshare/operating%20systems/windows%207%20professional%20x86/sources/install.wim#Windows 7 PROFESSIONAL" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
  </unattend>

I'm not sure why this is happening, and I need to get the computer to boot.

Thanks in advance,

Justin
0
Comment
Question by:nasupport1
  • 3
5 Comments
 
LVL 95

Expert Comment

by:Lee W, MVP
ID: 33422165
Did you validate the answer file first in the WAIK?
0
 

Author Comment

by:nasupport1
ID: 33422294
Yes.  There were 0 issues in the XML tab, 25 "no changes" on the second tab, and 0 issues on the third tab.
0
 

Author Comment

by:nasupport1
ID: 33432566
I've since rebuilt the image, and I no longer get the specific error about not parsing the answer file.  I do, however, get a new "Windows could not finish configuring the system" error.  You must reboot to continue or "try again", and when you do, this message comes back, creating a boot loop.

Again, the XML unattend file is VALIDATED...no errors.  The computer is not joined to our domain.
0
 
LVL 21

Expert Comment

by:ivanoviola
ID: 33439196
Try adding the following pass to your xml (see image) ...if not joining the domain put the computer into a workgroup.


image.JPG
0
 

Accepted Solution

by:
nasupport1 earned 0 total points
ID: 33471934
I might try ivanoviola's suggestion at a later time, but this question wasn't sufficiently answered in a reasonable amount of time.

I rebuilt the image and was able to use the XML unattend file from my first post without any issues.  But this time, I never joined it to our domain at all (previously, I had joined it to our domain, added some stuff, and removed it from the domain before imaging).  I doubt that was the cause, however, as we had used the process to image labs before.
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum editing capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.
The viewer will learn how to successfully download and install the SARDU utility on Windows 7, without downloading adware.

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question