Posts Tagged ‘Task Sequence’

WIM image has deployed to wrong partition using SCCM 2012

When you’re deploying an WIM image using System Center Configuration Manager 2012, by default the installation is done on the D:\ partition of your system. Huh….D:\ partition?? But my task sequence say C:\?? Yes indead!! During the task sequence you’ll see “applying image 1 to C:\”, but after rebooting the system, there is no C:\ drive!! Only a D:\ drive!!

To fix this problem, you’ll need to add a new task within the task sequence.

1.) Open the System Center Configuration Manager 2012 Console
2.) Navigate to the task sequence and click Edit
3.) After the partition task, add a new task named Set Task Sequence Variable
4.) The name of the Task Sequence Variable is: Disable Disk Drive Letter (this can be anything you want!)
5.) The Task Sequence Variable will be: OSDPreserveDriveLetter
6.) The value will be: False
7.) Just PXE boot the machine again and watch te result!

Deploy_01    Deploy_02    Deploy_03

Deploy_04    Deploy_05    Deploy_06

Deploy_07   Deploy_01    Deploy_02

Deploy_03    Deploy_08

How to: SCCM 2012 and installing drivers by computer model using WMI query

When you have multiple computer models in your organization, you have different driver packages available. Each model has his own driver package. You don’t want to use a task sequence per model, but only one task sequence with multiple models in it with different driver packages. This can be accomplished by using a WMI query within your task sequence.

One mayor thing you have to know are the exact computer models in your organization

1.) Create a new task sequence. (in my example Windows 7)
2.) Add a task Apply Driver Package
3.) Select the right Driver Package
4.) Navigate to the Options tab
5.) On the target PC open the command prompt
6.) The next thing you want to know is the hardware model of the target PC.
WMIC ComputerSystem GET model
In my example it is an Dell OptiPlex 9010 as you can see
7.) Navigate back to your task sequence in the Options tab
8.) The WMI namespace will be root\cimv2
9.) The WQL Query will be SELECT * FROM Win32_ComputerSystem WHERE Model LIKE “%OptiPlex 9010”
10.) Now the right driver package will be installed during your task sequence.


SCCM_DRV_04 (2)    SCCM_DRV_05    SCCM_DRV_06