適当に翻訳する。
富士通のLIFEBOOK AH45/XをWindows11にアップグレードした。
途中で出たエラー(ErrorCode: 0x8007051A)の原因がわからなくて、あれこれ調べて30時間くらいかかった。
Microsoft が配っている「SetupDiag.exe」の結果などは記事の最後に掲載。
結論を先に書くと、「C:\Windows\System32\drivers」の中にある「PxHlpa64.sys」を削除して、関連するレジストリキーの値を空にしたら解決した。
マカフィーの削除、Windows Defender の停止、Bios のアップデートなど色々やったが全部無駄だった。
★解決の手順
(1)「PxHlpa64.sys」を削除。「C:\Windows\System32\drivers」の中にある。
これだけだとWindows11をインストールするための Win11_25H2_Japanese_x64_v2.iso をマウントできなくなってしまう。PxHlpa64.sys はDVDなどへの書き込みで使われる Corel 社製のドライバらしい。
(2)ISOをマウントするときにPxHlpa64.sysが参照されないように、レジストリキー「HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4d36e965-e325-11ce-bfc1-08002be10318}」の「LowerFilters」の値を「PxHlpa64」から空欄に変更。(中身を削除。)
これで Windows11 のインストール用 iso ファイルをマウントできるようになる。
(3)CPUの検査に引っかからないように次のレジストリキーを作成して設定。
レジストリキー「HKEY_LOCAL_MACHINE\SYSTEM\Setup\MoSetup」
値の名前「AllowUpgradesWithUnsupportedTPMOrCPU」
型「REG_DWORD(DWORD 32ビット)」
値の内容「1」
これをやらないとCPUが未対応です、みたいなエラーが出る。
(4)次いで Widnows 11 の ISO ファイルをダウンロードする。
「x64 デバイス用 Windows 11 ディスク イメージ (ISO) をダウンロードする」からダウンロード。
(5)ダウンロードした ISO ファイルをマウントして「setup.exe」を実行 する。
この時、更新プログラムのダウンロードは、Windows 11 のインストール時には行わないようにする。
そうしないとエラーが出る。
★エラーの出力
result.log Matching Profile found: UnknownDriverMigrationFailure - D7541B80-5071-42CE-AD14-FBE8C0C4F7FD SetupDiag version: 1.7.0.0 System Information: Machine Name = LAPTOP-3A5BGPFI Manufacturer = Unknown Model = Unknown HostOSArchitecture = x64 FirmwareType = UEFI BiosReleaseDate = 20230515000000.000000+000 BiosVendor = Version 1.29 BiosVersion = Version 1.29 HostOSVersion = 10.0.19045 HostOSBuildString = 19041.1.amd64fre.vb_release.191206-1406 TargetOSBuildString = 10.0.26100.5074 (ge_release_svc_prod3.250826-1428) HostOSLanguageId = 1041 HostOSEdition = Core RegisteredAV = Windows Defender FilterDrivers = WinSetupMon UpgradeStartTime = 2025/12/19 13:49:40 UpgradeEndTime = 2025/12/19 14:36:27 UpgradeElapsedTime = 00:46:47 Error: SetupDiag reports a fatal error on driver migrations. ErrorCode: 0x8007051A Refer to "https://docs.microsoft.com/en-us/windows/desktop/Debug/system-error-codes" for error information. Last Setup Phase: Phase Name: Pre-Finalize Phase Started: 2025/12/19 14:34:56 Phase Ended: 0001/01/01 0:00:00 Phase Time Delta: 00:00:00 Completed Successfully? False Last Setup Operation: Operation Name: Process Drivers for Migration Operation Started: 2025/12/19 14:35:23 Operation Ended: 0001/01/01 0:00:00 Operation Time Delta: 0:00:00:00.0000000 Completed Successfully? False
setuperr.log
...
...
2025-12-19 23:58:48, Error CONX Windows::Compat::Appraiser::RegistryMarkerOutputter::InitializeIndicatorsToRemoveDuplicates (465): Failed to find list table of indicators to remove duplicates, swallowing: [0x80070490].[gle=0x80070490]
2025-12-19 23:58:48, Error CONX Windows::Compat::Appraiser::RegistryMarkerOutputter::Initialize (348): Failed to initialize indicators to remove duplicates, swallowing: [0x80070490].[gle=0x80070490]
2025-12-19 23:59:24, Error CDeploymentSession::SetEcoQos(10461): Result = 0xD0000003
2025-12-19 23:59:24, Error CDeploymentSession::IsRangeRequestSupported(4297): Result = 0x80040154
2025-12-19 23:59:24, Error IsRangeRequestSupported failed with: [80040154 [Error,Facility=FACILITY_ITF,Code=340 (0x0154)]]. Setting RangeRequestSupported to FALSE
2025-12-19 23:59:25, Error CONX hwreqchk: ERROR,Windows::Compat::HardwareRequirements::HardwareRequirementSettings::IsMeteredConnection,29,Failed to get NetworkCostType assuming metered network [0x80004005].
2025-12-19 23:59:26, Error CONX Windows::Compat::Appraiser::RegistryMarkerOutputter::InitializeIndicatorsToRemoveDuplicates (465): Failed to find list table of indicators to remove duplicates, swallowing: [0x80070490].[gle=0x80070490]
2025-12-19 23:59:26, Error CONX Windows::Compat::Appraiser::RegistryMarkerOutputter::Initialize (348): Failed to initialize indicators to remove duplicates, swallowing: [0x80070490].[gle=0x80070490]
2025-12-19 23:59:51, Error CONX Windows::Compat::Appraiser::WicaApplicationInventory::ConstructFileAsset (732): Failed PicRetrieveFileInfo: [0x80004005].[gle=0x80004005]
2025-12-19 23:59:51, Error CONX Windows::Compat::Appraiser::WicaApplicationInventory::AddAntiMalwareFiles (634): Failed to construct file asset [c]: [0x80004005][gle=0x80004005]
2025-12-19 23:59:51, Error CONX Windows::Compat::Appraiser::WicaApplicationInventory::ConstructFileAsset (732): Failed PicRetrieveFileInfo: [0x80004005].[gle=0x80004005]
2025-12-19 23:59:51, Error CONX Windows::Compat::Appraiser::WicaApplicationInventory::AddAntiMalwareFiles (634): Failed to construct file asset [c]: [0x80004005][gle=0x80004005]
2025-12-20 00:00:26, Error CONX Windows::Compat::Appraiser::RegistryMarkerOutputter::InitializeIndicatorsToRemoveDuplicates (465): Failed to find list table of indicators to remove duplicates, swallowing: [0x80070490].[gle=0x80070490]
2025-12-20 00:00:26, Error CONX Windows::Compat::Appraiser::RegistryMarkerOutputter::Initialize (348): Failed to initialize indicators to remove duplicates, swallowing: [0x80070490].[gle=0x80070490]
2025-12-20 00:10:15, Error [0x0808ff] MIG COutOfProcPluginFactory::CreateInstance: m_currentHostSurrogate->LoadDllServer(C:\$WINDOWS.~BT\Sources\ReplacementManifests\Microsoft-Windows-RasServer-MigPlugin\RasMigPlugin.dll, {D26AA4A5-92AD-48DB-8D59-95EF0DCE6939}, 1) failed, hr=[0x8007007f].
2025-12-20 00:10:15, Error [0x080387] MIG Failure while calling IDiscovery->Discover for Plugin={ServerPath="Microsoft-Windows-RasServer-MigPlugin\RasMigPlugin.dll", CLSID={D26AA4A5-92AD-48DB-8D59-95EF0DCE6939}, ThreadingModel=Apartment, ExceptionHandling=Default}. Error: 0x8007007F
2025-12-20 00:10:16, Error SP FOD Validator: Failed to Get Capabilities using DISM API. Error: 8007051A[gle=0x0000007a]
2025-12-20 00:10:16, Error SP FOD Validator: Failed to build FoD list, will ignore this validator. Error: 8007051A
2025-12-20 00:10:16, Error SP LP Validator: Failed to get packages using DISM API. Error: 8007051A[gle=0x0000007a]
2025-12-20 00:10:16, Error SP LP Validator: Failed to build language package list, will ignore this validator. Error: 8007051A
2025-12-20 00:10:58, Error SP pSPRemoveUpgradeRegTree: failed to delete reg tree HKLM\SYSTEM\Setup\Upgrade[gle=0x00000005]
2025-12-20 00:12:41, Error [0x080831] MIG CSIAgent: Invalid xml format: FormatException: "script" attribute is mandatory. class Mig::CMXEMerge *__cdecl Mig::CMXEMigrationXml::LoadMerge(class UnBCL::XmlNode *,int,class Mig::CMXEMigrationXml *,class Mig::CMXEXmlComponent *)
2025-12-20 00:18:56, Error [0x0808fe] MIG Plugin {ff9c714f-b864-4f43-ae39-ec07d7385abe}: Found invalid upper filters for class {4d36e967-e325-11ce-bfc1-08002be10318}.
2025-12-20 00:20:27, Error SP Failed to get driver packages from the online system. Error: 0x8007051A[gle=0x0000007a]
2025-12-20 00:20:28, Error SP Operation failed: Process Drivers for Migration. Error: 0x8007051A[gle=0x000000b7]
2025-12-20 00:20:28, Error SP COperationQueue::Sort: Could not find an execution phase for 98
2025-12-20 00:20:28, Error SP ExecuteOperations: Operations cannot be sorted. This is a fatal failure.
2025-12-20 00:20:28, Error SP ExecuteOperations: Main operation execution failed. Error: 0x8007000D
2025-12-20 00:20:28, Error SP ExecuteOperations: Failed execution phase Pre-Finalize. Error: 0x8007000D
2025-12-20 00:20:28, Error MOUPG MoSetupPlatform: ExecuteCurrentOperations reported failure![gle=0x0000000d]
2025-12-20 00:20:28, Error MOUPG MoSetupPlatform: Using action error code: [0x8007051A][gle=0x0000000d]
2025-12-20 00:20:28, Error MOUPG CDlpActionPreFinalize::ExecuteRoutine(784): Result = 0x8007051A[gle=0x0000000d]
2025-12-20 00:20:29, Error MOUPG CDlpActionImpl<class CDlpErrorImpl<class CDlpObjectInternalImpl<class CUnknownImpl<class IMoSetupDlpAction> > > >::Execute(503): Result = 0x8007051A
2025-12-20 00:20:29, Error MOUPG CDlpTask::ExecuteAction(3334): Result = 0x8007051A
2025-12-20 00:20:29, Error MOUPG CDlpTask::ExecuteActions(3487): Result = 0x8007051A
2025-12-20 00:20:29, Error MOUPG CDlpTask::Execute(1643): Result = 0x8007051A
2025-12-20 00:20:29, Error MOUPG CSetupManager::ExecuteTask(3129): Result = 0x8007051A
2025-12-20 00:20:29, Error MOUPG CSetupManager::ExecuteTask(3091): Result = 0x8007051A
2025-12-20 00:20:29, Error MOUPG CSetupManager::ExecuteInstallMode(1172): Result = 0x8007051A
2025-12-20 00:20:29, Error MOUPG CSetupManager::ExecuteDownlevelMode(622): Result = 0x8007051A
2025-12-20 00:21:13, Error MOUPG CSetupManager::Execute(358): Result = 0x8007051A[gle=0x0000007f]
2025-12-20 00:21:13, Error MOUPG CSetupHost::Execute(517): Result = 0x8007051A[gle=0x0000007f]
setupact.log
...
...
2025-12-19 23:55:38, Info UI Determining whether we should run ConX or legacy setup
2025-12-19 23:55:38, Info UI Will launch ConX setup experience
2025-12-19 23:55:38, Info UI Initializing Media class driver for audio support
2025-12-19 23:55:38, Info UI Initializing media class driver status: 126
2025-12-19 23:55:38, Info UI Launching ConX setup experience
2025-12-19 23:55:38, Info UI Inspecting ConX Setup Cmdline
2025-12-19 23:55:38, Info UI Launching E:\Sources\SetupPrep.exe
2025-12-20 00:10:15, Info MIG MigHost started with command line: {EEDA5A6C-7D13-4CC0-83B1-195487087452} /InitDoneEvent:MigHost.{EEDA5A6C-7D13-4CC0-83B1-195487087452}.Event /ParentPID:11440
2025-12-20 00:10:15, Info MIG MigHost: CMigPluginSurrogate::Init: Successfully initialized surrogate.
2025-12-20 00:10:15, Info MIG MigHost: Initialized successfully with CLSID[{EEDA5A6C-7D13-4CC0-83B1-195487087452}] and LogDir=[]
2025-12-20 00:10:15, Info MIG MigHost: CMigPluginSurrogate::LoadDllServer in progress: BinaryPath=[C:\$WINDOWS.~BT\Sources\ReplacementManifests\Microsoft-Windows-RasServer-MigPlugin\RasMigPlugin.dll], CLSID=[{D26AA4A5-92AD-48DB-8D59-95EF0DCE6939}], ApartmentThreadingModel=[1].
2025-12-20 00:10:15, Info MIG MigHost: CMigPluginSurrogate::COMGenericThreadingHostThreadProc: ThreadID=[0x2448], Server=[C:\$WINDOWS.~BT\Sources\ReplacementManifests\Microsoft-Windows-RasServer-MigPlugin\RasMigPlugin.dll], CLSID=[{D26AA4A5-92AD-48DB-8D59-95EF0DCE6939}], ApartmentThreadingModel=[1], ExceptionPolicy=[1]
2025-12-20 00:10:15, Info MIG MigHost: CMigPluginSurrogate::LoadAndRegisterServerInThreadContext: Loaded server(C:\$WINDOWS.~BT\Sources\ReplacementManifests\Microsoft-Windows-RasServer-MigPlugin\RasMigPlugin.dll)
2025-12-20 00:10:15, Error [0x08085f] MIG MigHost: CMigPluginSurrogate::LoadAndRegisterServerInThreadContext: LoadLibraryExW(C:\$WINDOWS.~BT\Sources\ReplacementManifests\Microsoft-Windows-RasServer-MigPlugin\RasMigPlugin.dll, LOAD_WITH_ALTERED_SEARCH_PATH) failed gle=0x7f.[gle=0x0000007f]
2025-12-20 00:10:15, Info MIG MigHost: CMigPluginSurrogate::LoadAndRegisterServerInThreadContext: File is present, most likely it does not load on the current OS version
2025-12-20 00:10:15, Error [0x080863] MIG MigHost: CMigPluginSurrogate::COMGenericThreadingHostThreadProc: LoadAndRegisterServerInThreadContext() failed hr=0x8007007f.[gle=0x0000007f]
2025-12-20 00:10:15, Info MIG MigHost: CMigPluginSurrogate::LoadDllServer finished: Result=[0x8007007f].
2025-12-20 00:10:16, Info MIG MigHost: Exiting process.
★参考になったサイト
・PxHlpa64.sysを削除してメモリ整合性をONにする(Windows11)
・デバイス セキュリティで互換性のないドライバーの解決方法を教えてください。
・仮想ドライブにISOファイルをマウント出来なくなった件 Windows10
カレンダー
カテゴリー
最新記事
ブログ内検索
広告