Deploying Windows 7 Using SCCM 2012 R2

Deploying Windows 7 Using SCCM 2012 R2 n this post we will see the steps for deploying windows 7 using SCCM 2012 R2. In my previous post we saw the steps to capture a reference operating system (Windows 7) using SCCM 2012 R2. Note that this post is different from the one which shows the steps to build and capture the operating systems using SCCM 2012, we will not be using build and capture approach here rather we will capture a reference operating system, i.e. capture windows 7 using SCCM 2012 R2 and we will deploy the same using SCCM 2012 R2 in the this post. We will be creating a device collection first and then we will import the computer information to this device collection. One the computer is added to the collection we will create task sequence, configure it and deploy it the device collection.

Deploying Windows 7 Using SCCM 2012 R2

So in my previous post we had successfully captured the windows 7 operating system and now we will be deploying the captured image using SCCM 2012 R2. To do that lets create a blank virtual machine without any operating system installed on it. Note down the MAC address of the virtual machine (the same applies to a physical box too).

Deploying Windows 7 Using SCCM 2012 R2

Lets create a new device collection. This is to add the computer to this collection for which the operating system is going to be deployed. Right click on Device Collections, click Create Device Collection.

Deploying Windows 7 Using SCCM 2012 R2

Provide the name for this collection , set the Limiting collection to All Systems. Click Next.

Deploying Windows 7 Using SCCM 2012 R2

We will not define any rules for this collection. Click on Next. Since we will be creating a collection without defining any rule, the wizard prompts that the collection will not contain any members until we define a membership rule. On the pop up box click on OK.

Deploying Windows 7 Using SCCM 2012 R2

The device collection has been created. Now we will import the computer information to add the new computer object to this collection. Click on Devices, click on Import Computer Information.

Deploying Windows 7 Using SCCM 2012 R2

Choose Import single computer and click Next.

Deploying Windows 7 Using SCCM 2012 R2

Specify the Computer name, MAC Address of the computer (MAC address of the computer where the OS is going to be deployed) and click Next.

Deploying Windows 7 Using SCCM 2012 R2

Click Next.

Deploying Windows 7 Using SCCM 2012 R2

Choose Add computers to the following collection, click on Browse and choose the new device collection that we created. Click Next.

Deploying Windows 7 Using SCCM 2012 R2

Once the computer information is imported, click on Close. The process of importing this new computer to a new device collection will take few minutes.

Deploying Windows 7 Using SCCM 2012 R2

 

After we create a device collection and import the computer information, the next step is to deploy the captured operating system. Right Task Sequences and click Create Task Sequence. Choose Install an existing image package. Click Next.

Deploying Windows 7 Using SCCM 2012 R2

Provide the Task sequence name, click on Browse and specify the Boot Image. Click Next.

Deploying Windows 7 Using SCCM 2012 R2

Click on Browse and specify the Image Package. Choose Enable the local admin account and set the desired password. Click Next.

Deploying Windows 7 Using SCCM 2012 R2

You can choose to add this computer to the domain or join a workgroup. In this example we will choose the computer to Join a domain, click on Browse and select Domain, Domain OU and specify an account that has permissions to join the computer to the domain. In this example we will be using an user account named sccmadmin which is a member of Domain Admins group. Click Next.

Deploying Windows 7 Using SCCM 2012 R2

The Configuration manager client package is automatically selected, you can specify additional information in Installation properties such as Management Point, Fallback status point etc. Click on Next.

Deploying Windows 7 Using SCCM 2012 R2

We will not configure Configuration state migration in this post so uncheck all the checkboxes and click on Next.

Deploying Windows 7 Using SCCM 2012 R2

You can choose to include the windows updates which will be installed after the OS deployment. We will see the deployment of software updates in a different post, choose Do not install any software updates. Click Next.

Deploying Windows 7 Using SCCM 2012 R2

Click Close.

Deploying Windows 7 Using SCCM 2012 R2

Once the task sequence is created the next step is to deploy it to the device collection. Click on Task Sequences, right click the task sequence that you have created for deploying OS and click on Deploy. In the Deploy Software Wizard, click on Browse and choose the task sequence and Collection. Click Next.

Deploying Windows 7 Using SCCM 2012 R2

Set the purpose as Available and let this task sequence be available to only media and PXE. Click Next.

Deploying Windows 7 Using SCCM 2012 R2

Leave this to default and click Next.

Deploying Windows 7 Using SCCM 2012 R2

Leave the User Experience options to default and click Next.

Deploying Windows 7 Using SCCM 2012 R2

On this screen please read the warning line at the bottom. “A network account is required to access content from Windows PE“. You must define a network access account in order for this deployment to run smoothly. To define a network access account, on the CM2012 R2 console click Administration, under Site Configuration click Sites, in the top ribbon click Configure Site Components, click Software Distribution. Click Network Access Account and add specify the account which has enough permissions to access the network locations.Click Next.

