Jump to content


Sign in to follow this  
rainbow

fail to test the PXE on sccm2012

Recommended Posts

HI all,

Today, I try to test the PXE function on SCCM 2012, but failed. Could anyone help me?

 

This is the environment:

OS: WINDOWS2008R2,

SCCM: SCCM2012 RC

AD: installed on the same machine

DHCP: installed on the another machine, it works when using sccm2007

WDS: added this role, but not configure it.

PXE: enabled this function.

Boot Image: add it to the DP, and select this checkbox " Deploy this boot image from the PXE service point"

Task sequence: do not do any task, just select the boot image for testing, and deploy it.

 

Errors:

client prompt: PXE-53: not find the boot files

 

SMSPXE log: get this log from C:\Program Files\SMS_CCM\Logs, the content:

<![LOG[PXE::CBootImageManager::QueryWIMInfo]LOG]!><time="06:20:53.314+480" date="12-15-2011" component="SMSPXE" context="" type="1" thread="5168" file="bootimagemgr.cpp:673">

<![LOG[Opening image file C:\RemoteInstall\SMSImages\UIM00003\boot.UIM00003.wim]LOG]!><time="06:20:53.315+480" date="12-15-2011" component="SMSPXE" context="" type="1" thread="5168" file="wimfile.cpp:322">

<![LOG[PXE::CBootImageInfo::CBootImageInfo]LOG]!><time="06:20:53.317+480" date="12-15-2011" component="SMSPXE" context="" type="1" thread="5168" file="bootimagecache.cpp:37">

<![LOG[PXE::CBootImageInfo::LoadPXERegSettings]LOG]!><time="06:20:53.317+480" date="12-15-2011" component="SMSPXE" context="" type="1" thread="5168" file="bootimagecache.cpp:103">

<![LOG[Failed to read optional PXE settings from Software\Microsoft\SMS\DP\RamDiskTFTPBlockSize]LOG]!><time="06:20:53.317+480" date="12-15-2011" component="SMSPXE" context="" type="1" thread="5168" file="bootimagecache.cpp:130">

<![LOG[PXE::CBootImageInfo::~CBootImageInfo]LOG]!><time="06:20:53.317+480" date="12-15-2011" component="SMSPXE" context="" type="1" thread="5168" file="bootimagecache.cpp:93">

<![LOG[PXE::CBootImageInfo::DeleteTempFiles]LOG]!><time="06:20:53.317+480" date="12-15-2011" component="SMSPXE" context="" type="1" thread="5168" file="bootimagecache.cpp:249">

<![LOG[File C:\RemoteInstall\SMSTemp\2011.12.15.06.20.44.725.{41F3C758-70CB-4BD3-9DDE-8E021143276E}.boot.bcd deleted.]LOG]!><time="06:20:53.317+480" date="12-15-2011" component="SMSPXE" context="" type="1" thread="5168" file="bootimagecache.cpp:265">

<![LOG[File C:\RemoteInstall\SMSTemp\2011.12.15.06.20.44.725.{41F3C758-70CB-4BD3-9DDE-8E021143276E}.boot.bcd.log deleted.]LOG]!><time="06:20:53.317+480" date="12-15-2011" component="SMSPXE" context="" type="1" thread="5168" file="bootimagecache.cpp:280">

<![LOG[Found Image file: C:\RemoteInstall\SMSImages\UIM00003\boot.UIM00003.wim

PackageID: UIM00003

ProductName: Microsoft® Windows® Operating System

Architecture: 0

Description: Microsoft Windows PE (x86)

Version:

Creator:

SystemDir: WINDOWS

]LOG]!><time="06:20:53.317+480" date="12-15-2011" component="SMSPXE" context="" type="1" thread="5168" file="bootimagemgr.cpp:871">

<![LOG[Closing image file C:\RemoteInstall\SMSImages\UIM00003\boot.UIM00003.wim]LOG]!><time="06:20:53.317+480" date="12-15-2011" component="SMSPXE" context="" type="1" thread="5168" file="wimfile.cpp:358">

