SCCM 2012 R2 and MDT 2013 – UDI

SCCM 2012 R2 and MDT 2013 – UDI

Hi All,

1 of my clients is using SCCM 2012 R2 with MDT 2013 for the UDI (User driven installation).

The UDI is really simple, ask name of the computer, OU/Domain, User primary user as well as language. As you can see here, UDI does not format the PC.

Based on this, we created a new UDI XML file and created our task sequence with the 1st step when in winpe is to format the disk. The problem start after the UDI Wizard runs, as it clear the OSDisk variable.

After this, you’ll see the error The parameter is incorrect. (Error: 80070057; Source: Windows) when trying to apply the OS as i described here

Looking at the MDT code, i found that if the OSDDiskpart is set to TRUE, mdt will clear the OSDisk Variable and if it is set to anything else, it will get the value from OSDTargetDrive.

Easy enough to fix. Before running the UDI Wizard, create a TS Variable called OSDTargetDrive and in value, add the %OSDisk% variable.

hope this was helpful

About

Raphael is a 9 times Microsoft MVP with over 20 years of experience in IT, in which 13 years have been dedicated to System Center and Automation. His extended experience has been developed through several IT roles, from first-line support to principal consultant, towards a wide range of clients and sectors. One of the four MVPs in Enterprise Client Management in the UK, Raphael holds more than 30 Microsoft certifications and is an MCT (Microsoft Certified Trainer). Since 2008, Raphael has been providing Microsoft trainings from basic to advanced levels in several categories. Throughout his career, Raphael has joined as speaker in well-known events such as TechEd and Gartner Security Risk Management. He also organised community events and lectured around the world, sharing best practices and knowledge within the industry. Bilingual in English and Portuguese, Raphael has authored diverse articles published in Microsoft's TechEd, served as the editor-in-chief of a magazine focused on System Center in Brazil and wrote two books: "Understanding System Center 2012 SP1 Configuration Manager: The walkthrough book" and "System Center 2012 R2 Configuration Manager: Automation from Zero to Hero".

Tagged with: , , ,