Search Me

Friday, June 13, 2014

OSD: Task sequence fails with "CCMCORE.DLL is missing" error message

Problem:


When installing an operating system using SCCM OSD 2012 R2, the task sequence process the step 'Setup Windows and ConfigMgr'.  During the last portion of the step, an error message occurs:

The program can't start becuase ccmcore.dll is missing from your computer.  Try reinstalling the program to fix this problem.

Clearing the error message results in the machine displaying a login prompt.  At this stage, restarting the machine causes the OSD build process to continue.

Work Around:

During the task sequence, the variable OSDPreserveDriveLetter is set.  This is used to force the operating system to install to C: instead of D:

Disabling this action allows the installation to continue successfully, but the operating system is installed to D:.

Solution:

I was able to resolve this by running my build and capture sequence again to create a new baseline image for my task sequence.

Note from Microsoft:  The support engineer suggested to put the OSDPreserveDriveLetter variable (set as false) into the build and capture sequence, just before it captures the WIM.  While I don't think this had anything to do with the solution, you may want to try it.  All documentation that I found on this variable indicated that it was valid only during deployment, not during capture.