了解 Configuration Manager 中的 PXE 启动

本文介绍预启动执行环境 (PXE) 在Configuration Manager中启动的基本过程、它们的工作原理以及它们如何相互互操作。

原始产品版本:Configuration Manager (Current Branch) 、Microsoft System Center 2012 R2 Configuration Manager、Microsoft System Center 2012 Configuration Manager
原始 KB 编号: 4468601

简介

预启动执行环境 (PXE) 在 System Center 2012 Configuration Manager (ConfigMgr 2012 或 ConfigMgr 2012 R2) 及更高版本中启动,管理员可以通过 PXE 跨网络轻松访问 Windows 预安装环境 (WinPE) 。 PXE 是 Intel 创建的行业标准,在设备固件中提供预启动服务,使设备能够将网络启动程序下载到客户端计算机。

Configuration Manager通过 WDS PXE 提供程序依赖于 Windows 部署服务 (WDS) 服务器角色。 在 ConfigMgr 2012 及更高版本中,SMS PXE 提供程序 (SMSPXE) 向 WDS 服务注册,并为 PXE 客户端请求提供逻辑。

在排查Configuration Manager中与 PXE 相关的问题之前,请务必了解所涉及的基本过程、它们的工作原理以及它们彼此之间的互操作方式。

在本文档的所有实例中,我们均使用 System Center 2012 Configuration Manager R2 累积更新 2 (ConfigMgr 2012 R2 CU2) ,并在 Windows Server 2012 上安装远程站点系统,其中安装了分发点 (DP) 角色。

PXE 服务点安装

我们将首先了解 SMSPXE 提供程序安装所涉及的过程。

通过在“分发点属性”的“PXE”选项卡上选择“启用客户端的 PXE 支持”选项来启动安装。 启用 PXE 支持后,将创建类的 SMS_SCI_SysResUse 实例。

SMSProv.log  
PutInstanceAsync SMS_SCI_SysResUseSMS Provider04/09/2014 11:30:131552 (0x0610)  
CExtProviderClassObject::DoPutInstanceInstanceSMS Provider04/09/2014 11:30:131552 (0x0610)  
INFO: 'RemoteDp.contoso.com' is a valid FQDN.SMS Provider04/09/2014 11:30:131552 (0x0610)

在 WMI 命名空间 Root\SMS\Site_RR2 (,其中 RR2 是站点) 的站点代码, SMS_SCI_SYSResUse 类包含主站点服务器上的所有站点系统角色。 可以在 WBEMTEST 中运行以下查询,以标识该站点服务器上的所有 DPS:

SELECT * FROM SMS_SCI_SysResUse WHERE rolename like 'SMS Distribution Point'

通过 SDK 更改这些角色的属性将更改站点控制文件并配置 DP。 属性 IsPXE 名称是 props 属性的成员,在 DP 已启用 PXE 时设置为 1

SMS 数据库监视器组件检测 对 和 DistributionPoints 表的更改DPNotificaiton,并删除 distmgr.box 中的文件:

Smsdbmon.log  
RCV:UPDATE on SiteControl for SiteControl_AddUpd_HMAN [RR2 ][19604]  
RCV: UPDATE on SiteControl for SiteControl_AddUpd_SiteCtrl [RR2 ][19605]  
SND: Dropped C:\Program Files\Microsoft Configuration Manager\inboxes\hman.box\RR2.SCU [19604]  
SND: Dropped C:\Program Files\Microsoft Configuration Manager\inboxes\sitectrl.box\RR2.CT0 [19605]  
RCV: UPDATE on Sites for Sites_Interop_Update_HMAN [RR2 ][19606]  
SND: Dropped C:\Program Files\Microsoft Configuration Manager\inboxes\hman.box\RR2.ITC [19606]  
RCV: UPDATE on DistributionPoints for DP_Properties_Upd [15 ][19607]  
RCV: INSERT on PkgNotification for PkgNotify_Add [RR200002 ][19608]  
RCV: INSERT on PkgNotification for PkgNotify_Add [RR200003 ][19609]  
RCV: INSERT on DPNotification for DPNotify_ADD [15 ][19610]  
RCV: UPDATE on SiteControlNotification for SiteCtrlNot_Add_DDM [RR2 ][19611]  
SND: Dropped C:\Program Files\Microsoft Configuration Manager\inboxes\distmgr.box\15.NOT [19607]  
SND: Dropped C:\Program Files\Microsoft Configuration Manager\inboxes\distmgr.box\RR200002.PKN [19608]  
SND: Dropped C:\Program Files\Microsoft Configuration Manager\inboxes\distmgr.box\RR200003.PKN [19609]  
SND: Dropped C:\Program Files\Microsoft Configuration Manager\inboxes\distmgr.box\15.DPN [19610]  
Site Control Notification.

