Deploying SCCM 2012 Part 14 – Enabling PXE, Adding OS Installer, Creating Task Sequence – In this post we will see the initial steps to build and capture windows 7 x64 using SCCM 2012.We will first enable the PXE support for the clients, add an windows 7 64 bit OS installer and lastly create a task sequence.
Ways to deploy operating systems – There are several methods that you can use to deploy operating systems to Configuration Manager client computers.
- PXE initiated deployments: PXE-initiated deployments let client computers request a deployment over the network. The operating system image and a Windows PE boot image are sent to a distribution point that is configured to accept PXE boot requests.
- Multicast deployments: In this method the operating system image is sent to a distribution point, which in turn simultaneously deploys the image when client computers request the deployment.
- Bootable Media Deployments: Bootable media deployments let you deploy the operating system when the destination computer starts. When the destination computer starts, it retrieves the task sequence, the operating system image, and any other required content from the network. Because that content is not on the media, you can update the content without having to recreate the media.
- Stand-alone Media Deployments: Stand-alone media deployments let you deploy operating systems in environments where it is not practical to copy an operating system image or other large packages over the network and in environments without network connectivity or low bandwidth network connectivity.
- Prestaged Media deployments: Prestaged media deployments let you deploy an operating system to a computer that is not fully provisioned. The prestaged media is a Windows Imaging Format (WIM) file that can be installed on a bare-metal computer by the manufacturer or at an enterprise staging center that is not connected to the Configuration Manager environment.
For more information on Operating System Deployment in Configuration Manager please go through this link :- http://technet.microsoft.com/en-us/library/gg682108.aspx.
We will first enable the PXE support for the clients, we will be performing the below steps with the user account “sccmadmin”
Launch the configuration manager 2012 console, click on Administration, Servers and Site system roles, right click Distribution point and click properties. Click on PXE tab, check the box “Enable PXE support for clients“. There is warning box that appears, click on Yes. This will enable the PXE support for clients.
After you do the above step, check the box for “Allow this distribution point to respond to incoming PXE requests“, “Enable unknown computer support“, “Require a password when computers use PXE“. Provide a password, for User device affinity choose “Allow user device affinity with automatic approval“. Click on Apply and OK.
Now after enabling the PXE, we will add Operating system installer. In the CM console, click on Software Library, under Operating Systems right click Operating System Installers and select Add Operating System Installer. We will be adding Windows 7 Professional 64 bit OS. The Operating system files have been copied on to the other drive, we will provide the path in the next step.
Provide the folder path where you have copied the Operating system, in our case its \\sccm.prajwal.local\Deployment\OS\Windows7\. Click Next.
Lets name the OS image as Windows 7 Professional. Click Next.
Click Next and Click Close. We have successfully added the Operating System Installer.
We will now distribute the OS to the distribution point. To do so right click on the Windows 7 Professional, click Distribute Content.
Click on Add, Select Distribution Point, in the Add Distribution Points box select the Distribution Point and click OK. Click Next.
Wait for few minutes until you see the Content Status as Green color which means the content has been distributed.
Now we will make some changes in the Boot Images (64 bit and 32 bit). In the CM console, click Software Library, Operating system, Click Boot Images. Right click Boot Image (X64) and click on Properties. Click on Customization tab and check the box Enable Command Support (testing only).
On the same window click on Data Source tab, check the box Deploy this boot image from the PXE service point.
Click on Apply, a box pops up which asks you to update distribution points, click NO.
Now we will distribute our Boot Image to the distribution point. Right Click Boot Image (x64) and click Distribute Content. Click on Add and Select Distribution Point. Click OK. Click Next and close the wizard.
Repeat the same step for Boot Image (x86).
Now we will create a Package and set up as task sequence. There are 2 default packages provided by Microsoft, we will make use of one of them and create a new package. In the CM console, Click on Software Library, under Applications, right click Packages, select Create Package from Definition.
Select Configuration Manager Client Upgrade. Click Next.
Select Always obtain source files from a source folder. Click Next.
Specify the package source folder. Its \\SCCM SERVER\SMS_Sitecode\Client, in our case its SMS_IND (where IND is the site code). Click Next.
Click on next and Click Close. We have successfully created the Package from the definition.
Right click the package that we created just now, Click on Distribute Content. On the next page click on Add and select Distribution Point. Click Next.
Click Close. We have distributed the package definition to the Distribution Point.
Now we will create a Task Sequence. In the CM console, click on Software Library, Operating Systems, right click Task Sequence and click Create Task Sequence.
Choose Build and capture a reference operating system image. Click Next.
Provide a Task Sequence name, description. For Boot Image select Boot Image (x64).
Note : If you are deploying 32 bit OS, select Boot Image (x86).
For the Package, click on Browse and select Windows 7 Professional 64 bit en-us, Edition as Windows 7 Professional, click on Always use the same administrator password. Provide a valid password and click Next.
We will not join the machine to the domain, so click on Join a workgroup and provide a workgroup name. Click Next.
On Install CM client page, Click on Browse and select Configuration Manager Client Upgrade 5.0 All. In the Installation Properties, specify SMSMP=SCCM.PRAJWAL.LOCAL Click Next.
Choose Do not install any software updates. Click Next.
Specify where the captured image file should be saved. Make sure that you provide a valid folder path and the image name should have .wim as extension. click on Set and choose sccmadmin as the account, which will have access to the folder path. Click Next.
Alright, we have created a new task sequence. Click close.