<![LOG[PXE::CBootImageManager::AddImage]LOG]!><time="06:20:53.318+480" date="12-15-2011" component="SMSPXE" context="" type="1" thread="5168" file="bootimagemgr.cpp:1201">

<![LOG[PXE::CBootImageCache::FindImage]LOG]!><time="06:20:53.318+480" date="12-15-2011" component="SMSPXE" context="" type="1" thread="5168" file="bootimagecache.cpp:657">

<![LOG[PXE::CBootImageInfo::GenerateBootBcd]LOG]!><time="06:20:53.318+480" date="12-15-2011" component="SMSPXE" context="" type="1" thread="5168" file="bootimagecache.cpp:306">

<![LOG[PXE::CBootImageInfo::GeneratePxeVariables]LOG]!><time="06:21:02.169+480" date="12-15-2011" component="SMSPXE" context="" type="1" thread="5168" file="bootimagecache.cpp:601">

<![LOG[PXE::CBootImageManager::InstallBootFilesForImage]LOG]!><time="06:21:02.170+480" date="12-15-2011" component="SMSPXE" context="" type="1" thread="5168" file="bootimagemgr.cpp:1504">

<![LOG[Temporary path to copy extract files from: C:\RemoteInstall\SMSTempBootFiles\UIM00003.]LOG]!><time="06:21:02.170+480" date="12-15-2011" component="SMSPXE" context="" type="1" thread="5168" file="bootimagemgr.cpp:1517">

<![LOG[PXE::CBootImageManager::InstallExtractedFiles]LOG]!><time="06:21:02.170+480" date="12-15-2011" component="SMSPXE" context="" type="1" thread="5168" file="bootimagemgr.cpp:1446">

<![LOG[PXE::CBootImageManager::BuildExtractableBootFileList]LOG]!><time="06:21:02.170+480" date="12-15-2011" component="SMSPXE" context="" type="1" thread="5168" file="bootimagemgr.cpp:1346">

<![LOG[PXE::CBootImageManager::BuildExtractableBootFileList]LOG]!><time="06:21:02.170+480" date="12-15-2011" component="SMSPXE" context="" type="1" thread="5168" file="bootimagemgr.cpp:1346">

<![LOG[failed to copy C:\RemoteInstall\SMSTempBootFiles\UIM00003\WINDOWS\Boot\PXE\pxeboot.com to C:\RemoteInstall\SMSBoot\x86\pxeboot.com]LOG]!><time="06:21:02.170+480" date="12-15-2011" component="SMSPXE" context="" type="3" thread="5168" file="bootimagemgr.cpp:1414">

<![LOG[installBootFilesForImage failed. 0x80070003]LOG]!><time="06:21:02.170+480" date="12-15-2011" component="SMSPXE" context="" type="3" thread="5168" file="bootimagemgr.cpp:1523">

<![LOG[Warning: Failed to copy the needed boot binaries from the boot image C:\RemoteInstall\SMSImages\UIM00003\boot.UIM00003.wim.

The operation completed successfully. (Error: 00000000; Source: Windows)]LOG]!><time="06:21:02.170+480" date="12-15-2011" component="SMSPXE" context="" type="3" thread="5168" file="bootimagemgr.cpp:1235">

<![LOG[Failed adding image C:\RemoteInstall\SMSImages\UIM00003\boot.UIM00003.wim. Will Retry..

The system cannot find the path specified. (Error: 80070003; Source: Windows)]LOG]!><time="06:21:02.170+480" date="12-15-2011" component="SMSPXE" context="" type="3" thread="5168" file="bootimagemgr.cpp:1844">

<![LOG[PXE::CNotifyTimer::Init]LOG]!><time="06:21:02.170+480" date="12-15-2011" component="SMSPXE" context="" type="1" thread="5168" file="notifytimer.cpp:48">

<![LOG[PXE::CNotifyTimer::CancelTimer]LOG]!><time="06:21:02.170+480" date="12-15-2011" component="SMSPXE" context="" type="1" thread="5168" file="notifytimer.cpp:131">

