Friday, 15 February 2013

ConfigMgr 2012 / SCCM 2012 SP1 Step by Step Guide Part 8: Operating System Deployment - Boot Images and Distribution Point

Back to main menu

Part 8 is the first post of the Operating System Deployment section. It describes an important configuration of the Config Mgr Boot images and the method of enabling PXE support on the Distribution Point.

1. Boot Image - command line support

Browse to the boot images and check their properties


Tick the box the enable command support. This will allow you to press the F8 key while in Windows PE to open a command prompt. This is essential while developing an Operating System Deployment solution


Now distribute the Boot Images (both x64 and x86)







2. PXE Support

Browse to the server roles and right click the Distribution Point


Choose Properties


Select PXE tab. Tick all the boxes to enable PXE support. It is important that you choose a complex password.



Windows Deployment Services is installed automatically as part of this process (if you have not already added the role as a prerequisite). See the RemoteInstall folders populating with system files as shown above. Note that if these folders remain empty you will not be able to PXE boot your computers.

49 comments:

  1. Thank for your article, there is a little mistake, it's not F5 but F8

    ReplyDelete
  2. Well spotted. I've changed that now

    ReplyDelete
  3. I have an error when I try to create task sequence ("media") in test environment. I add the Boot image and the Distribution Point then I get:
    "The boot image is not currently available on the selected distribution point. Select a different distribution point or try again later."
    What is missing?

    ReplyDelete
  4. Adding task sequence:
    "The boot image is not currently available on the selected distribution point. Select a different distribution point or try again later."

    Why is it?

    ReplyDelete
  5. Sounds like you haven't distributed your boot images to your Distribution Point.
    Verify in Monitoring > Distribution Status > Content Status

    ReplyDelete
  6. In Content Status:
    Software Type Targeted Size (MB) Compliance
    Boot Image (x64) Boot Image 1 0,0 0,0%
    Boot Image (x86) Boot Image 1 0,0 0,0%
    Configuration Manager Client Package Package 1 0,0 0,0%
    Configuration Manager Client Up.Pack Package 1 0,0 0,0%


    In "View Status" at "Error" tab it appears:
    "Failed to access the source folder for content."

    Which folder access right is false?

    ReplyDelete
  7. You've obviously got some kind of permissions issue. Look at the properties of any of the above - boot images or packages. Check the source location and check the permissions of these folders. Can you browse to them etc?

    ReplyDelete
  8. Check the distmgr.log file for errors.

    ReplyDelete
  9. C:\Program Files\Microsoft Configuration Manager\OSD\boot\i386\boot.W1200003.wim
    This users has full control access rights for that file:
    SYSTEM
    SMS_SiteSystemToSiteServerConnection_SMSProv_W12
    Administrator

    Which users need have access rights yet?

    ReplyDelete
  10. In Asset message is:
    "possible cause: Distribution Manager does not have sufficient rights to the source directory...
    possible cause: theres is not enough disk space..."

    There is 14GB free disk space in virtual machine drive. Is it enough?

    ReplyDelete
  11. In distmgr.log:
    # -------------------------------------------------------------------------------------------
    Failed to find a valid drive on the distribution point ["Display=\\W2012SYSCENTER.w12.local\"]MSWNET:["SMS_SITE=W12"]\\W2012SYSCENTER.w12.local\ $$<11-29-2013 10:10:52.454-60>
    # -------------------------------------------------------------------------------------------

    What does it mean? What is missing?

    ReplyDelete
  12. You've taken this error out of context so it's not very helpful. There must be more in the distmgr.log file.

    ReplyDelete
  13. Hi Gerry

    My Windows Deployment service is not starting. I tried uninstalling and reinstalling the WDS. Installed the WDS separately. Went inside the WDS console and gave the GC details. Gave the WDS service domain admin permission but still no luck. Could you please help me out.

    Regards
    Suraj

    ReplyDelete
    Replies
    1. WDS is leveraged by SCCM to provide Operating System Deployment. You should not configure WDS in any way. SCCM will do that for you.

      I suggest you uninstall WDS again (also disable PXE on the DP). You will have to reboot.

      Now reinstall WDS and if the service does not start you should examine the event logs to figure out why.

      Delete
  14. Thankyou Gerry for the info

    As you had told i uninstalled the Disabled the PXE from DP the automatically the WDS role is also removed. After that i deleted the remote install folder and restarted the machine and installed the WDS again and looked whether the service has started but the same issue. The WDS service is not starting.






    ReplyDelete
    Replies
    1. OK Suraj. As you know, when you uninstall WDS you have to do some clean up. You have already deleted the RemoteInstall folder. However you also have to look in C:\Windows\Temp folder. Are there any Boot or PXE related folders there? You have to delete them also.

      Incidentally you haven't explained how you got to this point. Is this an upgrade or new build and what version of ConfigMgr are you using?

      Delete
    2. Suraj, does the RemoteInstall folder get created when you reinstall WDS.

      If not try running this command:

      wdsutil /initialize-server /REMINST:e:\remoteinstall

      (note that you may not be using e: drive - choose your own drive letter)

      Delete
    3. By the way. this method is NOT supported by Microsoft.

      Delete
  15. Hi Gerry - for some reason I only have an x64 image in my images. Not sure how this happened, how can I get both x86 and x64 added above, so I can enable PXE on both?
    Thanks. Great great series by the way! Thank you so much.

    ReplyDelete
  16. You're welcome. See here for re-creating boot images

    http://www.gerryhampsoncm.blogspot.ie/2014/02/configmgr-2012-create-new-boot-images.html

    ReplyDelete
  17. Gerry - what if you already have PXE options 66/67 enable on your network?

    ReplyDelete
  18. The folders you mention in the last step I can't seem to even find. I'm running R2 and perhaps that's the issue, but WDS is installed. Is the path different in R2?

    ReplyDelete
    Replies
    1. When WDS is installed it creates a folder called RemoteInstall. This is the default WDS Share (shared as REMINST)

      Delete
  19. Hi Gerry,
    I have installed a SCCM 2012 R2, following all your previous blogs.
    Configured PXE enable on DP and boot imaged and distributed on DP.
    Now I'm trying to configure OSD. I added a Win8.1 boot and OS image in sccm console. then I distributed them to DP. But it is a day now still it is showing In progress in Distribution status in monitoring pane. Is there any more configuration to be done which is why the OS images and boot images are taking so long to show 100% compliance.

    Also wanted to know, I've installed Hotfix for SCCM 2012R2. If i Enable PXE on DP, would it create any problem in WDS services now??

    Thanks in advance.
    Jose

    ReplyDelete
    Replies
    1. You should review the distmgr.log file for errors. That is not normal.

      I don't understand the last part. You say you've already enabled PXE.

      Delete
  20. Really good post Gerry...helped me a lot

    ReplyDelete
  21. Thanks for all the help Gerry!

    I'm stuck on distributing the images. I have no distribution points to choose from, but I do show a DP in the administration tab. I must be missing something.

    Thanks

    ReplyDelete
    Replies
    1. If there are no DPs to choose from that would mean that the image has already been distributed. Check Distribution Status under Monitoring node.

      Delete
    2. Both images are there. I'm pretty new at this and must have completed more than I realized. Your tutorials have been a huge help toward making this work. Thanks again!

      Delete
    3. No bother Scott. Glad to help.

      Delete
  22. Hello Gerry,

    Your guide helped me a lot.
    Although, I have a small query: Is it possible to remove the PXE password in DP properties once enabled?
    Is there a particular process I would need to follow to perform this change other than just removing it.
    Will the remote install folder be created once again after this change?
    I have currently deployed SCCM in a test environment and will be moving it soon to a live setup.
    Hence want to be a little cautious.
    Thanking you in advance.

    ReplyDelete
    Replies
    1. You can remove this password with no effect on the folders. I wouldn't advise doing this though. PXE should be protected to avoid computers being rebuilt in error or by unauthorised users.

      Delete
    2. Hello Gerry,

      Thank you for the confirmation.
      I have come across another issue wherein the local administrator password is not being used from the unattend.xml(answer file) and also if i mention it on the apply windows settings during OSD.
      I would like to automate the process of using the local administrator password towards the end of OSD.
      Could you guide me on how could I achieve this. Your views are much appreciated.
      Thank you.

      Delete
    3. I don't understand why this task sequence step would give you difficulty, I've never had an issue with it. What actually happens? Is the local administrator account remaining disabled (which is the default)?

      Delete
    4. I have captured an image from a computer this time leaving the administrator password blank. However, while deploying the task sequence, after SCCM applies the image, I still get a prompt that the password or username is incorrect despite the fact that the administrator password is blank. When I hit enter on the password prompt, I am able to successfully login and task sequence processes successfully. I am not sure what password is Windows using here when the Administrator password is blank.

      Delete
    5. ConfigMgr won't capture the local administrator password. Actually, by default, Sysprep disables the local administrator account. You set this password when you configure the task sequence

      Delete
    6. The image has been captured in audit mode without any local administrator password set. In the answer file, at the audit user pass, I am sysprepping the machine into oobe mode. This all works well, the only issue lies before entering the Audit user pass, I need to hit enter on the Administrator password prompt but as the password is blank, Windows should be able to login automatically but instead it displays that the username or password is incorrect. If I hit enter at that prompt, it works well and proceeds with the task sequence. Is it possible to automate this step?
      Thank you for your help.

      Delete
    7. Hello Gerry,

      Got this issue resolved by removing the Specialize and Audit system pass in the answer file, Windows did not seem to take that too well. Thank you for your input.

      Delete
    8. Good. I'm glad you got it resolved.

      Delete
  23. Hello Gerry

    I have an image that works just fine but when I pushed to encrypted laptop (Symantec Endpoint) it get kicked of after WinPE process.

    Do you know anything about it and guide


    ReplyDelete
    Replies
    1. In my experience this can be very difficult to automate. As the drive is encrypted ConfigMgr cannot partition it and the task sequence fails. Some vendors claim to provide support for this but it's difficult to implement. The only certain way to be successful is to decrypt the drive first.

      Delete
  24. Hi Gerry,

    I noticed that you wrote about installing WDS but do not configure when installing IIS. This caused a lot of issue with SCCM as WDS wont start and was not able to deploy OS.I had to find out somewhere online that when you enable PXE,WDS is installed automatically. Can you remove the WDS from the list when installing IIS as it was very confusing since SCCM automatically installs it. That creates more problems. I am not sure if with SP1 you need to install WDS manually but it works for me without installing WDS in the R2 version.

    ReplyDelete
  25. Hi Gerry,

    I have uploaded Win 7 Boot image,but i can't see Customization Tab in properties to enable command line support.

    Regards,
    Chithiravel.S

    ReplyDelete
    Replies
    1. Have you upgraded ConfigMgr? If so you can't modify down-level boot images. You have to either
      1. maintain the boot images on another system (perhaps a standalone MDT) OR
      2. Create new boot images (see the link below for how to do this)

      http://www.gerryhampsoncm.blogspot.ie/2014/02/configmgr-2012-create-new-boot-images.html

      Delete
  26. Hi I'm having problems with my deployments, running a deployment to an desktop is just fine. Whan I deploy a laptop everything runs fine but after deploying an restarting the portable wont start and gives error 0xc000000f. winload.exe is missing. What can be the problem? the tasksequence is the same

    ReplyDelete
  27. Gerry, We added a new distribution point at a local office. Updated dhcp, setup server in boundary groups etc, normal tasks. When we attempt to pxe boot, we get the "0xc0000001 A required device isn't connected or can't be accessed." I've adjusted the dp's RamDiskTFTPBlockSize to different number with no luck. We updated the boot wim, drivers, and distributed the content to the dp, with no luck. We can Image a vmware machine at our datacenter but not in the local office. Any areas we should check? Thank you in advance.

    ReplyDelete
    Replies
    1. Does the network boot try to connect to the local WDS server? You will be able to see the IP address.

      Delete