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

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


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


  • Bar


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

  • Paulo

    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 \

    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.


  • Paulo


    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.

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

  • Codi Campbell


    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


    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.


  • @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

      • 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:

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

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

            restart the WDS service once and try…


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


  • manish nair


    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?


  • Bojan Zivkovic

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

  • 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?

    • @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?


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

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

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

    • Sion Nghoshi

      Thanks a lot. i will check..

  • Keitaro

    hi i followed all of the info above but after it got to installing configuration manager it failed but the OS installed fine could someone tell me please how to fix this thank you.

    • Let me know if this issue is occurring for more than one computer.

      • Keitaro

        yes almost every computer. there is a time when it works but it is only for that you computer and when i try it on a different computer if fails with the same error code. why do you think it is failing?

        • I see the error “”

          GetTsRegValue() is unsuccessful. 0x80070002.

          Can you confirm if you have configured the network access account ?

  • Keitaro

    Hi I have followed your info above but there seems to be a problem with me. After the os deploys it go to the final screen where it is installing the client manager and after install of it finishes boom error the install failed will add pic so you can see. Can someone tell me why this is napping?

  • Looks like this is an issue related to NIC drivers. What does smsts.log file says ? –

  • Rajasekarg

    Hi Prajwal,

    Drivers section not recovered in this post, any link for the same please ??.

  • mohammad

    is there any way to deploy windows to 500 computers without configuring PXE? all the computers have Win XP right now.

    • You can use either a Bootable USB Stick or CD to boot a bare-metal computer and install the OS through Configuration Manager, PXE is not required.

      • mohammad

        actually i want to do this by network so there shouldn’t be any system touch (Zero Touch Installation). can i use Task Sequences and prepare the system for windows installation by uploading Windows Image and Forcing to boot from that on next bootup ?
        we have SCCM Agent installed on all systems right now.

        • Yes, you can create “Task Sequence Media” to capture and deploy Windows images. Just right-click on Task Sequences for that.

  • Nazir Shah

    Nice and well written article..

  • Paul Frary

    On my test physical machine it was installing the OS but did not join the domain or install the SCCM client. After checking I saw that the network driver was not installing correctly so I fixed that and it is now installing the client but it still does not join the domain. I changed the Domain OU from the default “Computers” to another OU and tested it on a VM which did join the domain and install the client. Now when I try again on my physical machine it I get “No Task Sequences available”.

  • markeone

    Followed the well written articles, but I am having issues when it asks for the media password?
    I saw someone else posted about this, which password is it we’re entering here?

  • Alex Steele

    Hi Prajwal,

    Firstly, great posts!

    I’ve got an issue when trying to deploy Win8.1. I can PXE and start the deployment, but my blank VM (VMware 5.5u2) stalls when partitioning the disks. I get a 0x8004242c error (VDS_E_VOLUME_TOO_SMALL). My captured WIM is around 10GB and my target device disk is set to 20GB so more than enough space.
    I have also removed the CD/DVD drive to remove any issues with writing to the wrong drive.
    Any ideas?

    No worries, all sorted. Simply extended my VHD to 32GB and it worked 😐

    • So after you extended VHD to 32GB, did that fix the issue ?. Your question and answer are in the same comment 🙂

      • Alex Steele

        Yes, that fixed the issue.
        Is there a minimum disk size requirement that needs to be met, and if so, where is that variable configured?

  • Tommy G Thomsen

    hey Prajwal
    I have followed the guide above, and trying to deploy image to a HP elitebook 850G3, but everytime i boot it in PXE, it looks like this(see uploaded image) and it stucks there for a while, no tasksequence what so ever, after few min, it restart automaticly. What is wrong with this? help plz

  • Nick

    Hi Prajwal,

    Starting the PXE-boot worked, once I got in the Configuration Manager Task sequence wizard it asked for a password, that worked aswell, but than a few moments later when it was at the part: apply operating system it gave the following error:

  • Nick

    Hello Prajwal,

    What is the best way to update an image? I found something about the use of DISM. what is it and are there any other options. By updating image, I don’t mean updating the software that’s on it, but like provide new apps or something.

  • Syed Suleman Gilani

    Hi Prajwal,
    I would literally appreciate your efforts regarding this training studies. I am following SCCM all the 52 topics step by step. I have been successfull so far, but now in this topic I have followed all the steps.
    A separate physical desktop System has DC, SQL and SCCM, while i have created 2 VMs for PXE boot.
    My question is, there is always a need for DHCP in WDS deployment method, but here in this procedure i didnt see any thing regarding DHCP. Because when i booted the VMs with PXE they prompt for IP which they cant get, SCCM Server has to provide DHCP to the VMs.
    My VMs are Bridged with Wireless network but they work when they have operating system, now in DOS mode how can they have IP while PXE boot.
    I am stuck in this step. kindly reply…

    • DHCP server is required to assign IP address to client machines during the PXE boot. You mentioned that ” but here in this procedure i didnt see any thing regarding DHCP.” Which procedure are you talking about ?.

  • Syed Suleman Gilani

    OS is successfully deployed, but the system didnt join domain automatically while we mentioned in the task sequence, the domain name and password.??
    Any idea ?

  • Harmeet Singh

    Hi Prajwal,

    I am getting an error when I try to deploy it that “Operating system not found” even I press F12 nothing happens and shows ” Operation system not found”

  • Have you configued the boundaries correctly ?. Have you associated DP to the boundary group ?.

    • Harmeet Singh

      Hi Prajwal – Thank you for your time to reply. Yes I have configured the boundaries exactly as you advised in your previous notes to configure Bountires for configuration Manager 2012 R2. I have been following all your lectures for Configuration Manager 2012 R2.

    • Harmeet Singh Hi Prajwal – Yes I have configured it boundaries as you advised in your previous Posts for Configuring boundaries for 2012 R2. and Yes DP is associated with Boundary group.

  • suki san

    HI Prajwal,

    When I try to deploye task sequence, I get an message: Task Sequence has potential to be high risk deployment. Therefore, the Select Collection” windows display only the custom collections that meet this site configuration for the collection size deployment varification. Deployment varification is configured as part of the sites Properties.

  • suki san

    I just get message, windows i starting and it just sits there. Screen says System Center – Configuration manager, it reboots?

    After reboot, I get a message: No operating system was loaded. Press a key to retry the boot sequence… Any idea?

  • Charles


    I am trying to install Windows 7 on a Panasonic CF 54. The install goes smoothly until the machine has to reboot. Once it reboots at the end it just goes to the black screen giving the options to boot normally etc. I can’t grab the smsts.log files. Its frustrating because it work all the way until it has to reboot. Please let me know if you have seen this. The CF54 is UEFI. Thanks.

    • You can monitor the TS steps using smsts.log file. Before the reboot happens just make a note of TS step and from next we can find out what’s causing the reboot

      • Charles

        The reboot is part of the TS. The problem is when it reboots it doesn’t go to the OS. It fails to find the OS and ask what do want to do “Last know good Configuration” etc black screen with white writing. Could this be a driver issue?

        • It could be a driver issue but I cannot say it confidently. Why don’t you create a new TS and test it step by step ?.

          • Charles

            Hello, I believe it’s the fact we have Windows 8.1 ADK and trying to install Win 10 drivers. I gave up on installing Win 7 on the machine and went to installing Win 10. I noticed when I imported the nic drive into the boot file it’s not naming it correctly. Do you have any documentation on what I need to do once installing Win 10 adk? I’m guessing I have to create new boot images. Thanks

  • Fred Richard

    I too and running into this issue. How did you manage to successfully install applications?

  • Hi Abdul, can you post the question along with screenshot here –