然后,主站点服务器上的分发管理器组件启动远程 DP 的配置:

ConfigureDPSMS_DISTRIBUTION_MANAGER04/09/2014 11:30:263776 (0x0EC0)  
IISPortsList in the SCF is "80".SMS_DISTRIBUTION_MANAGER04/09/2014 11:30:263776 (0x0EC0)  
ISSSLPortsList in the SCF is "443".SMS_DISTRIBUTION_MANAGER04/09/2014 11:30:263776 (0x0EC0)  
IISWebSiteName in the SCF is "".SMS_DISTRIBUTION_MANAGER04/09/2014 11:30:263776 (0x0EC0)  
IISSSLState in the SCF is 448.SMS_DISTRIBUTION_MANAGER04/09/2014 11:30:263776 (0x0EC0)  
DP registry settings have been successfully updated on RemoteDp.contoso.com  
SMS_DISTRIBUTION_MANAGER04/09/2014 11:30:263776 (0x0EC0)  
ConfigurePXESMS_DISTRIBUTION_MANAGER04/09/2014 11:30:263776 (0x0EC0)

在远程 DP 上的 SMS DP 提供程序日志中,我们可以看到有关 PXE 安装的以下信息,其中最初 PxeInstalled 找不到注册表项:

Smsdpprov.log  
[66C][Thu 09/04/2014 11:30:28]:CcmInstallPXE  
[66C][Thu 09/04/2014 11:30:28]:RegQueryValueExW failed for Software\Microsoft\SMS\DP, PxeInstalled  
[66C][Thu 09/04/2014 11:30:28]:RegReadDWord failed; 0x80070002

已安装Visual C++ 可再发行程序包:

Smsdpprov.log  
[66C][Thu 09/04/2014 11:30:28]:Running: C:\SMS_DP$\sms\bin\vcredist_x64.exe /q /log "C:\SMS_DP$\sms\bin\vcredist.log"  
[66C][Thu 09/04/2014 11:30:28]:Waiting for the completion of: C:\SMS_DP$\sms\bin\vcredist_x64.exe /q /log "C:\SMS_DP$\sms\bin\vcredist.log"  
[66C][Thu 09/04/2014 11:30:39]:Run completed for: C:\SMS_DP$\sms\bin\vcredist_x64.exe /q /log "C:\SMS_DP$\sms\bin\vcredist.log"

已安装 WDS:

