SCCM 2012 R2-未知 PC 通过 PXE 启动-bcd 文件错误

SCCM 2012 R2-未知 PC 通过 PXE 启动-bcd 文件错误

当我想通过 PXE 启动未知 PC 时,启动文件后出现错误boot\x64\pxeboot.n12。该错误看起来像 Windows 8 蓝屏,包含:

Recovery

Your PC needs to be repaired.

The Windows Boot Configuration Data (BCD) file from the PXE Server does not contain a valid operating System entry. Ensure that the Server has boot Images installed for this architecture.

File:\Tmp\x86x64{abc123}.bcd
Error code: 0x0c0000098

You´ll Need to use the recovery Tools on your media. ..

可能发生什么错误?

供您参考:

我已在分发点上启用了 PXE。我部署了 Windows 7 x64 映像以及 boot.wim 映像,并启用了它们可用于 PXE 启动的点。

在 dhcp 服务器上,我在端口 66(sccm/pxe 服务器的 ip)和 67(启动文件的名称:)上进行了输入\SMSBoot\x86\wdsnbp.com

我制作了一个安装现有映像的任务序列。我使用 boot.wim (x64) 和 Windows 7 x64 映像对其进行了配置,以用于“仅媒体和 pxe”。

我宣传了任务序列。

文件的内容状态为成功。我已经等了几分钟。我还尝试了使用 x86 boot.wim 文件的任务序列,但没有任何变化。我从分发点删除了启动映像并再次部署它们 - 也没有变化。我只是从 sccm 中获取了默认启动映像,其中已经包含。

真令人沮丧,我找不到原因。希望你能帮助我。

编辑:

在我将启动文件的 DHCP 选项更改为\SMSBoot\x64\pxeboot example.com并格式化我想要通过 pxe 启动的客户端的本地驱动器后,错误变成了这样:

Recovery

Your PC needs to be repaired.

The Windows Boot Configuration Data for your PC is missing or contains errors.

File:\Boot\BCD
Error code: 0xc000000f

You´ll Need to use the recovery Tools on your media. ..

当我将启动文件的 DHCP 选项重新打开时,出现第一个错误。

我搜索了最后一个错误的解决方案,但并没有找到解决这个问题的好方法。我只找到了类似这样的内容:http://social.technet.microsoft.com/wiki/contents/articles/12268.troubleshooting-sccm-2012-pxe-boot-error-0xc000000f-while-installing-task-sequence.aspx 我不确定是否应该尝试这个解决方案,因为我没有将 SCCM 2012 更新到 SP1,那是带有 SP1 的完整安装。

我还查看了 sccm 服务器上的 SMSPXE.log:

00:25:B3:17:81:81, 569953E2-0A46-11DE-BBDA-B31781810025: Not serviced.  SMSPXE  08.05.2014 11:12:42 8628 (0x21B4)
RequestMPKeyInformation: Send() failed. SMSPXE  08.05.2014 11:12:42 8628 (0x21B4)
Failed to get information for MP: example.org 80004005. SMSPXE  08.05.2014 11:12:42 8628 (0x21B4)
PXE::MP_InitializeTransport failed; 0x80004005  SMSPXE  08.05.2014 11:12:42 8628 (0x21B4)
PXE::MP_LookupDevice failed; 0x80004005 SMSPXE  08.05.2014 11:12:42 8628 (0x21B4)
RequestMPKeyInformation: Send() failed. SMSPXE  08.05.2014 11:12:42 8628 (0x21B4)
Failed to get information for MP: example.org. 80004005.    SMSPXE  08.05.2014 11:12:42 8628 (0x21B4)
PXE::MP_InitializeTransport failed; 0x80004005  SMSPXE  08.05.2014 11:12:42 8628 (0x21B4)
PXE::MP_ReportStatus failed; 0x80004005 SMSPXE  08.05.2014 11:12:42 8628 (0x21B4)
PXE Provider failed to process message. 
Unknown error (Error: 80004005; Source: Unknown)    SMSPXE  08.05.2014 11:12:42 8628 (0x21B4)
00:25:B3:17:81:81, 569953E2-0A46-11DE-BBDA-B31781810025: Not serviced.  SMSPXE  08.05.2014 11:12:42 8628 (0x21B4)
File E:\RemoteInstall\SMSTemp\2014.04.25.16.02.20.01.{F40C9975-DF1F-4F67-802A-29AD678BC3B8}.boot.bcd deleted.   SMSPXE  08.05.2014 11:12:44 46728 (0xB688)
File E:\RemoteInstall\SMSTemp\2014.04.25.16.02.20.01.{F40C9975-DF1F-4F67-802A-29AD678BC3B8}.boot.bcd.log deleted.   SMSPXE  08.05.2014 11:12:44 46728 (0xB688)
File E:\RemoteInstall\SMSTemp\2014.05.08.11.07.51.03.{EE53DA24-A9DE-4629-9C22-1EE99A960150}.boot.bcd deleted.   SMSPXE  08.05.2014 11:12:44 46728 (0xB688)
File E:\RemoteInstall\SMSTemp\2014.05.08.11.07.51.03.{EE53DA24-A9DE-4629-9C22-1EE99A960150}.boot.bcd.log deleted.   SMSPXE  08.05.2014 11:12:44 46728 (0xB688)
Boot image I0100005 has changed since added SMSPXE  08.05.2014 11:29:50 35992 (0x8C98)
Loaded D:\Microsoft\Windows Kits\8.1\Assessment and Deployment Kit\Deployment Tools\amd64\DISM\wimgapi.dll  SMSPXE  08.05.2014 11:29:50 35992 (0x8C98)
Opening image file E:\RemoteInstall\SMSImages\I0100005\boot.I0100005.wim    SMSPXE  08.05.2014 11:29:50 35992 (0x8C98)
Found Image file: E:\RemoteInstall\SMSImages\I0100005\boot.I0100005.wim
 PackageID: I0100005
 ProductName: Microsoft® Windows® Operating System
 Architecture: 9
 Description: Microsoft Windows PE (x64)
 Version:  
 Creator: 
 SystemDir: WINDOWS