<![LOG[PXE::CNotifyTimer::RegisterTimeout]LOG]!><time="06:21:02.170+480" date="12-15-2011" component="SMSPXE" context="" type="1" thread="5168" file="notifytimer.cpp:88">

<![LOG[PXE::CBootImageInfo::~CBootImageInfo]LOG]!><time="06:21:02.170+480" date="12-15-2011" component="SMSPXE" context="" type="1" thread="5168" file="bootimagecache.cpp:93">

<![LOG[PXE::CBootImageInfo::DeleteTempFiles]LOG]!><time="06:21:02.170+480" date="12-15-2011" component="SMSPXE" context="" type="1" thread="5168" file="bootimagecache.cpp:249">

<![LOG[File C:\RemoteInstall\SMSTemp\2011.12.15.06.20.53.726.{BE56F529-52CE-4ACF-BDCA-B88D4D6C5A80}.boot.bcd deleted.]LOG]!><time="06:21:02.170+480" date="12-15-2011" component="SMSPXE" context="" type="1" thread="5168" file="bootimagecache.cpp:265">

<![LOG[File C:\RemoteInstall\SMSTemp\2011.12.15.06.20.53.726.{BE56F529-52CE-4ACF-BDCA-B88D4D6C5A80}.boot.bcd.log deleted.]LOG]!><time="06:21:02.170+480" date="12-15-2011" component="SMSPXE" context="" type="1" thread="5168" file="bootimagecache.cpp:280">

<![LOG[PXE::CNotifyTimer::TimerSignalFunc]LOG]!><time="06:23:02.170+480" date="12-15-2011" component="SMSPXE" context="" type="1" thread="5168" file="notifytimer.cpp:159">

<![LOG[PXE::CNotifyTimer::ProcessTimer]LOG]!><time="06:23:02.170+480" date="12-15-2011" component="SMSPXE" context="" type="1" thread="5168" file="notifytimer.cpp:186">

<![LOG[PXE::CBootImageManager::OnTimerFired]LOG]!><time="06:23:02.170+480" date="12-15-2011" component="SMSPXE" context="" type="1" thread="5168" file="bootimagemgr.cpp:1806">

<![LOG[PXE::CBootImageManager::QueryWIMInfo]LOG]!><time="06:23:02.170+480" date="12-15-2011" component="SMSPXE" context="" type="1" thread="5168" file="bootimagemgr.cpp:673">

<![LOG[Opening image file C:\RemoteInstall\SMSImages\UIM00004\boot.UIM00004.wim]LOG]!><time="06:23:02.170+480" date="12-15-2011" component="SMSPXE" context="" type="1" thread="5168" file="wimfile.cpp:322">

<![LOG[PXE::CBootImageInfo::CBootImageInfo]LOG]!><time="06:23:02.172+480" date="12-15-2011" component="SMSPXE" context="" type="1" thread="5168" file="bootimagecache.cpp:37">

<![LOG[PXE::CBootImageInfo::LoadPXERegSettings]LOG]!><time="06:23:02.172+480" date="12-15-2011" component="SMSPXE" context="" type="1" thread="5168" file="bootimagecache.cpp:103">

<![LOG[Failed to read optional PXE settings from Software\Microsoft\SMS\DP\RamDiskTFTPBlockSize]LOG]!><time="06:23:02.172+480" date="12-15-2011" component="SMSPXE" context="" type="1" thread="5168" file="bootimagecache.cpp:130">

 

I double checked C:\RemoteInstall\SMSTempBootFiles\UIM00003, and not find any extracting files.

I does not know why there is not any files.

 

I also check the status report in SCCM2012, and find this error:

 