Smsdpprov.log  
[66C][Thu 09/04/2014 11:30:39]:Created the DP mutex key for WDS.  
[66C][Thu 09/04/2014 11:30:39]:Failed to open WDS service.  
[66C][Thu 09/04/2014 11:30:39]:WDS is NOT INSTALLED  
[66C][Thu 09/04/2014 11:30:39]:Installing WDS.  
[66C][Thu 09/04/2014 11:30:39]:Running: ServerManagerCmd.exe -i WDS -a  
[66C][Thu 09/04/2014 11:30:39]:Failed (2) to run: ServerManagerCmd.exe -i WDS -a  
[66C][Thu 09/04/2014 11:30:39]:Running: PowerShell.exe -Command Import-Module ServerManager; Get-WindowsFeature WDS; Add-WindowsFeature WDS  
[66C][Thu 09/04/2014 11:30:39]:Waiting for the completion of: PowerShell.exe -Command Import-Module ServerManager; Get-WindowsFeature WDS; Add-WindowsFeature WDS  
[66C][Thu 09/04/2014 11:31:35]:Run completed for: PowerShell.exe -Command Import-Module ServerManager; Get-WindowsFeature WDS; Add-WindowsFeature WDS  
[66C][Thu 09/04/2014 11:31:35]:Successfully installed WDS.

配置了 TFTP 读取筛选器:

Smsdpprov.log  
[66C][Thu 09/04/2014 11:31:35]:Setting TFTP config key as: System\CurrentControlSet\Services\WDSSERVER\Providers\WDSTFTP  
[66C][Thu 09/04/2014 11:31:35]:Configuring TFTP read filters  
[66C][Thu 09/04/2014 11:31:35]:SetupComplete is set to 0

创建 REMINST 共享并配置 WDS:

Smsdpprov.log  
[66C][Thu 09/04/2014 11:31:35]:RegQueryValueExW failed for Software\Microsoft\Windows\CurrentVersion\Setup, REMINST  
[66C][Thu 09/04/2014 11:31:35]:RegReadDWord failed; 0x80070002  
[66C][Thu 09/04/2014 11:31:35]:REMINST not set in WDS  
[66C][Thu 09/04/2014 11:31:35]:WDS is NOT Configured  
[66C][Thu 09/04/2014 11:31:35]:Share (REMINST) does not exist. (NetNameNotFound) (0x00000906)  
[66C][Thu 09/04/2014 11:31:35]:GetFileSharePath failed; 0x80070906  
[66C][Thu 09/04/2014 11:31:35]:REMINST share does not exist. Need to create it.  
[66C][Thu 09/04/2014 11:31:35]:Enumerating drives A through Z for the NTFS drive with the most free space.  
[66C][Thu 09/04/2014 11:31:37]:Drive 'C:\' is the best drive for the SMS installation directory.  
[66C][Thu 09/04/2014 11:31:37]:Creating REMINST share to point to: C:\RemoteInstall  
[66C][Thu 09/04/2014 11:31:37]:Succesfully created share REMINST  
[66C][Thu 09/04/2014 11:31:37]:Removing existing PXE related directories  
[66C][Thu 09/04/2014 11:31:37]:Registering WDS provider: SourceDir: C:\SMS_DP$\sms\bin  
[66C][Thu 09/04/2014 11:31:37]:Registering WDS provider: ProviderPath: C:\SMS_DP$\sms\bin\smspxe.dll  
[66C][Thu 09/04/2014 11:31:37]:DoPxeProviderRegister  
[66C][Thu 09/04/2014 11:31:37]:PxeLoadWdsPxe  
[66C][Thu 09/04/2014 11:31:37]:Loading wdspxe.dll from C:\Windows\system32\wdspxe.dll  
[66C][Thu 09/04/2014 11:31:37]:wdspxe.dll is loaded  
[66C][Thu 09/04/2014 11:31:37]:PxeProviderRegister has suceeded (0x00000000)  
[66C][Thu 09/04/2014 11:31:37]:Disabling WDS/RIS functionality  
[66C][Thu 09/04/2014 11:31:39]:WDSServer status is 1  
[66C][Thu 09/04/2014 11:31:39]:WDSServer is NOT STARTED  
[66C][Thu 09/04/2014 11:31:39]:Running: WDSUTIL.exe /Initialize-Server /REMINST:"C:\RemoteInstall"  
[66C][Thu 09/04/2014 11:31:39]:Waiting for the completion of: WDSUTIL.exe /Initialize-Server /REMINST:"C:\RemoteInstall"  
[66C][Thu 09/04/2014 11:31:50]:Run completed for: WDSUTIL.exe /Initialize-Server /REMINST:"C:\RemoteInstall"  
[66C][Thu 09/04/2014 11:31:50]:CcmInstallPXE: Deleting the DP mutex key for WDS.  
[66C][Thu 09/04/2014 11:31:50]:Installed PXE  
[66C][Thu 09/04/2014 11:32:03]:CcmInstallPXE  
[66C][Thu 09/04/2014 11:32:03]:PXE provider is already installed.  
[66C][Thu 09/04/2014 11:32:03]:Installed PXE

