Jump to content

Recommended Posts

Posted

I have built a new machine from scratch and configure it for a lab environment. I used imagex from a usb winpe boot to push my captured image to the distribution server. everything goes fine. When I go to the deploy. workbench and after i add the custom win as an os, then try to add it as a build, I always get the Error during wizard processing "An unexpected error occurred while processing the wizard results. Collection was modified; enumeration operation may not execute.

Error Details:

Assembly: mscorlib Assembly Version: 2.0.0.0 File Version: 2.0.50727.832 (QFE.050727-8300)

Assembly: Microsoft.ManagementConsole Assembly Version: 3.0.0.0 File Version: 5.2.3790.3959

Assembly: MMCFxCommon Assembly Version: 3.0.0.0 File Version: 5.2.3790.3959

Assembly: System Assembly Version: 2.0.0.0 File Version: 2.0.50727.832 (QFE.050727-8300)

Assembly: System.Windows.Forms Assembly Version: 2.0.0.0 File Version: 2.0.50727.832 (QFE.050727-8300)

Assembly: System.Drawing Assembly Version: 2.0.0.0 File Version: 2.0.50727.832 (QFE.050727-8300)

Assembly: System.Configuration Assembly Version: 2.0.0.0 File Version: 2.0.50727.832 (QFE.050727-8300)

Assembly: System.Xml Assembly Version: 2.0.0.0 File Version: 2.0.50727.832 (QFE.050727-8300)

Assembly: Microsoft.BDD.Workbench Assembly Version: 3.0.0.0 File Version: 3.0.142.0

Assembly: Microsoft.BDD.ConfigManager Assembly Version: 3.0.0.0 File Version: 3.0.142.0

Assembly: System.Data Assembly Version: 2.0.0.0 File Version: 2.0.50727.832 (QFE.050727-8300)

Assembly: System.Management Assembly Version: 2.0.0.0 File Version: 2.0.50727.832 (QFE.050727-8300)

Assembly: Microsoft.ComponentStudio.ComponentPlatformInterface Assembly Version: 6.0.0.0 File Version: 6.0.6000.16386 (vista_rtm.061101-2205)

Assembly: Microsoft.ComponentStudio.ComponentPlatformImplementation Assembly Version: 6.0.0.0 File Version: 6.0.6000.16386 (vista_rtm.061101-2205)

Assembly: Microsoft.ComponentStudio.Common Assembly Version: 6.0.0.0 File Version: 6.0.6000.16386 (vista_rtm.061101-2205)

Assembly: Microsoft.ComponentStudio.Serializer Assembly Version: 6.0.0.0 File Version: 6.0.6000.16386 (vista_rtm.061101-2205)

System.InvalidOperationException: Collection was modified; enumeration operation may not execute.

at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)

at System.Collections.Generic.List`1.Enumerator.MoveNext()

at Microsoft.ComponentStudio.ComponentPlatformInterface.AnswerFile.ReadSettingsFromUnattendNode(Node unattendRoot)

at Microsoft.ComponentStudio.ComponentPlatformInterface.AnswerFile.DoLoad(Boolean useImagePathInAnswerFile)

at Microsoft.ComponentStudio.ComponentPlatformInterface.AnswerFile..ctor(String path, OfflineImageInfo imageInfo)

at Microsoft.ComponentStudio.ComponentPlatformInterface.Cpi.OpenAnswerFile(String path, OfflineImageInfo imageInfo)

at Microsoft.BDD.ConfigManager.UnattendManager..ctor(String uPath, String catPath)

at Microsoft.BDD.ConfigManager.BuildItem.Update()

at Microsoft.BDD.ConfigManager.ConfigManagerBase.Add(ConfigItemBase theItem)

at Microsoft.BDD.Workbench.BuildView.OnWizardComplete(String wizardFile, XmlDocument wizardResults, ProgressEventHandler theEventHandler)

It then creates the build. If refresh the deployment points and try to boot the new wim from winpe using the captured image, I get a blue screen when it starts the vista intsall with an error message pertaining to a "Bad IRQL". Has anyone seen this or can tell me what I am doing wrong? Thanks


Posted

Are you using windows update for Vista before sysprep on your target machine?

There are several updates to Vista that will Break BDD in the build creation process, specifically updates to IE 7 and windows defender.

After it fails, you can try navigating to Distribution$\Control\Build\Unattend.xml (where Build is the build name) and edit using notepad. Remove Internet-Explorer and Windows-Defender entries. See if that will salvage your build.

Another method with future build creations... navigate to your basic Vista build and turn off auto updating, then deploy to a fresh target machine, add apps, configs, etc.. then sysprep and use imagex to copy it over.

To turn auto updating off go here: Distribution$\Control\Build\Unattend.xml and edit in notepad. ctrl+f and search for "protect". Change the number from "1" to "3".

Build refers to whatever your basic/raw vista build is (the ripped dvd build). Save changes and update your deploypoint.

for imagex, i use a bootable usb2 key with WinPE and imagex.

after booting into WinPE:

net use z: \xx.xx.xx.xxx\distribution$\captures (x's are ip numbers of your bdd server, or where you keep your distribution$ share folder)

enter id and password: domain\admin_username and password when prompted.

e: (i have my bootable usb set as drive e:)

imagex /compress fast /flags "Enterprise" /verify /capture c: z:\image_name.wim "description"

You should be able to successfully create OS, build and update deploy point.

As usual, I am just some complete tool telling you what to mash on your keyboard.. so proceed at your own risk!

Hope that helps.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...