Quantcast
Channel: Microsoft Deployment Toolkit forum
Viewing all articles
Browse latest Browse all 11297

Unable to Edit unattend.xml in captured windows 10 1607 image

$
0
0

I'm running MDT 2013 Update 2 and ADK for Windows 10 1607 (10.1.14393.0). I did a deploy and capture of a Windows 10 1607 machine. I'm able to import the wim, create and use a task sequence, etc. However, I am unable to edit the unattend.xml through MDT. All machines involved are x64. I've tried from both the server running MDT and my Windows 10 workstation.

Error:

Performing the operation "generate" on target "Catalog".
Starting: "C:\Program Files\Microsoft Deployment Toolkit\Bin\Microsoft.BDD.Catalog40.exe" "D:\MDT\DeploymentShare\Operating Systems\Lenovo Win10\VMware, Inc._VMware Virtual Platform_.wim" 1 > "C:\Users\dlange\AppData\Local\Temp\Microsoft.BDD.Catalog.log" 2>&1
No existing catalog file found.
PROGRESS: 0: Starting.
PROGRESS: 0: Creating mount folder: C:\Users\dlange\AppData\Local\Temp\IMGMGR_VMware, Inc._VMware Virtual Platform__CAP001DDrive_22wyisxw.12i.
PROGRESS: 5: Creating temp folder: C:\Users\dlange\AppData\Local\Temp\IMGMGR_VMware, Inc._VMware Virtual Platform__temp_hwakwjsy.moj.
PROGRESS: 10: Mounting Windows image: D:\MDT\DeploymentShare\Operating Systems\Lenovo Win10\VMware, Inc._VMware Virtual Platform_.wim. This might take a few minutes.
PROGRESS: 30: Mounted Windows image.
PROGRESS: 33: Serializing Data.
PROGRESS: 63: Cleaning up...
PROGRESS: 63: Unmounting Windows image: D:\MDT\DeploymentShare\Operating Systems\Lenovo Win10\VMware, Inc._VMware Virtual Platform_.wim.
PROGRESS: 66: Deleting mount folder.
PROGRESS: 69: Cleaning up...
ERROR: Unable to generate catalog on D:\MDT\DeploymentShare\Operating Systems\Lenovo Win10\VMware, Inc._VMware Virtual Platform_.wim: System.InvalidOperationException: The operation failed to complete. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentException: Value does not fall within the expected range.
   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
   at ?A0xdead87cd.ImportCsiComponent(ISettingsEnginePriv* pSettingsEngine, INamespaceIdentityPriv* pId, IStream* pStream)
   at Microsoft.ComponentStudio.ComponentPlatformInterface.CsiComponentImporter.ImportTo(TempSmiStoreLocation smiStoreLocation, String smiSchemaLocation)
   at Microsoft.ComponentStudio.ComponentPlatformInterface.OfflineImageImpl.InitializeComponentSettings(TempSmiStoreLocation tempSmiStoreLocation)
   at Microsoft.ComponentStudio.ComponentPlatformInterface.OfflineImageImpl..ctor(OfflineImageInfo imageInfo)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark)
   at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
   at System.Reflection.Assembly.CreateInstance(String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
   at Microsoft.ComponentStudio.ComponentPlatformInterface.Cpi.PlatformImplementation.CreateOfflineImageInstance(OfflineImageInfo imageInfo)
   --- End of inner exception stack trace ---
   at Microsoft.ComponentStudio.ComponentPlatformInterface.Cpi.PlatformImplementation.CreateOfflineImageInstance(OfflineImageInfo imageInfo)
   at Microsoft.ComponentStudio.ComponentPlatformInterface.OfflineImageCatalog.Serialize(OfflineImageInfo imageInfo)
   at Microsoft.ComponentStudio.ComponentPlatformInterface.OfflineImageInfo.CreateCatalog()
   at Microsoft.BDD.Catalog.Program.DoCatalog()

Non-zero return code from catalog utility, rc = 2002

Any help would be greatly appreciated!

Daniel



Viewing all articles
Browse latest Browse all 11297

Latest Images

Trending Articles



Latest Images