Deploying SCCM 2012 Part 14 – Enabling PXE, Adding OS Installer, Creating Task Sequence.

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.

Deploying SCCM 2012 Part 14 Snap 1

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.

Deploying SCCM 2012 Part 14 Snap 2

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.

Deploying SCCM 2012 Part 14 Snap 3

Provide the folder path where you have copied the Operating system, in our case its sccm.prajwal.localDeploymentOSWindows7. Click Next.

Deploying SCCM 2012 Part 14 Snap 4

Lets name the OS image as Windows 7 Professional. Click Next.

Deploying SCCM 2012 Part 14 Snap 5

Click Next and Click Close. We have successfully added the Operating System Installer.

Deploying SCCM 2012 Part 14 Snap 6

We will now distribute the OS to the distribution point. To do so right click on the Windows 7 Professional, click Distribute Content.

Deploying SCCM 2012 Part 14 Snap 7

Click on Add, Select Distribution Point, in the Add Distribution Points box select the Distribution Point and click OK. Click Next.

Deploying SCCM 2012 Part 14 Snap 8

Click Close.

Deploying SCCM 2012 Part 14 Snap 9

Wait for few minutes until you see the Content Status as Green color which means the content has been distributed.

Deploying SCCM 2012 Part 14 Snap 10

 

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).

Deploying SCCM 2012 Part 14 Snap 11

On the same window click on Data Source tab, check the box Deploy this boot image from the PXE service point.

Deploying SCCM 2012 Part 14 Snap 12

Click on Apply, a box pops up which asks you to update distribution points, click NO.

Deploying SCCM 2012 Part 14 Snap 13

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.

Deploying SCCM 2012 Part 14 Snap 14

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.

Deploying SCCM 2012 Part 14 Snap 15

Select Configuration Manager Client Upgrade. Click Next.

Deploying SCCM 2012 Part 14 Snap 16

Select Always obtain source files from a source folder. Click Next.

Deploying SCCM 2012 Part 14 Snap 17

Specify the package source folder. Its SCCM SERVERSMS_SitecodeClient, in our case its SMS_IND (where IND is the site code). Click Next.

Deploying SCCM 2012 Part 14 Snap 18

Click on next and Click Close. We have successfully created the Package from the definition.

Deploying SCCM 2012 Part 14 Snap 19

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.

Deploying SCCM 2012 Part 14 Snap 20

Click Close. We have distributed the package definition to the Distribution Point.

Deploying SCCM 2012 Part 14 Snap 21

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.

Deploying SCCM 2012 Part 14 Snap 22

Choose Build and capture a reference operating system image. Click Next.

Deploying SCCM 2012 Part 14 Snap 23

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).

Deploying SCCM 2012 Part 14 Snap 24

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.

Deploying SCCM 2012 Part 14 Snap 25

We will not join the machine to the domain, so click on Join a workgroup and provide a workgroup name. Click Next.

Deploying SCCM 2012 Part 14 Snap 26

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.

Deploying SCCM 2012 Part 14 Snap 27

Choose Do not install any software updates. Click Next.

Deploying SCCM 2012 Part 14 Snap 28

Click Next.

Deploying SCCM 2012 Part 14 Snap 29

Click Next.

Deploying SCCM 2012 Part 14 Snap 30

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.

Deploying SCCM 2012 Part 14 Snap 31

Alright, we have created a new task sequence. Click close.

Deploying SCCM 2012 Part 14 Snap 32

 

33 Comments

  1. How can i add a device automaticaly to a device collection after installation the os?

  2. Hi Prajwal
    Is there any option DeployAnywhere for hardware independent imaging

  3. Hi Prajwal, have you ever run into PXE booting a new machine only to have the Task Sequence Wizard not appear?

  4. Avatar photo Sachin Tewary says:

    Hi Prajwal
    The .wmi file that we need to import while creating TS, thet we need to iport from reference computer, is it right ?

  5. Hi Guys!

    i have SCCM 1710 installed and im not seeing the “operating system installers tab. any hints on how to get this accomplished?

  6. Hi,

    Please, tell me, is there some possibility to make SCCM for only boot via PXE – just BOOT, no install after booting? I have image with rescue system made by McAfee and I need just boot from it 😉

    Thank you very much for some reply 😉

  7. Avatar photo menka sharma says:

    Hi Prajwal,

    I need your help to know how to create bootable media in SCCM 2012, I am getting error at the end of the task i am getting error.

    Please help me.

    Thanks,
    Menka

  8. Hi,
    you should create a ‘Operating System Image’
    and then choose for the ‘install.wim’ File,
    Then you will have the options for choose ‘Operating System Installer’.

  9. Avatar photo Dusky Hall says:

    how do I go about created operating system installers?

  10. Avatar photo Dusky Hall says:

    how do I go about creating a operating system installer?

  11. Avatar photo 000vries000 says:

    Hi Prajwal,

    Same for me (SCCM2016) no Operating System Installers option.

    Any idea?

    Cheers.

  12. Avatar photo RC Dela Paz says:

    Hi Prajwal,

    We also don’t have Operating System Installers option. We’re using SCCM 2012 R2 SP1. (screenshot attached)

    Thanks for responding.

    Best regards,
    RC

  13. Avatar photo AaronSmith86 says:

    Prajwal,
    We recently got SCCM 2012 R2 up and running in our environment. However, I don’t have the Operating System Installers option. Instead I have Operating System Upgrade Packages in its place. Have you seen this and if so, do you know how to resolve? I’ve been unable to find any helpful information in regards to this issue.

      1. Avatar photo AaronSmith86 says:

        We’re on SP2, but haven’t applied CU1 that was released last August. We’re going to move forward with applying CU1, but honestly don’t think this will resolve the issue.

  14. Avatar photo Imre Bartha says:

    Hi Prajwal, thanks for the article it was really helpful. Please tell me how to disable the first Network setting dialog during a Bootable media type OS install. I’d like to get the task sequence choosing dialog at first instead of the network settings. Thanks in advance.

  15. Avatar photo Shahin Patwary says:

    Hello Prajwal
    hope you keeping well . i buildup sccm 2012 i facing some problem .when i try to Distribution Point add showing sccm.server.com but dose not show \sccm.server.com i think i was mistake previous any configure pls suggest me

  16. Hi Prajwal,

    Is it possible to run SSCM Task sequence steps after loading in to the installed windows using a auto-login account. I need to run some scripts, that need user to login using a particular account and then the task sequence is required to carry few script install. please advice

  17. Avatar photo Robbie Webster says:

    Hi. the task s works perfectly up until windows starts up for the first time. It is stuck on preparing windows for the first time. Any advice please?

  18. Prajwal,

    Great post, very helpful. I’ve recently deployed a SCCM 2012 R2 (version 5.0.7958.1000) environment and when I attempt to create a build and capture TS through the wizard I have a problem. When I get to the Create Task Sequence Wizard – Install the operating system window, my first field option is titled Image package as opposed to Package (illustrated in your screen shot above). When I click the Browse button there are no installation packages listed? I suspect the wizard is accessing the default location for images (.wim) and not installer packages? Is there something I’m missing?

    Thank you!

    Chad

    1. @Chad – I believe I have missed adding a screenshot where in I had imported .wim file. Please import the .wim file and proceed with the rest of the steps.

      1. Avatar photo Dusky Hall says:

        where is the .wim file… is that something I need to build?

    2. Avatar photo Kashif Ali says:

      I am facing the same issue, can you please guide how to import, if possible with the screenshot or related URL or vdo asap. will be very helpful.

      @Chad if you have any info please advice?

      Thanks,
      Kashif ALi

  19. Prajwal thanks a lot for nice posts. ….. you are very helpful hand to me.
    As mentioned by Dial-in either we need to add Install.wim to display on images or as workaround need to edit the TS and change the selection from images to source files

  20. Avatar photo Ramesh Fatnani says:

    Hi Prajwal,
    Can you share a step by step guide to deploy MS Lync 2013 using SCCM 2012 .

    1. I suppose you want to deploy the Lync 2013 client using SCCM 2012 ? If yes, I will create a post on that soon.

  21. Hi
    Can you give me the detail step by step for deployment for win 7 via SCCM 2007?

  22. Hi,
    I believe there is a step missing, the build and capture task sequence requires an OS image (install.wim), however the steps only included the OS installer (source files), so the task seqeunce step cant be completed.
    Otherwise, a very helpful tutorial.

    1. Avatar photo Dusky Hall says:

      where do you find the .wim file?

      1. you get that file for(windows 7 ,source file,install.wim

        1. you get that file in windows 7 image inside , source file ,install.wim

Leave a Reply

Your email address will not be published. Required fields are marked *