Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Wednesday, May 8, 2013 6:53 PM
I am not able to deploy either a windows 7 or 8 image to a Lenovo T430 laptop. I can successfully deploy both images to other models we use, Dell E6400, E6410 and E6420s. I am running CM 2012 SP1 integrated with MDT 2012 update 1.
This is what I am seeing the logs.
Executing command line: OSDApplyOS.exe /image:P0100018,%OSDImageIndex% "/config:P010001C,%OSDConfigFileName%" /target:%OSDisk%
Command line for extension .exe is "%1" %*
Set command line: "OSDApplyOS.exe" /image:P0100018,1 "/config:P010001C,unattend.xml" /target:%OSDisk%
((g_Target.Disk > 0) || (arg == L"0")) && (g_Target.Partition >= c_MinPartition), HRESULT=80070057 (e:\nts_sccm_release\sms\client\osdeployment\applyos\applyos.cpp,254)
The /target parameter specifies an invalid target location.
ParseCommandLine(), HRESULT=80070057 (e:\nts_sccm_release\sms\client\osdeployment\applyos\applyos.cpp,429)
Process completed with exit code 2147942487
Failed to run the action: Apply Operating System Image. This is usually caused by a problem with the program. Please check the Microsoft Knowledge Base to determine if this is a known issue or contact Microsoft Support Services for further assistance.
The parameter is incorrect. (Error: 80070057; Source: Windows)
The only difference that I can see from the models is the default setting on the T430s to UEFI, but I am using the MDT task sequence which does support it.
Thanks
Carlos
All replies (7)
Thursday, May 9, 2013 9:27 AM ✅Answered | 2 votes
I'll tell you exactly what the problem is - it's that the MDT task sequence template neglects to assign the OSDisk variable to the a partition for UEFI systems. Take a look at the "Format and Partition Disk (UEFI)" step and look at the properties of the "OSDisk (Primary)" partition - you will find that it is missing a value for the variable. Populate it with "OSDisk" and away you go.
My Personal Blog: http://madluka.wordpress.com
Thursday, May 9, 2013 3:57 PM ✅Answered
You need to make sure you have applied that change only to the "Format and Partition Disk (UEFI)" step in the PreInstall/Format Disk group - not in the same named steps in the Initialization group.
My Personal Blog: http://madluka.wordpress.com
Wednesday, May 8, 2013 8:49 PM
What does the variable %OSDisk% resolve to during the Task Sequence?
Wednesday, May 8, 2013 9:10 PM
Strange, but I have checked the smsts log file and I don't see it resolved to anything.
Wednesday, May 8, 2013 9:46 PM
You would need to read through the ZTIGather script (I believe) to determine how it is suppose to set that variable to debug whats happening. Alternatively you could just set that variable yourself...
Thursday, May 9, 2013 3:33 PM
Hi Madluka,
Thanks, but I did make your recommended changes and I am still seeing the same error. I configured the Format and Partition Disk (UEFI) steps using OSDisk as the variable name under advanced options in the task sequence. Is there anything else I need to do?
Friday, May 10, 2013 1:41 PM
That worked. Thanks very much. I am able to use the Windows 8 imaging process on the T430s. For Windows 7, it looks like I am going to have go back to changing the bios settings to legacy mode as it just hangs on Starting Windows....
Thanks
Carlos