Configuration Manager cannot create the object "cn=SMS-MP-UIM-WIN-EVRVJT9ACJO.W2K8R2SCCM12.COM" in Active Directory (w2k8r2sccm12.com). Possible cause: The site server's machine account may not have full control rights for the "System Management" container in Active Directory Solution: Give the site server's machine account full control rights to the "System Management" container, and all child objects in Active Directory. Possible cause: Another Active Directory object named "cn=SMS-MP-UIM-WIN-EVRVJT9ACJO.W2K8R2SCCM12.COM" already exists somewhere outside of the "System Management" container Solution: Locate the other object with the same name, and delete the object from its current location. Then allow the site to create a new object. Possible cause: The Active Directory schema has not been extended with the correct ConfigMgr Active Directory classes and attributes. Solution: Turn off Active Directory publishing for each site in the forest, until the schema can be extended. The schema can be extended with the tool "extadsch.exe" from the installation media.

 

I use the domain\administrator for this sccm2012, So I think it has the full control. and there is only one domain named W2K8R2SCCM12.COM

 

 

Please help me to identify the root cause. Thanks a lot

Share this post


Link to post
Share on other sites


Maybe try running through a fresh install and follow the guides on this site. I know i had a few issues getting PXE booting to work but mine were all to do with the NAA and me being foolish.

 

-Brendan

Share this post


Link to post
Share on other sites

There is a bug in PXE for SCCM2012RC1. Once you reboot the server or firsr time you enable the PXE, the Windows Deployment Service will hang at "starting" status, you can check that in your services.msc. And the solution is:

1, Disable the PXE, and wait until the WDS status become "started", if it still hung at "starting" for a long time, you need to reboot your SCCM server, and please make sure the WDS service is "started" before you take the step 2.

2, Enable PXE again, and wait again, it takes some time(5 mins for my lab environment), then check the WDS status, sometimes it will automatic changes to "started", but sometime is not. You have to start the service manually if you found the service is in a "blank" status.

3, Ensure your PXE is enabled and the WDS service is started, then reboot your client again, it should work.

Share this post


Link to post
Share on other sites

Bumped into the same problem today and found some interesting rows in SMSPXE.log:

 

 

Found Image file: E:\RemoteInstall\SMSImages\ABC00002\boot.ABC00002.wim PackageID: ABC00002 ProductName: Microsoft® Windows® Operating System Architecture: 9 Description: Microsoft Windows PE (x64) Version: Creator: SystemDir: WINDOWS SMSPXE 2012-04-16 13:54:16 4668 (0x123C)

Closing image file E:\RemoteInstall\SMSImages\ABC00002\boot.ABC00002.wim SMSPXE 2012-04-16 13:54:16 4668 (0x123C)

 

It seemed a bit odd to close (read: unmount) the wim before the required bootfiles are copied.

 

My solution was to manually mount the boot wim's to the specified folders with Deployment Tools Commandprompt and the command (Repeated with the package ABC00001):

dism /Mount-Wim /WimFile:E:\RemoteInstall\SMSImages\ABC00002\boot.ABC00002.wim /index:1 /MountDir:E:\RemoteInstall\SMSTempBootFiles\ABC00002

 

To my surprise the PXE worked flawlessly even after I unmounted the wim's and rebooted the server.

 

Before this sulotion fixed my problem I tried to reinstall DP and/or PXE, rebooting the server, manually installing/reinstalling WDS, changing NAA (Computer / SCCM / Domain Admin) without any success.

 

Hope this helps someone!

  • Like 2

Share this post


Link to post
Share on other sites

Just registered to say thanks to desek!

 

Been having this problem for a week, tried all different things, but couldn't get PXE to boot. Manually copying the images over and it started working straight away.

 

Thanks again! :)

Share this post


Link to post
Share on other sites

1) Make sure your Boot images are distributed to DPs

2) right-click the collection to which you've deployed the Task Sequence and click "Clear required PXE deployments"

3) Retry PXE Boot

Share this post


Link to post
Share on other sites

I would like to add that since manually copying the images over, I have rebooted the server and updated the boot images several times and had no further issue. It was just that initial deployment that refused to work.

Share this post


Link to post
Share on other sites

I followed what Desek above said :)

 

The source wim files are usually in folders within <drive>:\RemoteInstall.

 

