SCCM 2012 R2 and MDT 2013
today i started testing the SCCM 2012 R2 and MDT 2013 integration and for my surprise, the Task Sequence i created (and modified) was failing with the following error:
Set command line: “OSDApplyOS.exe” /image:PS100007,1 “/config:PS10000B,unattend.xml” /target:%OSDisk%
The /target parameter specifies an invalid target location.
Failed to run the action: Apply Operating System Image.
The parameter is incorrect. (Error: 80070057; Source: Windows)
at the 1st, i though that was something wrong with my image and just to be sure, did a DP update but it was not…
looking at the internet I found Johan similar issue on MDT 2012 RC (http://www.deploymentresearch.com/Research/tabid/62/EntryId/53/Troubleshooting-tips-Refreshing-clients-with-SCCM-2012-and-MDT-2012-RC1.aspx) and because this, I went back to my TS and started validating the format steps…
for my surprise, the MDT format step for UFDI (Format and Partition Disk (UEFI)) that i copied from the MDT TS itself had the OSDisk (Primary) a variable called OSDTemporaryDrive instead of OSDisk.
i changed it to OSDisk and the OS deployment (Apply OS image step) started working like a charm…
i don’t expect too many people to get this issue, but if you’re testing the MDT integration with Windows 8.1 on a Hyper-V VM Generation 2, better to look at this.
hope this helps