Jump to content


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

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

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


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.