Link to home
Start Free TrialLog in
Avatar of murraybd
murraybd

asked on

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! :)
ASKER CERTIFIED SOLUTION
Avatar of James Haywood
James Haywood
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of murraybd
murraybd

ASKER

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.