In this article I’m going to show how to create a SCCM 2012 task sequence to deploy Windows Server 2008 R2 using Microsoft Deployment Toolkit 2013.
- Make sure to have an Operating System Images and an Operating System Installers ready for Windows Server 2008 R2 already installed in SCCM
- Download, install and configure Microsoft Deployment Toolkit 2013 (Make sure to perform these steps on the SCCM server!)
- Make sure MDT is properly installed
- Make sure MDT is properly installed
- Once you make sure that MDT is properly installed, then you need to create a MDT package in SCCM
- Basically, from the MDT installation folder, you’re going to copy the following folders to a network share that you’ll use to create the SCCM package: Control, Scripts, Servicing and Tools
- Once in the create package wizard, make sure you select This package contains source files and point it to the network share you created in step 2.1
- In the Program Type screen, select Do not create a program
- Once finished, make sure to Distribute Content
- Make sure these steps are done properly or you’ll have major issues with the rest of this how-to. I found some great information about creating an MDT package on this link
- Click on Create MDT Task Sequence
- In the Choose Template screen, select Server Task Sequence
- In the General screen, provide a name and description for the task sequence
- In the Details screen, provide the domain and domain account that will be used to join such domain. Also provide organization name and product key number for the installation of the server OS
- In Capture Settings screen, select This task sequence will never be used to capture an image
- In Boot Image screen, select your WinPE boot image, in my case that will be Boot image (x64)
- In MDT Package screen, you’re going to select the MDT package created earlier in this how-to (this portion will either make or break this how-to)
- In OS Image screen, select the Windows Server 2008 R2 WIM file (Described in requirements step 1)
- In OS Image Index, select the version of server you want to run, in my case it will be Sever 2008 R2 Enterprise
- In Client Package, select the SCCM client package that you’ve been using in your environment
- In Settings Package screen, in my case I selected just any package from the list…because I’m going to disable these tasks later on
- In Sysprep Package, there’s only one option already selected, so just hit Next button
- Hit Next until you get to Finish
Also, pay close attention to the following fields in Apply Operating System Image section:
- Destination – Logical drive letter stored in a variable
- Variable name – System
- System is used for drive letter, in this case C:
Next, we’re going to configure the Apply Windows Settings section.
Here, you’re going to type your company’s name and user name for this server, also you’ll need the server’s product key numbers.
In our environment, we have a licensing server, so I set the Licensing server field to Do not specify. Make sure you set the Time Zone as well.
Now, we’re going to Apply Network Settings to our server installation.
This section will allows us to join this server to the domain. You can specify your domain name and the domain organizational unit (OU) where the server account can be placed.
The account used to join the server to the domain can be just a regular domain account.
We’re now going to load drivers to our server installation, this is a nice to have option, but not required. Obviously, you have to have the driver packages created previously.
Next, we’re going to load the SCCM client to our server installation. In this section, I’m loading the default SCCM client, which comes with SCCM installation, and I’m also installing a hotfix for the SCCM client.
This section is pretty much self explanatory, just select the server roles and features you want to add then continue.
I have disabled some section (New Computer Only and Capture the Reference Machine) on purpose, you don’t have to to that.