UEFI PXE 启动WinPE运行任务序列失败,启动任务序列时出错0x8007000F
***stslog日志信息 <![LOG[Unable to find a raw disk that could be partitioned as the system disk]LOG]!><time="16:12:14.299-480" date="10-30-2021" component="T***Bootstrap" context="" type="3" thread="2464" file="bootimage.cpp:315"> <![LOG[BootImage::GetSystemDisk(iSystemDisk), HRESULT=8007000f (..\bootimage.cpp,488)]LOG]!><time="16:12:14.299-480" date="10-30-2021" component="T***Bootstrap" context="" type="0" thread="2464" file="bootimage.cpp:488"> <![LOG[ValidateSystemPartition(), HRESULT=8007000f (..\bootimage.cpp,1062)]LOG]!><time="16:12:14.299-480" date="10-30-2021" component="T***Bootstrap" context="" type="0" thread="2464" file="bootimage.cpp:1062"> <![LOG[Failed to prepare the system partition for staging. The system cannot find the drive specified. (Error: 8007000F; Source: Windows)]LOG]!><time="16:12:14.299-480" date="10-30-2021" component="T***Bootstrap" context="" type="3" thread="2464" file="bootimage.cpp:1062"> <![LOG[BootImage::PrepareForStaging(sLocalDataPath), HRESULT=8007000f (..\bootimage.cpp,783)]LOG]!><time="16:12:14.299-480" date="10-30-2021" component="T***Bootstrap" context="" type="0" thread="2464" file="bootimage.cpp:783"> <![LOG[Failed to validate for boot image staging]LOG]!><time="16:12:14.299-480" date="10-30-2021" component="T***Bootstrap" context="" type="3" thread="2464" file="bootimage.cpp:783"> <![LOG[StageBootImage() failed. 0x8007000f.]LOG]!><time="16:12:14.299-480" date="10-30-2021" component="T***Bootstrap" context="" type="3" thread="2464" file="bootimage.cpp:889"> <![LOG[TS::Boot::BootImage::StageBootImage( pAssociatedWinPE->GetPackageID(), TsBootProgress, pv, hCancelEvent), HRESULT=8007000f (t***ediawizardcontrol.cpp,2313)]LOG]!><time="16:12:14.299-480" date="10-30-2021" component="T***Bootstrap" context="" type="0" thread="2464" file="t***ediawizardcontrol.cpp:2313"> <![LOG[Failed to stage WinPE. Code(0x8007000F)]LOG]!><time="16:12:14.299-480" date="10-30-2021" component="T***Bootstrap" context="" type="3" thread="2464" file="t***ediawizardcontrol.cpp:2313"> <![LOG[Command line for extension .exe is "%1" %*]LOG]!><time="16:12:14.299-480" date="10-30-2021" component="T***Bootstrap" context="" type="0" thread="2464" file="CommandLine.cpp:229"> <![LOG[Set command line: "X:\***s\bin\x64\TsProgressUI.exe" /Unregister]LOG]!><time="16:12:14.299-480" date="10-30-2021" component="T***Bootstrap" context="" type="0" thread="2464" file="CommandLine.cpp:723"> <![LOG[Executing command line: "X:\***s\bin\x64\TsProgressUI.exe" /Unregister with options (0, 0)]LOG]!><time="16:12:14.299-480" date="10-30-2021" component="T***Bootstrap" context="" type="0" thread="2464" file="CommandLine.cpp:822"> <![LOG[==========[ TsProgressUI started in process 2584 ]==========]LOG]!><time="16:12:14.299-480" date="10-30-2021" component="TsProgressUI" context="" type="1" thread="2588" file="winmain.cpp:330"> <![LOG[Command line: "X:\***s\bin\x64\TsProgressUI.exe" /Unregister]LOG]!><time="16:12:14.299-480" date="10-30-2021" component="TsProgressUI" context="" type="0" thread="2588" file="winmain.cpp:332"> <![LOG[Unregistering COM classes]LOG]!><time="16:12:14.299-480" date="10-30-2021" component="TsProgressUI" context="" type="1" thread="2588" file="winmain.cpp:204"> <![LOG[Unregistering class objects]LOG]!><time="16:12:14.299-480" date="10-30-2021" component="TsProgressUI" context="" type="1" thread="2588" file="winmain.cpp:498"> <![LOG[Shutdown complete.]LOG]!><time="16:12:14.299-480" date="10-30-2021" component="TsProgressUI" context="" type="1" thread="2588" file="winmain.cpp:515"> <![LOG[Process completed with exit code 0]LOG]!><time="16:12:14.314-480" date="10-30-2021" component="T***Bootstrap" context="" type="0" thread="2464" file="CommandLine.cpp:1136"> <![LOG[Successfully unregistered Task Sequence Progress UI.]LOG]!><time="16:12:14.314-480" date="10-30-2021" component="T***Bootstrap" context="" type="1" thread="2464" file="utils.cpp:3710"> <![LOG[ExecuteSelectedTaskSequence(fpCallbackProc,pv,hCancelEvent), HRESULT=8007000f (t***ediawizardcontrol.cpp,1653)]LOG]!><time="16:12:14.314-480" date="10-30-2021" component="T***Bootstrap" context="" type="0" thread="2464" file="t***ediawizardcontrol.cpp:1653"> <![LOG[hrReturn, HRESULT=8007000f (t***ediaresolveprogresspage.cpp,445)]LOG]!><time="16:12:14.314-480" date="10-30-2021" component="T***Bootstrap" context="" type="0" thread="2464" file="t***ediaresolveprogresspage.cpp:445"> <![LOG[ThreadToResolveAndExecuteTaskSequence failed. Code(0x8007000F)]LOG]!><time="16:12:14.314-480" date="10-30-2021" component="T***Bootstrap" context="" type="3" thread="2464" file="t***ediaresolveprogresspage.cpp:445"> <![LOG[ThreadToResolveAndExecuteTaskSequence returned code 0x8007000F]LOG]!><time="16:12:14.314-480" date="10-30-2021" component="T***Bootstrap" context="" type="1" thread="1772" file="t***ediaresolveprogresspage.cpp:221"> <![LOG[Setting wizard error: 启动任务序列时出错(0x8007000F)。有关详细信息,请与您的系统管理员或支持人员联系。]LOG]!><time="16:12:14.314-480" date="10-30-2021" component="T***Bootstrap" context="" type="0" thread="1772" file="t***ediawizardcontrol.cpp:1673"> <![LOG[ResolveProgressPage::OnWizardNext()]LOG]!><time="16:12:14.314-480" date="10-30-2021" component="T***Bootstrap" context="" type="0" thread="1772" file="t***ediaresolveprogresspage.cpp:113"> <![LOG[Activating Finish Page.]LOG]!><time="16:12:14.314-480" date="10-30-2021" component="T***Bootstrap" context="" type="0" thread="1772" file="t***ediafinishpage.cpp:107"> <![LOG[Loading bitmap]LOG]!><time="16:12:14.314-480" date="10-30-2021" component="T***Bootstrap" context="" type="1" thread="1772" file="t***bootstrap.cpp:1338"> ```
查看日志有几条错误信息:
Unable to find a raw disk that could be partitioned as the system disk
找不到可以作为系统磁盘分区的原始磁盘
Failed to prepare the system partition for staging.
The system cannot find the drive specified. (Error: 8007000F; Source: Windows)
无法准备要转移的系统分区。
系统找不到指定的驱动器。(错误:8007000F;来源:Windows)
Failed to validate for boot image staging
无法验证启动映像转移
StageBootImage() failed. 0x8007000f.
无法转移WinPE。代码(0x8007000F)
ThreadToResolveAndExecuteTaskSequence failed. Code(0x8007000F)
启动任务序列时出错(0x8007000F)。有关详细信息,请与您的系统管理员或支持人员联系。
通过Powershell命令可以查询uefi引导硬盘属性,BootFromDisk属性值 False,BootFromDisk属性值至少有一个True,如果都是False这个会导致uefi 模式pe 下载任务序列时候,
如果当前所选择任务序列启动映像包不是当前PE启动映像包对应包ID
就会去重新下载这个任务序列所对应的启动映像包了,下载完之后开始检测计算机硬盘BootFromDisk属性有没有True信息,没有就会报错了。
可以在命令窗口 输入创建efi引导分区命令,如果硬盘有数据不想格式化就用分区工具去调整创建
diskpart select disk 1 clean convert gpt create partition EFI size=500 assign letter=p format fs=fat32 quick