• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1348
  • Last Modified:

MDT Capture Image task | Hyper-V Server 2012 / server Core errors

Hi there folks!  I'm having a bit of a problem trying to successfully run a Capture task against my Server 2012 Hyper-V Core machines.

When I try to launch the LiteTouch.wsf scripts from the deployment share, I eventually get an error that isn't very descriptive.  a GUI pops up saying the Deployment was cancelled, and there are  FAILURE ( 5206 ) codes, Event 41002.

When I try to boot the system from the PXE/WDS server, and the LiteTouchPE image, the Deployment task wizard does launch properly, but I get an error when the script tries to apply the WinPE files to the disk (Running Action: Apply Windows PE).  This error is normally caused by WinPE trying to be shoved into too small a disk partition.
(ZTI error: unhandled exception from LTISysprep: system cannot find file specified  -2147024894 0x80070002 )

Hence the recommendations I've seen elsewhere to always run Capture tasks from inside the target OS.  Is there something about Server 2012 Core that interferes with the WSF scripts running properly?
Also, this Hyper-V server was deployed from a boot DVD ISO image, not from the MDT server itself.  I understand that deploying from MDT in the first place will fix the PXE LiteTouch environ being unable to write WinPE to the local disk, is that right?

Thanks in advance for all the wonderful assistance! :)
0
murraybd
Asked:
murraybd
1 Solution
 
James HaywoodCommented:
I've not captured a hyper-v 2012 yet but you can try sysprepping down then capturing via WDS?
0
 
murraybdAuthor Commented:
Yes, turns out the Core server OS is missing the MSHTA.exe component, so the MDT scripts cannot run from inside the OS.

Recommended method was to sysprep closed, boot an alternative WinPE tool image, and run a modified capture task in that manner.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now