Solved

Windows 7 Sysprep/Deployment Error

Posted on 2010-08-12
5
1,066 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
5 Comments
 
LVL 96

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:Ivano Viola
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

To Patch or not to Patch? That is the question!

Don't get caught out like thousands of others around the world in the recent Ransomware Fiasco!
Discuss..
- Why it's not a good idea to wait before Patching
- Sensible approaches to Patching discussed
- Add your feedback, comments and suggestions

Question has a verified solution.

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

When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no back…
When you try to extract and to view the contents of a Microsoft Update Standalone Package (MSU) for Windows Vista, you cannot extract the files from the MSU. Here we are going to explain how to extract those hotfix details without using any third pa…
This Micro Tutorial will give you basic overview of the control panel section on Windows 7. It will depth in Network and Internet, Hardware and Sound, etc. This will be demonstrated using Windows 7 operating system.
The viewer will learn how to successfully download and install the SARDU utility on Windows 8, without downloading adware.

751 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