SCCM2007 OSD : Customising your Task Sequence for Building a Client OS on your VMWare Workstation 6.0 or later

April 20, 2009 at 10:04 am in ConfigMgr, ConfigMgr 2007, OSD, sccm, SCCM 2007, Virtual machine, Vmware by Kenny Buntinx [MVP]

Hi ,

Did you ever wanted to build a reference image of your physical workstations onto your VMware Workstation so that people could play around ?

Well , I have a lot of customers demanding for this scenario and here is how you get started :

Step 1 : Download the drivers of the “Intel PRO Network adapter” from the Intel site ( www.intel.com)

Step 2 : Install the VMware workstation 6.5 software on a client . Navigate to the following folder “c:\Program Files\VMWare\Vmware Workstation\wmware_drivers.cab” , extract those drivers to a folder .

Step 3 : Copy the drivers to a folder on your SCCM Primary server & import those drivers into the driver database . Make sure to also create a Driver Package & replicate it to the selected DP’s

SNAG-0024

Step 4 : Obtain the VMware Client Tools and create a package into your SCCM server . Create a program with the following line “ Msiexec /I “client tools.msi” /QN

Step 5 : Edit your task sequence and add the earlier created driver package :

SNAG-0018

 

 

 

 

 

 

 

As you can see , I have multiple hardware’s included .To sort them out , I use wmi queries and that is explained below .

Step 6 : In the properties pane , select your correct driver package and select “do unattended installation if unsigned drivers …….”

SNAG-0020

Step 7 : Go to the options tab and create a wmi query that will only apply/install the drivers when it is a VMware .As shown in the example below.

SNAG-0021

Step 8 : Create a subsection to install specific HW driver software . In this case the VMware client tools .

SNAG-0019

Step 9 : Select you earlier created package

SNAG-0022

Step 10 : In the options tab , you repeat your wmi query as shown above :

SNAG-0023 

Step 11 : You think you are done ? Well on the server side you are , but on the client side you must adapt some client settings to get it working .

Step 12 : Adapting the Virtual network drivers to support the WinPe SCCM enviroment.

Step 13 : After your Virtual machine has been created , the network card is not supported for the SCCM PXE boot . You will need to alter manually the *. Vmx file with notepad and add a line to it.

MAKE SURE YOU CLOSE YOUR VMWARE WORKSTATION APPLICATION BEFORE UPDATING THE FILE! OTHERWISE YOUR CHANGES ARE NOT REFLECTED!

Open the *.VMX file where your VM is located and add the following line :

Ethernet0.virtualDev = “e1000”

image

Save the file and exit the application.

Step 14 : Record your Mac adress and importing it into SCCM to deploy your VMWARE image .

 

Hope it helps ,

 

Kenny Buntinx

Tweet about this on TwitterShare on FacebookShare on Google+Share on LinkedInPin on Pinterest