SMSPXE  08.05.2014 11:29:50 35992 (0x8C98)
Closing image file E:\RemoteInstall\SMSImages\I0100005\boot.I0100005.wim    SMSPXE  08.05.2014 11:29:50 35992 (0x8C98)
File E:\RemoteInstall\SMSTemp\2014.04.25.16.02.24.02.{120C6047-D013-4481-A959-        E095D4385373}.boot.bcd deleted.   SMSPXE  08.05.2014 11:32:44 23120 (0x5A50)
File E:\RemoteInstall\SMSTemp\2014.04.25.16.02.24.02.{120C6047-D013-4481-A959-E095D4385373}.boot.bcd.log deleted.   SMSPXE  08.05.2014 11:32:44 23120 (0x5A50)
Begin validation of Certificate [Thumbprint DC4C1EAB9A23B7003FADFBD27CD2284069DFF8E6] issued to '{445FD9AA-558A-413B-9243-7AB6530FCD31}'    SMSPXE  08.05.2014 12:02:48 20392 (0x4FA8)
Completed validation of Certificate [Thumbprint DC4C1EAB9A23B7003FADFBD27CD2284069DFF8E6] issued to '{445FD9AA-558A-413B-9243-7AB6530FCD31}'    SMSPXE  08.05.2014 12:02:48 20392 (0x4FA8)

我不确定我该做什么。

更新:

在搜索错误的解决方案后0xc000000f,我发现了一条建议,我应该研究一下mpcontrol.log- 有这些日志文件条目:

SSL is not enabled. SMS_MP_CONTROL_MANAGER  09.05.2014 12:08:04 10392 (0x2898)
Call to HttpSendRequestSync failed for port 80 with status code 404, text: Not Found    SMS_MP_CONTROL_MANAGER  09.05.2014 12:08:05 10392 (0x2898)
Sent summary record of SMS Management Point on ["Display=\\example.org\"]MSWNET:["SMS_SITE=I01"]\\example.org\ to \\example.org\SMS_I01\inboxes\sitestat.box\pywuipdu.SUM, Availability 1, 104723452 KB total disk space , 49143084 KB free disk space, installation state 0.   SMS_MP_CONTROL_MANAGER  09.05.2014 12:08:05 10392 (0x2898)
Http test request failed, status code is 404, 'Not Found'.  SMS_MP_CONTROL_MANAGER  09.05.2014 12:08:05 10392 (0x2898)
Successfully performed Management Point availability check against local computer.  SMS_MP_CONTROL_MANAGER  09.05.2014 12:08:05 10392 (0x2898)

也许我应该启用 SSL?

更新:我不知道我是否可以修复该问题,但我不再负责该系统,所以我无法尝试修复它。无论如何,感谢您的回答。如果有人遇到类似问题,请投票选出正确的答案。

答案1

这表明分发点的 SMS PXE 服务无法捕获启动,而 WDS 则为启动请求提供服务。要验证这是否是问题所在,请查看 \\DPServer\SMS_DP$\SMS\Logs\SMSPXE.log 文件。如果日志文件中的最后一项是

==========PXE Provider shutdown===========

并且您看不到任何最近的 PXE 尝试记录,那么您肯定遇到了这个问题。

如何修复

您只需删除并重新安装 PXE 即可解决此问题。连接到 SCCM 控制台、管理\站点和站点系统,然后双击故障 DP 的分发点组件。在 PXE 选项卡上,删除顶部复选框“为客户端启用 PXE 支持”,然后单击应用,这将提示 ConfigMgr 删除 PXE 角色。

您可以在主服务器上的 distmgr.log 以及 DP 上的 SMSPXE 和 SMSDPPROV.logs 中查看此情况。

完成后,重新启动远程 DP。然后通过相同的复选框重新安装 PXE。您可能会看到以下错误:

Opening image file
Found image file
Closing image File
InstallBootFilesForImage Failed 0x80004005 (Access Denied)
'Failed to copy the needed boot binaries from the boot image  \\server\share\BootImage.wim' 
The operation completed successfully.
Failed adding image, will retry, Unspecified error

随后出现数十条“打开文件时出错:Imagefile.wim Win32=32”。这些错误表明,在重新安装 PXE 后,SCCM 仍在复制启动映像。

它们应该会自行平稳下来,然后你就可以走了。

相关内容