Solved

In Windows 7 testing, get error "windows could not parse or process unattend file for pass [specialize]

Posted on 2011-03-17
11
941 Views
Last Modified: 2012-05-11
Hi,

I have been using a virtual windows 7 machine for testing sysprep scenarios for a rollout shortly.  Problem is no matter what configuration i put the machine in (Apps, no apps, updates, no updates), I always get a "windows could not parse or process unattend file for pass [specialize].  The settings specified in the answer file cannot be applied.  The error was detected while processing settings for component [microsoft-windows-shell-setup] ".

I have also found that the Windows Media Player Network Sharing Service (WMPNetwk.exe) could sometimes cause these types of errors, so i always stop the service and disable before running sysprep with my unnattend file.  I have also tried running with a MAK volume licensing key in the unnatend and also without to no avail.  Each time, I revert back to a clean image and do my test again so that i don't have to worry about the re-arm scenario with activation.

I'm literally at my wits end with this one.  At first, i thought it might be a software App issue so i even tried with a snapshot image with no 3rd party Apps added but still fails.

What's interesting is that i can usually run a 'virgin' sysprep install with the generalize switch and no unnatend file fine most times.  It's only when i try to apply the unattend that i get the windows could not parse type error.  For this reason, i had created a very skeleton version of the unnatend with just the specialize and oobe passes applied.  I really need to get this working in order to apply the CopyProfile setting from specialize in order to build a default profile for the machine that will give users a standard feel when logging in.

I am attaching three files here:  the original windows could not parse error, the specialize pass (i had to blur out our product key for privacy reasons) and the oobe pass - all with various settings applied.  Can someone take a look at these files and possibly shed some light on what is going on?

500 points to a solution.  Thanks again guys
could-not-parse.JPG
specialize-pass.JPG
oobe-pass.JPG
0
Comment
Question by:sparky321
[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
  • 7
  • 3
11 Comments
 
LVL 50

Expert Comment

by:jcimarron
ID: 35160122
0
 

Author Comment

by:sparky321
ID: 35160754
Thanks for your reply jcimarron.  Neither of these fixes my original issue though.  I thought Microsoft finally got it right with Windows 7 but obviously there are still some bugs with deploying for business.
0
 

Author Comment

by:sparky321
ID: 35167284
I'm hoping to get this sorted.  is there any other ways of getting the CopyProfile setting applied to a base user logged in to the machine that you are about to image?
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 21

Accepted Solution

by:
Ivano Viola earned 500 total points
ID: 35170022
When you created your XML file using WAIK, did you use the wim image from the Windows 7 installation disk which you used to install on your image computer?  

Looking at the 3 files you posted, the only thing I can suggest is try leaving the computer name field empty. Other than that all seems to be fine.

I've created an article on Windows 7 sysprep. It may give you some ideas regarding problems you may experience. If you continue to have problems you could give it a try. I've been using this process for the last two years without problems.
http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Windows/Windows_7/A_3095-Windows-7-Sysprep.html

Let me know how it goes.
0
 

Author Comment

by:sparky321
ID: 35181360
@ ivanoviola:

I will check on the xml file and how it was created under WAIK and update this thread.  Thanks.
0
 

Author Comment

by:sparky321
ID: 35207312
@ ivanoviola:

I went back and checked the source of my unattend xml file.  It was from another Win 7 Pro disc but may have been slightly different than the version i have been using for vmware.  Anyways, created a new unattend xml file from the vmware instance and voila! it works!

I now have a common feel for any users logging in with desktop themes e.t.c. Only one issue though, i keep losing my custom toolbar that i create.  Do you know what pass i need to set so that I retain the custom toolbar created?  Thanks again.

0
 

Author Closing Comment

by:sparky321
ID: 35207321
Nice one, it pays to check your unnatend source to make sure it matches the current version of Win 7 you need to sysprep!
0
 
LVL 21

Expert Comment

by:Ivano Viola
ID: 35207916
Are you referring to IE toolbar? I'm really not sure. I set all my settings in my xml for Internet Explorer but I don't see anything for the toolbar.
0
 

Author Comment

by:sparky321
ID: 35208522
No, I created a custom toolbar called quicklaunch on the taskbar that looks more like the XP version.  I then populate that with the icons i need in there.   When i run sysprep, it completely wipes away the settings for this and puts back on the 'default' pinned icons on the taskbar.

Any ideas, let me know, thanks.

0
 
LVL 21

Expert Comment

by:Ivano Viola
ID: 35208926
I've been able to pin shortcuts to the quick launch using a vbs script. The script only runs when the user logs in for the first time. I don't know about a custom toolbar. Sorry.
0
 

Author Comment

by:sparky321
ID: 35209363
Ok, thanks.  I'll open another thread for this issue.
0

Featured Post

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

First some basics on Windows 7 Backup.  It has 2 components one is a file based backup which is stored in .zip files each zip is split at around 200 Megabytes and there is the Image Backup which is as the name implies a total image of the partition …
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 Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…

695 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