在远程 DP 上,我们现在可以看到在 中添加 HKEY_LOCAL_MACHINE\Software\Microsoft\SMS\DP的以下值:

在注册表中添加的值的屏幕截图。

注意

PxeInstalledIsPXE 设置为 1

如果查看远程 DP 的文件系统,则会有一个新的登录名 C:\SMS_DP$\sms\logs

SMSPXE.log  
Machine is running Windows Longhorn. (NTVersion=0X602, ServicePack=0)  
Cannot read the registry value of MACIgnoreListFile (00000000)  
MAC Ignore List Filename in registry is empty  
Begin validation of Certificate [Thumbprint B64B9DAF9BFB76A99DC050C21E33B3489643D111] issued to 'e728f6ce-29a6-4ac3-974e-ba3dc855d9a4'  
Completed validation of Certificate [Thumbprint B64B9DAF9BFB76A99DC050C21E33B3489643D111] issued to 'e728f6ce-29a6-4ac3-974e-ba3dc855d9a4'

分发点现在应已启用 PXE,并准备好接受传入请求。

将启动映像添加到已启用 PXE 的 DP

每当配置启用了 PXE 的新分发点时,都需要完成其他步骤才能启用完整功能。 其中之一是,必须将 x86 和 x64 启动映像分发到启用了 PXE 的新 DP。