Deploying Windows 7 Using SCCM 2012 R2

Click Close to close the Deploy software wizard.

Deploying Windows 7 Using SCCM 2012 R2

So far in this post we have created a device collection, imported the computer information to the collection, created a task sequence for deploying the captured OS and deployed it to the collection. Now we are ready for deploying the operating system, power on the VM / Physical box where the OS is to be deployed, set the device to boot from the network. On the screen press F12 key for network service boot.

Deploying Windows 7 Using SCCM 2012 R2

Hit Enter key when you see this screen.

Deploying Windows 7 Using SCCM 2012 R2

On the Task Sequence Wizard, provide the password and click on Next.

Deploying Windows 7 Using SCCM 2012 R2

You should see the task sequence for deploying OS under the list of Task Sequences. Choose the task sequence and click Next.

Deploying Windows 7 Using SCCM 2012 R2

The hard disk is being partitioned.

Deploying Windows 7 Using SCCM 2012 R2

We see that the captured image is being applied to the new computer.

Deploying Windows 7 Using SCCM 2012 R2

Final screenshot of the windows 7 OS deployment.

Deploying Windows 7 Using SCCM 2012 R2


About The Author

I am Prajwal Desai and I have been working in the IT for over 5 years with a strong focus on Microsoft Server Technologies. For the last five years, as a System Administrator I have been working on Lync, SCCM, Vmware, VDI, Exchange, Windows Servers etc. I’m currently very interested in everything related to Configuration Manager 2012, Lync, Windows Server and Exchange.

Related posts

  • Arshad Hussain

    Good one. Thanks a Million for posting all Basic requirments ,i am just reading all your post when i get free time form My job .

    Regards,
    Arshad

  • Hadi

    Hi Prajwal,

    Recently I upgraded the SCCM to 2012 R2 versionfrom SP1. I noticed that my application deployment task sequence during the OSD failed without any error message.

    Basically after the Configuration Client Manager installation (your last step of installation) the windows machine screen just showed the logon screen. No more Apps download attemps.

    Eventhough I have set the network access account on the Site Component the warning about “Network Access account” is still showed up during the Task Sequence creation. Is this normal?

    All the OS and apps deployment were working fine on SP1.

    Do you have any clue?

    Thanks in advance.

    Hadi

    • http://prajwaldesai.com Prajwal Desai

      Check smsts.log and Appdiscover.log files.

  • Bar

    Hi,

    This is nice tutorial. Is this work in SCCM 2012 SP1?
    I need to perform OSD from SCCM 2012 SP1 environment.

    • http://prajwaldesai.com Prajwal Desai

      Yes it works for SCCM 2012 SP1 too.

  • Paulo

    Hello
    I’m using as a virtual platform, vmware fusion 6 on a macbook pro. The problem I am having is that this notice when booting via network from an empty VM, appears

    “Downloaded WDSNBP

    Architecture: x64

    The details below show the information Relating to the PXE boot request for this computer. Please provide these details to your Windows Deployment Services Administrator so That this Request can be approved.

    Pending Request ID: 45

    Contacting Server: IP Number

    TFTP Download: smsboot \ x64 \ abortpxe.com

    PXE Boot aborted. Booting to next device … ”

    Not if it is an error vmware fusion, virtual network adapter or some settings in SCCM.
    The SCCM server is 2012 R2.

    Excellent post.

    thanks

  • Paulo

    Prajwal

    I still receive the same error, googlie thousand times and there are a thousand different solutions but none applied. I can not find the solution.

  • Vince

    I have an issue i get the the F12 but then i get error message pxe-m0f exiting intel boot agent
    where should i start to trouble shoot

  • Vince

    its a lenovo t540p
    you have to press function + f12
    and it works fine

  • Marc

    Does not work : error downloading strategy for the computer… (0x8004005)

  • Dylan

    Is there an automatic install OS to Workstation without hit the F12 key. Thanks.

    • http://prajwaldesai.com Prajwal Desai

      No, it is recommended that you use F12 key during OSD.

  • Codi Campbell

    Prajwal,

    Thanks again for this great resource. I’ve followed this guide, and the preceding guide to a T, however when attempting to deploy the image I get an error. Once I’ve booted into WinPE on the test machine, and chosen the correct task sequence, I get an immediate error that reads

    ‘Failed to Run Task Sequence’
    ‘This task sequence cannot be run because the program files for (Boot Image ID) cannot be located on a distribution point. For more infomation, etc.’

    Could you point me into the direction to fix this?

  • Sion Nghoshi

    Prajwal,

    I followed the steps and im using VM Version 10.
    however, when booting my vm from the network i get the following error
    “PXE-E55: ProxyDHCP service did not reply to request on port 4011.
    PXE-M0F: Exiting Interl PXE ROM
    Operating System not found”

    please assist.

    Thanks
    SION

  • http://PrajwalDesai.com/ Prajwal Desai

    @Sion – have you set DHCP class identifier option #60 in the DHCP configuration ??

    • Sion Nghoshi

      No i do not have a DHCP server setup or configured in my lab environment.

      while on this: i tried changing the settings for the VM – on the client i changed the “Custom: specific virtual network from VMnet1 (Host-only)” and back and now im getting the PXE-E53: No boot filename received”

      do i need to install DHCP on my server?
      i.e on my DC

      Thanks for the reply

      • http://PrajwalDesai.com/ Prajwal Desai

        Yes you must install DHPC server.. If you are using VMnet 1 (host only) i guess the IP address is assigned by the virtual DHCP server.

        Install DHCP server on your active directory VM or any other VM and go to C:Program Files (x86)VMwareVMware Workstation and launch vmnetcfg. Select VMnet1 and uncheck the box ” Use local DHCP service to distribute IP address to VM’s”

        • Sion Nghoshi

          Ok cool thanks. my vm is now getting an IP from the dhcp server and i’ve configure the options for the dchp. im now getting the following message. “Operating system not found”.

          TFTP Download: smsbootx64abortpxe.com

          while the logs on the sccm says: no boot action.Aborted. Not Serviced. and no advertisements found

          • http://PrajwalDesai.com/ Prajwal Desai

            Check if WDS service is running ? Have you applied CM2012 R2 hotfixes ?

            restart the WDS service once and try…

            http://prajwaldesai.com/configuration-manager-2012-r2-hotfixes/

          • Sion Nghoshi

            yes the hotfixes are installed. i followed all your docs. i have now restarted the wds service and thanks that part is fine now.
            im now successfully picking up the image, like im connecting to the boot manager and selecting the operating system after that it will start loading files… then Initializing Windows PE and then it restarts. so its now just restarting. it does not get to the point where i have to enter the password.

            Thanks

          • http://PrajwalDesai.com/ Prajwal Desai

            Redistribute the boot images to DP once again..

  • manish nair

    hi,

    1. In the window whr u chose “enable the account and specify the local admin pwd” . wht is this option ? its talkin abt which accnt and which pswd ?

    2. when the os is getting deployed, u provide a pswd. which is this pwd ? is this d one which we gave when we configured the DP ? lots and lots of acc and pswds. nw access account , sccm admin accnt , pxe pwd , its too confusing !!!!

    3. how this method is used for large scale deployment ? we cant go to every pc and enter F12 key !!!!!

    4. how this method is diff from the previous “build and capture” method ?

    5. we installed wadk as pre-req. wds is also a pre-req as given in other sites. I guess the boot images we see in ConfigMgr is bec of wadk. i wanted to kno exactly where wds wadk r gettin used ? everythin we did in configmgr console then whr r wds and wadk gettin useful !!!!!

    6. u r accessing the .iso from nw share tht means reference pc is in same nw wid the server pc eventho its not in domain !!! so cant i capture the OS of a pc which is just standalone pc in no network ?

    7. u added the dest pc to collection using its mac address. is tht pc in a nw wid the server pc?

    thx

  • Bojan Zivkovic

    Prajwal do you have complete documentation (video, pdf, . . . ) for zero-touch os deployment using SCCM 2012 R2 & MDT 2013?

    • http://PrajwalDesai.com/ Prajwal Desai

      No Bojan I don’t have that yet.

  • LHN

    thanks for the step by step. i has been very helpful thus far BUT I ran into task error 0x80004005 after on the “apply OS” on task list.

    the sequence of my task lists are:
    restart in winPE
    Partition disk 0 – bios
    apply data image (1-1)
    apply OS (2-2)
    apply windows settings
    apply network settings
    apply device drivers
    Setup windows and conf

    any suggestions is appreciated.

  • LHN

    weird… i posted a few mins ago and seemd like it was removed?

    • http://PrajwalDesai.com/ Prajwal Desai

      @LHN – The comment was not removed. I moderate the comments to avoid the SPAM.

  • LHN

    thanks. The other issue is getting the SMSTS.log file. i’ve enable the “command line options” in the boot.image x64 BUT when the encountered the error, pressing F8 doesn’t do anything for me. i’ve tried numerous time and even have 2 different images to test and both ran into the same error with similar results. F8 doesn’t work on both.

    what other options are there to get the log from client?

    thanks!

    • http://PrajwalDesai.com/ Prajwal Desai

      Did you re-distribute your boot images to their Distribution Points after enabling the command line options ??

  • http://PrajwalDesai.com/ Prajwal Desai

    Sorry, you need to post the complete log file.

  • muneer

    Mr.prajwal this was an useful documentation i have been following the entire post of install sccm step by step guide.i was able to create task,but once i press F12 it takes the image and reaches the sccm screen where it shows preparing network connections and restarts.please i would like to know your opinion about what i have done wrong.

    • http://PrajwalDesai.com/ Prajwal Desai

      @Muneer – Have you added the network drivers to the TS and distributed / updated the boot images to the DP ?