My issue wasn't that I couldn't create the image files from CM2012 but that they simply refused to copy to their distribution points. Once I'd forced them the first time (following Deseks's instructions) the PXE service picked them up straight away. I've had to update them several times since with NIC drivers and they have happily deployed themselves automatically without having to repeat the manual process

Share this post


Link to post
Share on other sites

Bumped into the same problem today and found some interesting rows in SMSPXE.log:

 

 

Found Image file: E:\RemoteInstall\SMSImages\ABC00002\boot.ABC00002.wim PackageID: ABC00002 ProductName: Microsoft® Windows® Operating System Architecture: 9 Description: Microsoft Windows PE (x64) Version: Creator: SystemDir: WINDOWS SMSPXE 2012-04-16 13:54:16 4668 (0x123C)

Closing image file E:\RemoteInstall\SMSImages\ABC00002\boot.ABC00002.wim SMSPXE 2012-04-16 13:54:16 4668 (0x123C)

 

It seemed a bit odd to close (read: unmount) the wim before the required bootfiles are copied.

 

My solution was to manually mount the boot wim's to the specified folders with Deployment Tools Commandprompt and the command (Repeated with the package ABC00001):

dism /Mount-Wim /WimFile:E:\RemoteInstall\SMSImages\ABC00002\boot.ABC00002.wim /index:1 /MountDir:E:\RemoteInstall\SMSTempBootFiles\ABC00002

 

To my surprise the PXE worked flawlessly even after I unmounted the wim's and rebooted the server.

 

Before this sulotion fixed my problem I tried to reinstall DP and/or PXE, rebooting the server, manually installing/reinstalling WDS, changing NAA (Computer / SCCM / Domain Admin) without any success.

 

Hope this helps someone!

 

Thanks it helped me :P

 

 

Share this post


Link to post
Share on other sites

Bumped into the same problem today and found some interesting rows in SMSPXE.log:

 

 

Found Image file: E:\RemoteInstall\SMSImages\ABC00002\boot.ABC00002.wim PackageID: ABC00002 ProductName: Microsoft® Windows® Operating System Architecture: 9 Description: Microsoft Windows PE (x64) Version: Creator: SystemDir: WINDOWS SMSPXE 2012-04-16 13:54:16 4668 (0x123C)

Closing image file E:\RemoteInstall\SMSImages\ABC00002\boot.ABC00002.wim SMSPXE 2012-04-16 13:54:16 4668 (0x123C)

 

It seemed a bit odd to close (read: unmount) the wim before the required bootfiles are copied.

 

My solution was to manually mount the boot wim's to the specified folders with Deployment Tools Commandprompt and the command (Repeated with the package ABC00001):

dism /Mount-Wim /WimFile:E:\RemoteInstall\SMSImages\ABC00002\boot.ABC00002.wim /index:1 /MountDir:E:\RemoteInstall\SMSTempBootFiles\ABC00002

 

To my surprise the PXE worked flawlessly even after I unmounted the wim's and rebooted the server.

 

Before this sulotion fixed my problem I tried to reinstall DP and/or PXE, rebooting the server, manually installing/reinstalling WDS, changing NAA (Computer / SCCM / Domain Admin) without any success.

 

Hope this helps someone!

Thanks, this stopped the error message I was receiving in SMSPXE.log. I have to ip helpers for the actual PXE Boot. What is the correct boot file name to 67 on the DHCP server?

Share this post


Link to post
Share on other sites

Please someone help (I am having a similar issue with my PXE boot images as describled in the above logs), I did follow the above solution as thus: mounted boot image to (F:\RemoteInstall\SMSTempBootFiles) and then unmounted to ( F:\RemoteInstall\SMSImages\) without manually copying anything and yet the issue continues.

 

smsPxe.log reads: (Failed to read optional PXE settings from Software\Microsoft\SMS\DP\RamDiskTFTPBlockSize).

 

Please can someone specifically tell me where: the "image was copied manually from and to what location it was copied to" as some have referred to above?

 

Waiting for some pointers from you guys please.

 

Thanks

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...