为此,请导航到“软件库>操作系统>启动映像启动映像 > (x86) ”,然后右键单击并选择“分发内容>”“将启动映像添加到已启用 PXE 的 DP”。 对 x64) (启动映像 重复此过程。

完成此操作后,分发管理器将开始处理请求并启动分发到远程 DP:

DistMgr.log  
Found notification for package 'RR200004'Used 0 out of 30 allowed processing threads.  
Starting package processing thread, thread ID = 0x152C (5420)  
Start adding package to server ["Display=\\RemoteDp.contoso.com\"]MSWNET:["SMS_SITE=RR2"]\\RemoteDp.contoso.com\...  
Attempting to add or update a package on a distribution point.  
Successfully made a network connection to \\RemoteDp.contoso.com\ADMIN$.  
CreateSignatureShare, connecting to DP  
Signature share exists on distribution point path \\RemoteDp.contoso.com\SMSSIG$  
Share SMSPKGC$ exists on distribution point \\RemoteDp.contoso.com\SMSPKGC$  
Checking configuration of IIS virtual directories on DP ["Display=\\RemoteDp.contoso.com\"]MSWNET:["SMS_SITE=RR2"]\\RemoteDp.contoso.com\  
Creating, reading or updating IIS registry key for a distribution point.  
Virtual Directory SMS_DP_SMSSIG$ for the physical path C:\SMSSIG$ already exists.  
Created package transfer job to send package RR200004 to distribution point ["Display=\\RemoteDp.contoso.com\"]MSWNET:["SMS_SITE=RR2"]\\RemoteDp.contoso.com\.  
StoredPkgVersion (9) of package RR200004. StoredPkgVersion in database is 9.  
SourceVersion (9) of package RR200004. SourceVersion in database is 9.

包传输管理器 (DP 是远程) 然后启动内容发送:

PkgXferMgr.log  
DeleteJobNotificationFiles deleted 1 *.PKN file(s) this cycle.  
Found send request with ID: 105, Package: RR200004, Version:9, Priority: 2, Destination: REMOTEDP.CONTOSO.COM, DPPriority: 200  
Created sending thread (Thread ID = 0x1140)  
Sending thread starting for Job: 105, package: RR200004, Version: 9, Priority: 2, server: REMOTEDP.CONTOSO.COM, DPPriority: 200  
Sending legacy content RR200004.9 for package RR200004  
Finished sending SWD package RR200004 version 9 to distribution point REMOTEDP.CONTOSO.COM  
Sent status to the distribution manager for pkg RR200004, version 9, status 3 and distribution point ["Display=\\RemoteDp.contoso.com\"]MSWNET:["SMS_SITE=RR2"]\\RemoteDp.contoso.com\  
StateTable::CState::Handle - (8210:1 2014-09-10 13:19:12.087+00:00) >> (8203:3 2013-11-26 15:43:48.108+00:00)  
Successfully send state change notification 7F6041B0-3EE2-427F-AB72-B89610A6331C  
Sending thread complete

然后,SMS 分发点提供程序将 WIM 部署到远程安装目录:

Smsdpprov.log  
[468][Wed 09/10/2014 14:09:59]:A DP usage gathering task has been registered successfully  
[99C][Wed 09/10/2014 14:19:07]:Content 'RR200004.9' for package 'RR200004' has been added to content library successfully  
[99C][Wed 09/10/2014 14:19:07]:Expanding C:\SCCMContentLib\FileLib\E8A1\E8A136A1348B4CFE97334D0F65934845F2B4675D0B7D925AB830378F4ECF39B9 from package RR200004  
[99C][Wed 09/10/2014 14:19:07]:Finding Wimgapi.Dll  
[99C][Wed 09/10/2014 14:19:07]:Found C:\Windows\system32\wimgapi.dll  
[99C][Wed 09/10/2014 14:19:07]:Expanding RR200004 to C:\RemoteInstall\SMSImages

SMSPXE 发现新映像:

SMSPXE.log  
Found new image RR200004  
PXE::CBootImageManager::QueryWIMInfo  
Loaded C:\Windows\system32\wimgapi.dll  
Opening image file C:\RemoteInstall\SMSImages\RR200004\boot.RR200004.wim  
Found Image file: C:\RemoteInstall\SMSImages\RR200004\boot.RR200004.wim  
PackageID: RR200004  
ProductName: Microsoft® Windows® Operating System  
Architecture: 0  
Description: Microsoft Windows PE (x86)  
Version:  
Creator:  
SystemDir: WINDOWS  
Closing image file C:\RemoteInstall\SMSImages\RR200004\boot.RR200004.wim  
PXE::CBootImageManager::InstallBootFilesForImage  
Temporary path to copy extract files from: C:\RemoteInstall\SMSTempBootFiles\RR200004.

确保这些启动映像配置为从已启用 PXE 的 DP 进行部署。 右键单击启动映像并选择 “属性>数据源”,然后选择“ 从已启用 PXE 的分发点部署此启动映像”。

PXE 启动过程

此处描述的示例启动过程涉及三台计算机:DHCP 服务器、已启用 PXE 的 DP 和客户端 (x64 BIOS 计算机) 。 所有这些都位于同一子网中。

注意

必须确保 DHCP (67 和 68) 、TFTP (69) 和 BINL (4011) 端口在客户端计算机、DHCP 服务器和启用了 PXE 的 DP 之间打开。

在 PXE 启动过程中,客户端必须首先获取 TCP/IP 参数和 TFTP 启动服务器的位置。 设备开机并完成 POST 后,它将开始 PXE 启动过程, (通过启动选择菜单) 提示。

  1. PXE 固件首先会发送 DHCPDISCOVER (UDP 数据包) 广播以获取 TCP/IP 详细信息。 这包括参数请求列表,下面是包含 DHCPDISCOVER 数据包的参数列表的示例网络跟踪:

    示例网络跟踪的屏幕截图,其中包含 DHCPDISCOVER 数据包中的参数列表。

    然后,PXE 客户端标识供应商和特定于计算机的信息,以便可以请求相应启动映像文件的位置和文件名。

  2. 然后,DHCP 服务器和启用了 PXE 的 DP 将 DHCPOFFER 发送到包含所有相关 TCP/IP 参数的客户端。

    在下面的示例 DHCP 产品/服务中,它不包含服务器名称或启动文件信息,因为这是来自 DHCP 服务器的套餐,而不是启用了 PXE 的 DP。

    屏幕截图显示没有服务器名称或启动文件信息的 DHCP。

  3. 然后,客户端在选择 DHCPOFFER 后使用 DHCPREQUEST 进行答复。 这包含所选产品/服务的 IP 地址。

  4. DHCP 服务器使用 DHCPACK 响应 DHCPREQUEST ,该 DHCPACK 包含与 DHCPOFFER 相同的详细信息。 此处未提供服务器主机名和启动文件名:

    屏幕截图显示 DHCPACK 包含与 DHCPOFFER 相同的详细信息。

  5. 此时,我们仍然没有启动文件信息,但是现在客户端有一个 IP 地址。 接下来,PXE 客户端在收到来自早期 DHCPDISCOVER 广播的 DHCPOFFER 后,将新的 DHCPREQUEST 发送到启用了 PXE 的 DP。

  6. 已启用 PXE 的 DP 发送 DHCPACK ,其中包含 BootFileName 位置和 WDS 网络启动程序 (NBP) 。

    屏幕截图显示 DHCPACK 包含 BootFileName 和 WDS 网络启动程序。

下载启动文件

  1. DHCP 会话完成后,客户端将使用读取请求启动 TFTP 会话:

    屏幕截图显示了包含读取请求的 TFTP 会话。

    服务器使用 tsize 和 blksize 进行响应。 然后,客户端将从服务器传输文件。

    注意

    这些块的大小为 blksize,在本例中设置为 1456 字节。 blksize 可在 Windows Server 2008 及更高版本上配置。 请参阅 在 Windows Server 2008 和 Windows Server 2008 R2 中使用 WDS 通过网络部署的操作系统失败

    在这里,我们可以看到 DHCP 对话的结束和 TFTP 传输的开始:

    屏幕截图显示了 DHCP 对话的结束和 TFTP 传输的开始。

    将 WDS 网络启动程序 (NBP) 传输到客户端计算机时,将执行该程序。 在我们的示例中,它首先下载 wdsnbp.com。 NBP 指示客户端是否可以从网络启动,客户端是否必须按 F12 来启动启动,以及客户端将接收哪个启动映像。

    NBP 是特定于体系结构和固件 (BIOS 或 UEFI) 。 在 BIOS 计算机上,NBP 是一个 16 位实模式应用程序,因此可以将同一 NBP 用于基于 x86 和基于 x64 的操作系统。

    在本例中, (x64 BIOS 计算机) ,NBP 位于已启用 PXE 的 DP 上的以下目录中: \\remotedp\c$\RemoteInstall\SMSBoot\x64

    屏幕截图显示 WDS NBP 位置。

    这些文件执行以下功能:

    • PXEboot.com - x86 和 x64 BIOS:要求最终用户按 F12 进行 PXE 启动才能继续 (这是默认的 NBP) 。

    • PXEboot.n12 - x86 和 x64 BIOS:立即开始 PXE 启动, (不需要在客户端) 按 F12。

    • AbortPXE.com - x86 和 x64 BIOS:允许设备使用 BIOS 中指定的下一个启动设备立即启动。 这允许不应使用 PXE 启动的设备立即开始其辅助启动过程,而无需等待超时。

    • Bootmgfw.efi - x64 UEFI 和 IA64 UEFI:EFI 中的 PXEboot.com EFI 版本或 PXEboot.n12 (,选择是否在 EFI shell 中处理 PXE 启动,而不是由 NBP) 处理。 Bootmgfw.efi等效于组合 、 PXEboot.n12abortpxe.combootmgr.exe的功能PXEboot.com

    • wdsnbp.com - x86 和 x64 BIOS:为 Windows 部署服务开发的特殊 NBP,用于以下常规用途:

      • 体系结构检测
      • 挂起的设备方案
    • Wdsmgfw.efi - x64 UEFI 和 IA64 UEFI:为 Windows 部署服务开发的特殊 NBP,用于以下常规用途:

      • 提示用户按键以继续 PXE 启动的句柄
      • 挂起的设备方案
  2. NBP 通过 TFTP 下载操作系统加载器和启动文件,其中包括:

    • smsboot\x64\pxeboot.com
    • smsboot\x64\bootmgr.exe
    • \SMSBoot\Fonts\wgl4_boot.ttf
    • \SMSBoot\boot.sdi
    • \SMSImages\RR200004\boot.RR200004.wim
  3. 使用这些文件和内存中的 WinPE WIM 文件创建 RAMDISK。

    显示已创建 RAMDISK 的示意图。

  4. 客户端从 RAMDISK 启动。

WinPE 启动

启动 WinPE 后,将从 WinPE 映像中包含的 SMS 文件夹启动 TS 启动 shell, (此文件夹在导入到Configuration Manager) 时将此文件夹注入到启动 WIM 中。 可以看到此过程已登录 ,SMSTS.log 位于 下 X:\Windows\Temp\SMSTSLog\

提示

若要访问此登录 WinPE,请在启动映像上启用命令提示符。 为此,请右键单击“启动映像>属性>自定义”,然后检查“启用”命令支持 (仅测试) 。 然后,可以通过在 WinPE 中按 F8 来访问命令提示符。

下面是初始 TS 启动 shell 过程:

SMSTS.log  
========================[ TSBootShell.exe ]========================  
Succeeded loading resource DLL 'X:\sms\bin\i386\1033\TSRES.DLL'  
Debug shell is enabled  
Waiting for PNP initialization...  
RAM Disk Boot Path: NET(0)\SMSIMAGES\RR200004\BOOT.RR200004.WIM  
Booted from network (PXE)  
Network(PXE) path: X:\sms\data\  
Found config path X:\sms\data\  
This is not a fixed non usb disk  
Booting from removable media, not restoring bootloaders on hard drive  
X:\sms\data\WinPE does not exist.  
X:\_SmsTsWinPE\WinPE does not exist.  
Executing command line: wpeinit.exe -winpe  
The command completed successfully.  
Starting DNS client service.  
Executing command line: X:\sms\bin\i386\TsmBootstrap.exe /env:WinPE /configpath:X:\sms\data\  
The command completed successfully.

后跟任务序列管理器启动带:

SMSTS.log  
========================[ TSMBootStrap.exe ]========================  
Command line: X:\sms\bin\i386\TsmBootstrap.exe /env:WinPE /configpath:X:\sms\data\  
Succeeded loading resource DLL 'X:\sms\bin\i386\1033\TSRES.DLL'  
Succeeded loading resource DLL 'X:\sms\bin\i386\TSRESNLC.DLL'  
Current OS version is 6.2.9200.0  
Adding SMS bin folder "X:\sms\bin\i386" to the system environment PATH  
PXE Boot with Root = X:\  
Executing from PXE in WinPE  
Loading TsPxe.dll from X:\sms\bin\i386\TsPxe.dll

加载 TSPXE 后,它将使用 TFTP 下载 TS 变量:

SMSTS.log  
TsPxe.dll loaded  
Device has PXE booted  
Variable Path: \SMSTemp\2014.09.05.18.20.31.0001.{0C616323-A027-41B0-A215-057AF4F1E361}.boot.var  
Succesfully added firewall rule for Tftp  
Executing: X:\sms\bin\i386\smstftp.exe -i 10.238.0.2 get \SMSTemp\2014.09.05.18.20.31.0001.{0C616323-A027-41B0-A215-057AF4F1E361}.boot.var X:\sms\data\variables.dat  
Executing command line: "X:\sms\bin\i386\smstftp.exe" -i 10.238.0.2 get \SMSTemp\2014.09.05.18.20.31.0001.{0C616323-A027-41B0-A215-057AF4F1E361}.boot.var X:\sms\data\variables.dat  
Process completed with exit code 0  
Succesfully removed firewall rule for Tftp  
Successfully downloaded pxe variable file.  

Loading Media Variables from "X:\sms\data\variables.dat"  
Loading Media Variables from "X:\sms\data\variables.dat"  
Found network adapter "Intel 21140-Based PCI Fast Ethernet Adapter (Emulated)" with IP Address 10.238.0.3.  
Loading Media Variables from "X:\sms\data\variables.dat"  
Loading variables from the Task Sequencing Removable Media.  
Loading Media Variables from "X:\sms\data\variables.dat"  
Succeeded loading resource DLL "X:\sms\bin\i386\1033\TSRES.DLL"  

Setting SMSTSMP TS environment variable  
Setting _SMSMediaGuid TS environment variable  
Setting _SMSTSBootMediaPackageID TS environment variable  
Setting _SMSTSHTTPPort TS environment variable  
Setting _SMSTSHTTPSPort TS environment variable  
Setting _SMSTSIISSSLState TS environment variable  
Setting _SMSTSLaunchMode TS environment variable  
Setting _SMSTSMediaPFX TS environment variable  
Setting _SMSTSPublicRootKey TS environment variable  
Setting _SMSTSRootCACerts TS environment variable  
Setting _SMSTSSiteCode TS environment variable  
Setting _SMSTSSiteSigningCertificate TS environment variable  
Setting _SMSTSUseFirstCert TS environment variable  
Setting _SMSTSx64UnknownMachineGUID TS environment variable  
Setting _SMSTSx86UnknownMachineGUID TS environment variable

此时,TSPXE 会找到管理点 (MP) 并下载策略,然后显示用户界面供用户选择可选的任务序列:

SMSTS.log  
site=RR2, MP=<http://ConfigMgrR2.CONTOSO.COM>, ports: http=80,https=443  
certificates are received from MP.  
CLibSMSMessageWinHttpTransport::Send: URL: ConfigMgrR2.CONTOSO.COM:80 CCM_POST /ccm_system/request  
Request was successful.  
Downloading policy from <http://ConfigMgrR2.CONTOSO.COM>.  
Retrieving Policy Assignments:  
Processing Policy Assignment {7898f153-a6de-43e9-98c3-ca5cc61483b0}.  
Processing Policy Assignment {fba19677-0e9b-490d-b601-07e247979bd4}.  
Processing Policy Assignment {6306ca4c-e7ed-4cf5-8419-af9b1695a909}.  
Processing Policy Assignment {05a027ff-e9cf-4fa1-8bd8-4565481061e2}.  
Processing Policy Assignment {b3c991f6-9f83-43c3-875c-f60c4492d278}.  
...  
Successfully read 152 policy assignments.

最后,下载集合和计算机变量并激活欢迎页:

SMSTS.log  
Retrieving collection variable policy.  
Found 0 collection variables.  
Retrieving machine variable policy.  
Downloading policy body {01000053}-{RR2}.  
Response ID: {01000053}-{RR2}  
Reading Policy Body.  
Parsing Policy Body.  
Found 0 machine variables.  
Setting collection variables in the task sequencing environment.  
Setting machine variables in the task sequencing environment.  
Running Wizard in Interactive mode  
Loading Media Variables from "X:\sms\data\variables.dat"  
Activating Welcome Page.  
Loading bitmap

更多信息

有关排查 PXE 启动问题的详细信息,请参阅以下文章: